STM8L15x Standard Peripherals Drivers
|
Specific interface management functions. More...
Functions | |
void | TIM5_EncoderInterfaceConfig (TIM5_EncoderMode_TypeDef TIM5_EncoderMode, TIM5_ICPolarity_TypeDef TIM5_IC1Polarity, TIM5_ICPolarity_TypeDef TIM5_IC2Polarity) |
Configures the TIM5 Encoder Interface. | |
void | TIM5_SelectHallSensor (FunctionalState NewState) |
Enables or Disables the TIM�s Hall sensor interface. |
Detailed Description
Specific interface management functions.
=============================================================================== Specific interface management functions ===============================================================================
Function Documentation
void TIM5_EncoderInterfaceConfig | ( | TIM5_EncoderMode_TypeDef | TIM5_EncoderMode, |
TIM5_ICPolarity_TypeDef | TIM5_IC1Polarity, | ||
TIM5_ICPolarity_TypeDef | TIM5_IC2Polarity | ||
) |
Configures the TIM5 Encoder Interface.
Definition at line 1952 of file stm8l15x_tim5.c.
References IS_TIM5_ENCODER_MODE, IS_TIM5_IC_POLARITY, TIM5, TIM5_ICPolarity_Falling, TIM_CCER1_CC1P, TIM_CCER1_CC2P, TIM_CCMR_CCxS, TIM_CCMR_TIxDirect_Set, TIM_SMCR_MSM, and TIM_SMCR_TS.
void TIM5_SelectHallSensor | ( | FunctionalState | NewState | ) |
Enables or Disables the TIM�s Hall sensor interface.
Definition at line 2009 of file stm8l15x_tim5.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM5, and TIM_CR2_TI1S.