STM8L15x Standard Peripherals Drivers
|
Specific interface management functions. More...
Functions | |
void | TIM3_EncoderInterfaceConfig (TIM3_EncoderMode_TypeDef TIM3_EncoderMode, TIM3_ICPolarity_TypeDef TIM3_IC1Polarity, TIM3_ICPolarity_TypeDef TIM3_IC2Polarity) |
Configures the TIM3 Encoder Interface. | |
void | TIM3_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 TIM3_EncoderInterfaceConfig | ( | TIM3_EncoderMode_TypeDef | TIM3_EncoderMode, |
TIM3_ICPolarity_TypeDef | TIM3_IC1Polarity, | ||
TIM3_ICPolarity_TypeDef | TIM3_IC2Polarity | ||
) |
Configures the TIM3 Encoder Interface.
Definition at line 1952 of file stm8l15x_tim3.c.
References IS_TIM3_ENCODER_MODE, IS_TIM3_IC_POLARITY, TIM3, TIM3_ICPolarity_Falling, TIM_CCER1_CC1P, TIM_CCER1_CC2P, TIM_CCMR_CCxS, TIM_CCMR_TIxDirect_Set, TIM_SMCR_MSM, and TIM_SMCR_TS.
void TIM3_SelectHallSensor | ( | FunctionalState | NewState | ) |
Enables or Disables the TIM�s Hall sensor interface.
Definition at line 2009 of file stm8l15x_tim3.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM3, and TIM_CR2_TI1S.