STM8L15x Standard Peripherals Drivers
|
Synchronization management functions. More...
Functions | |
void | TIM4_SelectInputTrigger (TIM4_TRGSelection_TypeDef TIM4_InputTriggerSource) |
Selects the TIM4 Input Trigger source. | |
void | TIM4_SelectMasterSlaveMode (FunctionalState NewState) |
Sets or Resets the TIM4 Master/Slave Mode. | |
void | TIM4_SelectOutputTrigger (TIM4_TRGOSource_TypeDef TIM4_TRGOSource) |
Selects the TIM4 Trigger Output Mode. | |
void | TIM4_SelectSlaveMode (TIM4_SlaveMode_TypeDef TIM4_SlaveMode) |
Selects the TIM4 Slave Mode. |
Detailed Description
Synchronization management functions.
=============================================================================== Synchronization management functions =============================================================================== =================================================================== TIM4 Driver: how to use it in synchronization Mode =================================================================== Case of two/several Timers ************************** 1. If TIM4 is used as master to other timers use the following functions: - TIM4_SelectOutputTrigger() - TIM4_SelectMasterSlaveMode() 2. If TIM4 is used as slave to other timers use the following functions: - TIM4_SelectInputTrigger() - TIM4_SelectSlaveMode()
Function Documentation
void TIM4_SelectInputTrigger | ( | TIM4_TRGSelection_TypeDef | TIM4_InputTriggerSource | ) |
Selects the TIM4 Input Trigger source.
Definition at line 645 of file stm8l15x_tim4.c.
References IS_TIM4_TRIGGER_SELECTION, TIM4, and TIM4_SMCR_TS.
void TIM4_SelectMasterSlaveMode | ( | FunctionalState | NewState | ) |
Sets or Resets the TIM4 Master/Slave Mode.
Definition at line 724 of file stm8l15x_tim4.c.
References DISABLE, IS_FUNCTIONAL_STATE, TIM4, and TIM4_SMCR_MSM.
void TIM4_SelectOutputTrigger | ( | TIM4_TRGOSource_TypeDef | TIM4_TRGOSource | ) |
Selects the TIM4 Trigger Output Mode.
Definition at line 670 of file stm8l15x_tim4.c.
References IS_TIM4_TRGO_SOURCE, TIM4, and TIM4_CR2_MMS.
void TIM4_SelectSlaveMode | ( | TIM4_SlaveMode_TypeDef | TIM4_SlaveMode | ) |
Selects the TIM4 Slave Mode.
Definition at line 700 of file stm8l15x_tim4.c.
References IS_TIM4_SLAVE_MODE, TIM4, and TIM4_SMCR_SMS.