Enumerations | |
enum | tim_slave_edge_t { TIM_SLAVE_RISING = TIM_TRIGGERPOLARITY_RISING , TIM_SLAVE_FALLING = TIM_TRIGGERPOLARITY_FALLING } |
Defines the available trigger edge types for external timer events. More... | |
enum | hrtim_comp_t { HRTIM_COMP1 = 0 , HRTIM_COMP2 = 2 , HRTIM_COMP3 = 3 , HRTIM_COMP4 = 4 } |
Defines the available comparators used by the master timer of HRTIM. More... | |
enum | timer_trigger_src_t { TIM_TRG_SRC_NONE , TIM_TRG_SRC_TIM1 , TIM_TRG_SRC_TIM2 , TIM_TRG_SRC_TIM3 , TIM_TRG_SRC_TIM4 , TIM_TRG_SRC_TIM5 , TIM_TRG_SRC_TIM8 , TIM_TRG_SRC_TIM15 , TIM_TRG_SRC_HRTIM_MASTER_PERIOD , TIM_TRG_SRC_HRTIM_MASTER_CMP1 , TIM_TRG_SRC_HRTIM_MASTER_CMP2 , TIM_TRG_SRC_HRTIM_MASTER_CMP3 , TIM_TRG_SRC_HRTIM_MASTER_CMP4 , TIM_TRG_SRC_PIN } |
Defines the synchronization sources available for the timers. More... | |
enum | tim_trg_in_type_t { TIM_TRGI_TYPE_NONE = TIM_SLAVEMODE_DISABLE , TIM_TRGI_TYPE_RST = TIM_SLAVEMODE_RESET , TIM_TRGI_TYPE_START = TIM_SLAVEMODE_TRIGGER , TIM_TRGI_TYPE_RESET_AND_START = TIM_SLAVEMODE_COMBINED_RESETTRIGGER } |
Defines the input synchronization of a timer. More... | |
enum | tim_trg_out_type_t { TIM_TRGO_OUT_RST = TIM_TRGO_RESET , TIM_TRGO_OUT_EN = TIM_TRGO_ENABLE , TIM_TRGO_OUT_UPDATE = TIM_TRGO_UPDATE , TIM_TRGO_OUT_OC1 = TIM_TRGO_OC1 } |
Defines types of event generated by the timers. More... | |
enum hrtim_comp_t |
enum tim_slave_edge_t |
enum tim_trg_in_type_t |
Enumerator | |
---|---|
TIM_TRGI_TYPE_NONE | The timer is not slave to any other timer |
TIM_TRGI_TYPE_RST | Reset the timer at timer_trigger_src_t |
TIM_TRGI_TYPE_START | Start the timer at timer_trigger_src_t |
TIM_TRGI_TYPE_RESET_AND_START | Resets and starts the timer at timer_trigger_src_t |
enum tim_trg_out_type_t |
enum timer_trigger_src_t |
Enumerator | |
---|---|
TIM_TRG_SRC_NONE | No synchronization |
TIM_TRG_SRC_TIM1 | Synchronizes with TIM1 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). This event is available for all PWM channels. |
TIM_TRG_SRC_TIM2 | Synchronizes with TIM2 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). This event can be configured using BSP_TIM2_ConfigFiberRx(). This event can start and reset PWM11-16, while it can only reset PWM1-10 |
TIM_TRG_SRC_TIM3 | Synchronizes with TIM3 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). This event can be configured using BSP_TIM3_ConfigFiberTx(). This event can start and reset PWM11-16, while it can only reset PWM1-10 |
TIM_TRG_SRC_TIM4 | Synchronizes with TIM4 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). |
TIM_TRG_SRC_TIM5 | Synchronizes with TIM5 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). |
TIM_TRG_SRC_TIM8 | Synchronizes with TIM8 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). |
TIM_TRG_SRC_TIM15 | Synchronizes with TIM15 trigger. This event can be configured using BSP_Timer_SetOutputTrigger(). |
TIM_TRG_SRC_HRTIM_MASTER_PERIOD | Synchronizes with HRTim Master Period Completion. This event can be configured using BSP_MasterHRTIM_Config(). This event can only reset PWM1-10. Not avaiable for PWM11-16 |
TIM_TRG_SRC_HRTIM_MASTER_CMP1 | Synchronizes with HRTim Master Compare 1 vaue matching. This event can be configured using BSP_MasterHRTIM_Config(). This event can only reset PWM1-10. Not avaiable for PWM11-16 |
TIM_TRG_SRC_HRTIM_MASTER_CMP2 | Synchronizes with HRTim Master Compare 2 vaue matching. This event can be configured using BSP_MasterHRTIM_Config(). This event can only reset PWM1-10. Not avaiable for PWM11-16 |
TIM_TRG_SRC_HRTIM_MASTER_CMP3 | Synchronizes with HRTim Master Compare 3 vaue matching. This event can be configured using BSP_MasterHRTIM_Config(). This event can only reset PWM1-10. Not avaiable for PWM11-16 |
TIM_TRG_SRC_HRTIM_MASTER_CMP4 | Synchronizes with HRTim Master Compare 4 vaue matching. This event can be configured using BSP_MasterHRTIM_Config(). This event can only reset PWM1-10. Not avaiable for PWM11-16 |