STM8L15x Standard Peripherals Drivers
|
Clocks management functions. More...
Functions | |
void | TIM3_ETRClockMode1Config (TIM3_ExtTRGPSC_TypeDef TIM3_ExtTRGPrescaler, TIM3_ExtTRGPolarity_TypeDef TIM3_ExtTRGPolarity, uint8_t ExtTRGFilter) |
Configures the TIM3 External clock Mode1. | |
void | TIM3_ETRClockMode2Config (TIM3_ExtTRGPSC_TypeDef TIM3_ExtTRGPrescaler, TIM3_ExtTRGPolarity_TypeDef TIM3_ExtTRGPolarity, uint8_t ExtTRGFilter) |
Configures the TIM3 External clock Mode2. | |
void | TIM3_InternalClockConfig (void) |
Enables the TIM3 internal Clock. | |
void | TIM3_TIxExternalClockConfig (TIM3_TIxExternalCLK1Source_TypeDef TIM3_TIxExternalCLKSource, TIM3_ICPolarity_TypeDef TIM3_ICPolarity, uint8_t ICFilter) |
Configures the TIM3 Trigger as External Clock. |
Detailed Description
Clocks management functions.
=============================================================================== Clocks management functions ===============================================================================
Function Documentation
void TIM3_ETRClockMode1Config | ( | TIM3_ExtTRGPSC_TypeDef | TIM3_ExtTRGPrescaler, |
TIM3_ExtTRGPolarity_TypeDef | TIM3_ExtTRGPolarity, | ||
uint8_t | ExtTRGFilter | ||
) |
Configures the TIM3 External clock Mode1.
Definition at line 1701 of file stm8l15x_tim3.c.
References TIM3, TIM3_ETRConfig(), TIM3_SlaveMode_External1, TIM3_TRGSelection_ETRF, TIM_SMCR_SMS, and TIM_SMCR_TS.
void TIM3_ETRClockMode2Config | ( | TIM3_ExtTRGPSC_TypeDef | TIM3_ExtTRGPrescaler, |
TIM3_ExtTRGPolarity_TypeDef | TIM3_ExtTRGPolarity, | ||
uint8_t | ExtTRGFilter | ||
) |
Configures the TIM3 External clock Mode2.
Definition at line 1733 of file stm8l15x_tim3.c.
References TIM3, TIM3_ETRConfig(), and TIM_ETR_ECE.
void TIM3_InternalClockConfig | ( | void | ) |
Enables the TIM3 internal Clock.
Definition at line 1638 of file stm8l15x_tim3.c.
References TIM3, and TIM_SMCR_SMS.
void TIM3_TIxExternalClockConfig | ( | TIM3_TIxExternalCLK1Source_TypeDef | TIM3_TIxExternalCLKSource, |
TIM3_ICPolarity_TypeDef | TIM3_ICPolarity, | ||
uint8_t | ICFilter | ||
) |
Configures the TIM3 Trigger as External Clock.
Definition at line 1659 of file stm8l15x_tim3.c.
References IS_TIM3_IC_FILTER, IS_TIM3_IC_POLARITY, IS_TIM3_TIXCLK_SOURCE, TI1_Config(), TI2_Config(), TIM3, TIM3_ICSelection_DirectTI, TIM3_SelectInputTrigger(), TIM3_SlaveMode_External1, and TIM3_TIxExternalCLK1Source_TI2.