STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_tim.h File Reference

Header file of TIM LL module. More...

Go to the source code of this file.

Data Structures

struct  LL_TIM_InitTypeDef
 TIM Time Base configuration structure definition. More...
 
struct  LL_TIM_OC_InitTypeDef
 TIM Output Compare configuration structure definition. More...
 
struct  LL_TIM_IC_InitTypeDef
 TIM Input Capture configuration structure definition. More...
 
struct  LL_TIM_ENCODER_InitTypeDef
 TIM Encoder interface configuration structure definition. More...
 
struct  LL_TIM_HALLSENSOR_InitTypeDef
 TIM Hall sensor interface configuration structure definition. More...
 
struct  LL_TIM_BDTR_InitTypeDef
 BDTR (Break and Dead Time) structure definition. More...
 

Functions

__STATIC_INLINE void LL_TIM_EnableCounter (TIM_TypeDef *TIMx)
 Enable timer counter. @rmtoll CR1 CEN LL_TIM_EnableCounter. More...
 
__STATIC_INLINE void LL_TIM_DisableCounter (TIM_TypeDef *TIMx)
 Disable timer counter. @rmtoll CR1 CEN LL_TIM_DisableCounter. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter (const TIM_TypeDef *TIMx)
 Indicates whether the timer counter is enabled. @rmtoll CR1 CEN LL_TIM_IsEnabledCounter. More...
 
__STATIC_INLINE void LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx)
 Enable update event generation. @rmtoll CR1 UDIS LL_TIM_EnableUpdateEvent. More...
 
__STATIC_INLINE void LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx)
 Disable update event generation. @rmtoll CR1 UDIS LL_TIM_DisableUpdateEvent. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent (const TIM_TypeDef *TIMx)
 Indicates whether update event generation is enabled. @rmtoll CR1 UDIS LL_TIM_IsEnabledUpdateEvent. More...
 
__STATIC_INLINE void LL_TIM_SetUpdateSource (TIM_TypeDef *TIMx, uint32_t UpdateSource)
 Set update event source. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource (const TIM_TypeDef *TIMx)
 Get actual event update source @rmtoll CR1 URS LL_TIM_GetUpdateSource. More...
 
__STATIC_INLINE void LL_TIM_SetOnePulseMode (TIM_TypeDef *TIMx, uint32_t OnePulseMode)
 Set one pulse mode (one shot v.s. repetitive). @rmtoll CR1 OPM LL_TIM_SetOnePulseMode. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode (const TIM_TypeDef *TIMx)
 Get actual one pulse mode. @rmtoll CR1 OPM LL_TIM_GetOnePulseMode. More...
 
__STATIC_INLINE void LL_TIM_SetCounterMode (TIM_TypeDef *TIMx, uint32_t CounterMode)
 Set the timer counter counting mode. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetCounterMode (const TIM_TypeDef *TIMx)
 Get actual counter mode. More...
 
__STATIC_INLINE void LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx)
 Enable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_EnableARRPreload. More...
 
__STATIC_INLINE void LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx)
 Disable auto-reload (ARR) preload. @rmtoll CR1 ARPE LL_TIM_DisableARRPreload. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload (const TIM_TypeDef *TIMx)
 Indicates whether auto-reload (ARR) preload is enabled. @rmtoll CR1 ARPE LL_TIM_IsEnabledARRPreload. More...
 
__STATIC_INLINE void LL_TIM_SetClockDivision (TIM_TypeDef *TIMx, uint32_t ClockDivision)
 Set the division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetClockDivision (const TIM_TypeDef *TIMx)
 Get the actual division ratio between the timer clock and the sampling clock used by the dead-time generators (when supported) and the digital filters. More...
 
__STATIC_INLINE void LL_TIM_SetCounter (TIM_TypeDef *TIMx, uint32_t Counter)
 Set the counter value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetCounter (const TIM_TypeDef *TIMx)
 Get the counter value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetDirection (const TIM_TypeDef *TIMx)
 Get the current direction of the counter @rmtoll CR1 DIR LL_TIM_GetDirection. More...
 
__STATIC_INLINE void LL_TIM_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Prescaler)
 Set the prescaler value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetPrescaler (const TIM_TypeDef *TIMx)
 Get the prescaler value. @rmtoll PSC PSC LL_TIM_GetPrescaler. More...
 
__STATIC_INLINE void LL_TIM_SetAutoReload (TIM_TypeDef *TIMx, uint32_t AutoReload)
 Set the auto-reload value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetAutoReload (const TIM_TypeDef *TIMx)
 Get the auto-reload value. @rmtoll ARR ARR LL_TIM_GetAutoReload. More...
 
__STATIC_INLINE void LL_TIM_SetRepetitionCounter (TIM_TypeDef *TIMx, uint32_t RepetitionCounter)
 Set the repetition counter value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter (const TIM_TypeDef *TIMx)
 Get the repetition counter value. More...
 
__STATIC_INLINE void LL_TIM_CC_EnablePreload (TIM_TypeDef *TIMx)
 Enable the capture/compare control bits (CCxE, CCxNE and OCxM) preload. More...
 
__STATIC_INLINE void LL_TIM_CC_DisablePreload (TIM_TypeDef *TIMx)
 Disable the capture/compare control bits (CCxE, CCxNE and OCxM) preload. More...
 
__STATIC_INLINE uint32_t LL_TIM_CC_IsEnabledPreload (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare control bits (CCxE, CCxNE and OCxM) preload is enabled. @rmtoll CR2 CCPC LL_TIM_CC_IsEnabledPreload. More...
 
__STATIC_INLINE void LL_TIM_CC_SetUpdate (TIM_TypeDef *TIMx, uint32_t CCUpdateSource)
 Set the updated source of the capture/compare control bits (CCxE, CCxNE and OCxM). More...
 
__STATIC_INLINE void LL_TIM_CC_SetDMAReqTrigger (TIM_TypeDef *TIMx, uint32_t DMAReqTrigger)
 Set the trigger of the capture/compare DMA request. @rmtoll CR2 CCDS LL_TIM_CC_SetDMAReqTrigger. More...
 
__STATIC_INLINE uint32_t LL_TIM_CC_GetDMAReqTrigger (const TIM_TypeDef *TIMx)
 Get actual trigger of the capture/compare DMA request. @rmtoll CR2 CCDS LL_TIM_CC_GetDMAReqTrigger. More...
 
__STATIC_INLINE void LL_TIM_CC_SetLockLevel (TIM_TypeDef *TIMx, uint32_t LockLevel)
 Set the lock level to freeze the configuration of several capture/compare parameters. More...
 
__STATIC_INLINE void LL_TIM_CC_EnableChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Enable capture/compare channels. @rmtoll CCER CC1E LL_TIM_CC_EnableChannel
CCER CC1NE LL_TIM_CC_EnableChannel
CCER CC2E LL_TIM_CC_EnableChannel
CCER CC2NE LL_TIM_CC_EnableChannel
CCER CC3E LL_TIM_CC_EnableChannel
CCER CC3NE LL_TIM_CC_EnableChannel
CCER CC4E LL_TIM_CC_EnableChannel. More...
 
__STATIC_INLINE void LL_TIM_CC_DisableChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Disable capture/compare channels. @rmtoll CCER CC1E LL_TIM_CC_DisableChannel
CCER CC1NE LL_TIM_CC_DisableChannel
CCER CC2E LL_TIM_CC_DisableChannel
CCER CC2NE LL_TIM_CC_DisableChannel
CCER CC3E LL_TIM_CC_DisableChannel
CCER CC3NE LL_TIM_CC_DisableChannel
CCER CC4E LL_TIM_CC_DisableChannel. More...
 
__STATIC_INLINE uint32_t LL_TIM_CC_IsEnabledChannel (const TIM_TypeDef *TIMx, uint32_t Channels)
 Indicate whether channel(s) is(are) enabled. @rmtoll CCER CC1E LL_TIM_CC_IsEnabledChannel
CCER CC1NE LL_TIM_CC_IsEnabledChannel
CCER CC2E LL_TIM_CC_IsEnabledChannel
CCER CC2NE LL_TIM_CC_IsEnabledChannel
CCER CC3E LL_TIM_CC_IsEnabledChannel
CCER CC3NE LL_TIM_CC_IsEnabledChannel
CCER CC4E LL_TIM_CC_IsEnabledChannel. More...
 
__STATIC_INLINE void LL_TIM_OC_ConfigOutput (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configuration)
 Configure an output channel. @rmtoll CCMR1 CC1S LL_TIM_OC_ConfigOutput
CCMR1 CC2S LL_TIM_OC_ConfigOutput
CCMR2 CC3S LL_TIM_OC_ConfigOutput
CCMR2 CC4S LL_TIM_OC_ConfigOutput
CCER CC1P LL_TIM_OC_ConfigOutput
CCER CC2P LL_TIM_OC_ConfigOutput
CCER CC3P LL_TIM_OC_ConfigOutput
CCER CC4P LL_TIM_OC_ConfigOutput
CR2 OIS1 LL_TIM_OC_ConfigOutput
CR2 OIS2 LL_TIM_OC_ConfigOutput
CR2 OIS3 LL_TIM_OC_ConfigOutput
CR2 OIS4 LL_TIM_OC_ConfigOutput. More...
 
__STATIC_INLINE void LL_TIM_OC_SetMode (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode)
 Define the behavior of the output reference signal OCxREF from which OCx and OCxN (when relevant) are derived. @rmtoll CCMR1 OC1M LL_TIM_OC_SetMode
CCMR1 OC2M LL_TIM_OC_SetMode
CCMR2 OC3M LL_TIM_OC_SetMode
CCMR2 OC4M LL_TIM_OC_SetMode. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetMode (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the output compare mode of an output channel. @rmtoll CCMR1 OC1M LL_TIM_OC_GetMode
CCMR1 OC2M LL_TIM_OC_GetMode
CCMR2 OC3M LL_TIM_OC_GetMode
CCMR2 OC4M LL_TIM_OC_GetMode. More...
 
__STATIC_INLINE void LL_TIM_OC_SetPolarity (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity)
 Set the polarity of an output channel. @rmtoll CCER CC1P LL_TIM_OC_SetPolarity
CCER CC1NP LL_TIM_OC_SetPolarity
CCER CC2P LL_TIM_OC_SetPolarity
CCER CC2NP LL_TIM_OC_SetPolarity
CCER CC3P LL_TIM_OC_SetPolarity
CCER CC3NP LL_TIM_OC_SetPolarity
CCER CC4P LL_TIM_OC_SetPolarity. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the polarity of an output channel. @rmtoll CCER CC1P LL_TIM_OC_GetPolarity
CCER CC1NP LL_TIM_OC_GetPolarity
CCER CC2P LL_TIM_OC_GetPolarity
CCER CC2NP LL_TIM_OC_GetPolarity
CCER CC3P LL_TIM_OC_GetPolarity
CCER CC3NP LL_TIM_OC_GetPolarity
CCER CC4P LL_TIM_OC_GetPolarity. More...
 
__STATIC_INLINE void LL_TIM_OC_SetIdleState (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t IdleState)
 Set the IDLE state of an output channel. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetIdleState (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the IDLE state of an output channel @rmtoll CR2 OIS1 LL_TIM_OC_GetIdleState
CR2 OIS1N LL_TIM_OC_GetIdleState
CR2 OIS2 LL_TIM_OC_GetIdleState
CR2 OIS2N LL_TIM_OC_GetIdleState
CR2 OIS3 LL_TIM_OC_GetIdleState
CR2 OIS3N LL_TIM_OC_GetIdleState
CR2 OIS4 LL_TIM_OC_GetIdleState. More...
 
__STATIC_INLINE void LL_TIM_OC_EnableFast (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable fast mode for the output channel. More...
 
__STATIC_INLINE void LL_TIM_OC_DisableFast (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable fast mode for the output channel. @rmtoll CCMR1 OC1FE LL_TIM_OC_DisableFast
CCMR1 OC2FE LL_TIM_OC_DisableFast
CCMR2 OC3FE LL_TIM_OC_DisableFast
CCMR2 OC4FE LL_TIM_OC_DisableFast. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledFast (const TIM_TypeDef *TIMx, uint32_t Channel)
 Indicates whether fast mode is enabled for the output channel. @rmtoll CCMR1 OC1FE LL_TIM_OC_IsEnabledFast
CCMR1 OC2FE LL_TIM_OC_IsEnabledFast
CCMR2 OC3FE LL_TIM_OC_IsEnabledFast
CCMR2 OC4FE LL_TIM_OC_IsEnabledFast
. More...
 
__STATIC_INLINE void LL_TIM_OC_EnablePreload (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable compare register (TIMx_CCRx) preload for the output channel. @rmtoll CCMR1 OC1PE LL_TIM_OC_EnablePreload
CCMR1 OC2PE LL_TIM_OC_EnablePreload
CCMR2 OC3PE LL_TIM_OC_EnablePreload
CCMR2 OC4PE LL_TIM_OC_EnablePreload. More...
 
__STATIC_INLINE void LL_TIM_OC_DisablePreload (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable compare register (TIMx_CCRx) preload for the output channel. @rmtoll CCMR1 OC1PE LL_TIM_OC_DisablePreload
CCMR1 OC2PE LL_TIM_OC_DisablePreload
CCMR2 OC3PE LL_TIM_OC_DisablePreload
CCMR2 OC4PE LL_TIM_OC_DisablePreload. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledPreload (const TIM_TypeDef *TIMx, uint32_t Channel)
 Indicates whether compare register (TIMx_CCRx) preload is enabled for the output channel. @rmtoll CCMR1 OC1PE LL_TIM_OC_IsEnabledPreload
CCMR1 OC2PE LL_TIM_OC_IsEnabledPreload
CCMR2 OC3PE LL_TIM_OC_IsEnabledPreload
CCMR2 OC4PE LL_TIM_OC_IsEnabledPreload
. More...
 
__STATIC_INLINE void LL_TIM_OC_EnableClear (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable clearing the output channel on an external event. More...
 
__STATIC_INLINE void LL_TIM_OC_DisableClear (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable clearing the output channel on an external event. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledClear (const TIM_TypeDef *TIMx, uint32_t Channel)
 Indicates clearing the output channel on an external event is enabled for the output channel. More...
 
__STATIC_INLINE void LL_TIM_OC_SetDeadTime (TIM_TypeDef *TIMx, uint32_t DeadTime)
 Set the dead-time delay (delay inserted between the rising edge of the OCxREF signal and the rising edge of the Ocx and OCxN signals). More...
 
__STATIC_INLINE void LL_TIM_OC_SetCompareCH1 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 1 (TIMx_CCR1). More...
 
__STATIC_INLINE void LL_TIM_OC_SetCompareCH2 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 2 (TIMx_CCR2). More...
 
__STATIC_INLINE void LL_TIM_OC_SetCompareCH3 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 3 (TIMx_CCR3). More...
 
__STATIC_INLINE void LL_TIM_OC_SetCompareCH4 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 4 (TIMx_CCR4). More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1 (const TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR1) set for output channel 1. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2 (const TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR2) set for output channel 2. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3 (const TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR3) set for output channel 3. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4 (const TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR4) set for output channel 4. More...
 
__STATIC_INLINE void LL_TIM_IC_Config (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configuration)
 Configure input channel. @rmtoll CCMR1 CC1S LL_TIM_IC_Config
CCMR1 IC1PSC LL_TIM_IC_Config
CCMR1 IC1F LL_TIM_IC_Config
CCMR1 CC2S LL_TIM_IC_Config
CCMR1 IC2PSC LL_TIM_IC_Config
CCMR1 IC2F LL_TIM_IC_Config
CCMR2 CC3S LL_TIM_IC_Config
CCMR2 IC3PSC LL_TIM_IC_Config
CCMR2 IC3F LL_TIM_IC_Config
CCMR2 CC4S LL_TIM_IC_Config
CCMR2 IC4PSC LL_TIM_IC_Config
CCMR2 IC4F LL_TIM_IC_Config
CCER CC1P LL_TIM_IC_Config
CCER CC1NP LL_TIM_IC_Config
CCER CC2P LL_TIM_IC_Config
CCER CC2NP LL_TIM_IC_Config
CCER CC3P LL_TIM_IC_Config
CCER CC3NP LL_TIM_IC_Config
CCER CC4P LL_TIM_IC_Config
CCER CC4NP LL_TIM_IC_Config. More...
 
__STATIC_INLINE void LL_TIM_IC_SetActiveInput (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICActiveInput)
 Set the active input. @rmtoll CCMR1 CC1S LL_TIM_IC_SetActiveInput
CCMR1 CC2S LL_TIM_IC_SetActiveInput
CCMR2 CC3S LL_TIM_IC_SetActiveInput
CCMR2 CC4S LL_TIM_IC_SetActiveInput. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetActiveInput (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current active input. @rmtoll CCMR1 CC1S LL_TIM_IC_GetActiveInput
CCMR1 CC2S LL_TIM_IC_GetActiveInput
CCMR2 CC3S LL_TIM_IC_GetActiveInput
CCMR2 CC4S LL_TIM_IC_GetActiveInput. More...
 
__STATIC_INLINE void LL_TIM_IC_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICPrescaler)
 Set the prescaler of input channel. @rmtoll CCMR1 IC1PSC LL_TIM_IC_SetPrescaler
CCMR1 IC2PSC LL_TIM_IC_SetPrescaler
CCMR2 IC3PSC LL_TIM_IC_SetPrescaler
CCMR2 IC4PSC LL_TIM_IC_SetPrescaler. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetPrescaler (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current prescaler value acting on an input channel. @rmtoll CCMR1 IC1PSC LL_TIM_IC_GetPrescaler
CCMR1 IC2PSC LL_TIM_IC_GetPrescaler
CCMR2 IC3PSC LL_TIM_IC_GetPrescaler
CCMR2 IC4PSC LL_TIM_IC_GetPrescaler. More...
 
__STATIC_INLINE void LL_TIM_IC_SetFilter (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICFilter)
 Set the input filter duration. @rmtoll CCMR1 IC1F LL_TIM_IC_SetFilter
CCMR1 IC2F LL_TIM_IC_SetFilter
CCMR2 IC3F LL_TIM_IC_SetFilter
CCMR2 IC4F LL_TIM_IC_SetFilter. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetFilter (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the input filter duration. @rmtoll CCMR1 IC1F LL_TIM_IC_GetFilter
CCMR1 IC2F LL_TIM_IC_GetFilter
CCMR2 IC3F LL_TIM_IC_GetFilter
CCMR2 IC4F LL_TIM_IC_GetFilter. More...
 
__STATIC_INLINE void LL_TIM_IC_SetPolarity (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICPolarity)
 Set the input channel polarity. @rmtoll CCER CC1P LL_TIM_IC_SetPolarity
CCER CC1NP LL_TIM_IC_SetPolarity
CCER CC2P LL_TIM_IC_SetPolarity
CCER CC2NP LL_TIM_IC_SetPolarity
CCER CC3P LL_TIM_IC_SetPolarity
CCER CC3NP LL_TIM_IC_SetPolarity
CCER CC4P LL_TIM_IC_SetPolarity
CCER CC4NP LL_TIM_IC_SetPolarity. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetPolarity (const TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current input channel polarity. @rmtoll CCER CC1P LL_TIM_IC_GetPolarity
CCER CC1NP LL_TIM_IC_GetPolarity
CCER CC2P LL_TIM_IC_GetPolarity
CCER CC2NP LL_TIM_IC_GetPolarity
CCER CC3P LL_TIM_IC_GetPolarity
CCER CC3NP LL_TIM_IC_GetPolarity
CCER CC4P LL_TIM_IC_GetPolarity
CCER CC4NP LL_TIM_IC_GetPolarity. More...
 
__STATIC_INLINE void LL_TIM_IC_EnableXORCombination (TIM_TypeDef *TIMx)
 Connect the TIMx_CH1, CH2 and CH3 pins to the TI1 input (XOR combination). More...
 
__STATIC_INLINE void LL_TIM_IC_DisableXORCombination (TIM_TypeDef *TIMx)
 Disconnect the TIMx_CH1, CH2 and CH3 pins from the TI1 input. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_IsEnabledXORCombination (const TIM_TypeDef *TIMx)
 Indicates whether the TIMx_CH1, CH2 and CH3 pins are connectected to the TI1 input. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1 (const TIM_TypeDef *TIMx)
 Get captured value for input channel 1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2 (const TIM_TypeDef *TIMx)
 Get captured value for input channel 2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3 (const TIM_TypeDef *TIMx)
 Get captured value for input channel 3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4 (const TIM_TypeDef *TIMx)
 Get captured value for input channel 4. More...
 
__STATIC_INLINE void LL_TIM_EnableExternalClock (TIM_TypeDef *TIMx)
 Enable external clock mode 2. More...
 
__STATIC_INLINE void LL_TIM_DisableExternalClock (TIM_TypeDef *TIMx)
 Disable external clock mode 2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledExternalClock (const TIM_TypeDef *TIMx)
 Indicate whether external clock mode 2 is enabled. More...
 
__STATIC_INLINE void LL_TIM_SetClockSource (TIM_TypeDef *TIMx, uint32_t ClockSource)
 Set the clock source of the counter clock. More...
 
__STATIC_INLINE void LL_TIM_SetEncoderMode (TIM_TypeDef *TIMx, uint32_t EncoderMode)
 Set the encoder interface mode. More...
 
__STATIC_INLINE void LL_TIM_SetTriggerOutput (TIM_TypeDef *TIMx, uint32_t TimerSynchronization)
 Set the trigger output (TRGO) used for timer synchronization . More...
 
__STATIC_INLINE void LL_TIM_SetSlaveMode (TIM_TypeDef *TIMx, uint32_t SlaveMode)
 Set the synchronization mode of a slave timer. More...
 
__STATIC_INLINE void LL_TIM_SetTriggerInput (TIM_TypeDef *TIMx, uint32_t TriggerInput)
 Set the selects the trigger input to be used to synchronize the counter. More...
 
__STATIC_INLINE void LL_TIM_EnableMasterSlaveMode (TIM_TypeDef *TIMx)
 Enable the Master/Slave mode. More...
 
__STATIC_INLINE void LL_TIM_DisableMasterSlaveMode (TIM_TypeDef *TIMx)
 Disable the Master/Slave mode. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledMasterSlaveMode (const TIM_TypeDef *TIMx)
 Indicates whether the Master/Slave mode is enabled. More...
 
__STATIC_INLINE void LL_TIM_ConfigETR (TIM_TypeDef *TIMx, uint32_t ETRPolarity, uint32_t ETRPrescaler, uint32_t ETRFilter)
 Configure the external trigger (ETR) input. More...
 
__STATIC_INLINE void LL_TIM_EnableBRK (TIM_TypeDef *TIMx)
 Enable the break function. More...
 
__STATIC_INLINE void LL_TIM_DisableBRK (TIM_TypeDef *TIMx)
 Disable the break function. @rmtoll BDTR BKE LL_TIM_DisableBRK. More...
 
__STATIC_INLINE void LL_TIM_ConfigBRK (TIM_TypeDef *TIMx, uint32_t BreakPolarity)
 Configure the break input. More...
 
__STATIC_INLINE void LL_TIM_SetOffStates (TIM_TypeDef *TIMx, uint32_t OffStateIdle, uint32_t OffStateRun)
 Select the outputs off state (enabled v.s. disabled) in Idle and Run modes. More...
 
__STATIC_INLINE void LL_TIM_EnableAutomaticOutput (TIM_TypeDef *TIMx)
 Enable automatic output (MOE can be set by software or automatically when a break input is active). More...
 
__STATIC_INLINE void LL_TIM_DisableAutomaticOutput (TIM_TypeDef *TIMx)
 Disable automatic output (MOE can be set only by software). More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledAutomaticOutput (const TIM_TypeDef *TIMx)
 Indicate whether automatic output is enabled. More...
 
__STATIC_INLINE void LL_TIM_EnableAllOutputs (TIM_TypeDef *TIMx)
 Enable the outputs (set the MOE bit in TIMx_BDTR register). More...
 
__STATIC_INLINE void LL_TIM_DisableAllOutputs (TIM_TypeDef *TIMx)
 Disable the outputs (reset the MOE bit in TIMx_BDTR register). More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledAllOutputs (const TIM_TypeDef *TIMx)
 Indicates whether outputs are enabled. More...
 
__STATIC_INLINE void LL_TIM_ConfigDMABurst (TIM_TypeDef *TIMx, uint32_t DMABurstBaseAddress, uint32_t DMABurstLength)
 Configures the timer DMA burst feature. More...
 
__STATIC_INLINE void LL_TIM_SetRemap (TIM_TypeDef *TIMx, uint32_t Remap)
 Remap TIM inputs (input channel, internal/external triggers). More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_UPDATE (TIM_TypeDef *TIMx)
 Clear the update interrupt flag (UIF). @rmtoll SR UIF LL_TIM_ClearFlag_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_UPDATE (const TIM_TypeDef *TIMx)
 Indicate whether update interrupt flag (UIF) is set (update interrupt is pending). @rmtoll SR UIF LL_TIM_IsActiveFlag_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC1 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 1 interrupt flag (CC1F). @rmtoll SR CC1IF LL_TIM_ClearFlag_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1 (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 1 interrupt flag (CC1F) is set (Capture/Compare 1 interrupt is pending). @rmtoll SR CC1IF LL_TIM_IsActiveFlag_CC1. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC2 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 2 interrupt flag (CC2F). @rmtoll SR CC2IF LL_TIM_ClearFlag_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2 (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 2 interrupt flag (CC2F) is set (Capture/Compare 2 interrupt is pending). @rmtoll SR CC2IF LL_TIM_IsActiveFlag_CC2. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC3 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 3 interrupt flag (CC3F). @rmtoll SR CC3IF LL_TIM_ClearFlag_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3 (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 3 interrupt flag (CC3F) is set (Capture/Compare 3 interrupt is pending). @rmtoll SR CC3IF LL_TIM_IsActiveFlag_CC3. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC4 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 4 interrupt flag (CC4F). @rmtoll SR CC4IF LL_TIM_ClearFlag_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4 (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 4 interrupt flag (CC4F) is set (Capture/Compare 4 interrupt is pending). @rmtoll SR CC4IF LL_TIM_IsActiveFlag_CC4. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_COM (TIM_TypeDef *TIMx)
 Clear the commutation interrupt flag (COMIF). @rmtoll SR COMIF LL_TIM_ClearFlag_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_COM (const TIM_TypeDef *TIMx)
 Indicate whether commutation interrupt flag (COMIF) is set (commutation interrupt is pending). @rmtoll SR COMIF LL_TIM_IsActiveFlag_COM. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_TRIG (TIM_TypeDef *TIMx)
 Clear the trigger interrupt flag (TIF). @rmtoll SR TIF LL_TIM_ClearFlag_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_TRIG (const TIM_TypeDef *TIMx)
 Indicate whether trigger interrupt flag (TIF) is set (trigger interrupt is pending). @rmtoll SR TIF LL_TIM_IsActiveFlag_TRIG. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_BRK (TIM_TypeDef *TIMx)
 Clear the break interrupt flag (BIF). @rmtoll SR BIF LL_TIM_ClearFlag_BRK. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK (const TIM_TypeDef *TIMx)
 Indicate whether break interrupt flag (BIF) is set (break interrupt is pending). @rmtoll SR BIF LL_TIM_IsActiveFlag_BRK. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC1OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 1 over-capture interrupt flag (CC1OF). @rmtoll SR CC1OF LL_TIM_ClearFlag_CC1OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1OVR (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 1 over-capture interrupt flag (CC1OF) is set (Capture/Compare 1 interrupt is pending). @rmtoll SR CC1OF LL_TIM_IsActiveFlag_CC1OVR. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC2OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 2 over-capture interrupt flag (CC2OF). @rmtoll SR CC2OF LL_TIM_ClearFlag_CC2OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2OVR (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 2 over-capture interrupt flag (CC2OF) is set (Capture/Compare 2 over-capture interrupt is pending). @rmtoll SR CC2OF LL_TIM_IsActiveFlag_CC2OVR. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC3OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 3 over-capture interrupt flag (CC3OF). @rmtoll SR CC3OF LL_TIM_ClearFlag_CC3OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3OVR (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 3 over-capture interrupt flag (CC3OF) is set (Capture/Compare 3 over-capture interrupt is pending). @rmtoll SR CC3OF LL_TIM_IsActiveFlag_CC3OVR. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC4OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 4 over-capture interrupt flag (CC4OF). @rmtoll SR CC4OF LL_TIM_ClearFlag_CC4OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4OVR (const TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 4 over-capture interrupt flag (CC4OF) is set (Capture/Compare 4 over-capture interrupt is pending). @rmtoll SR CC4OF LL_TIM_IsActiveFlag_CC4OVR. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_UPDATE (TIM_TypeDef *TIMx)
 Enable update interrupt (UIE). @rmtoll DIER UIE LL_TIM_EnableIT_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_UPDATE (TIM_TypeDef *TIMx)
 Disable update interrupt (UIE). @rmtoll DIER UIE LL_TIM_DisableIT_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_UPDATE (const TIM_TypeDef *TIMx)
 Indicates whether the update interrupt (UIE) is enabled. @rmtoll DIER UIE LL_TIM_IsEnabledIT_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 interrupt (CC1IE). @rmtoll DIER CC1IE LL_TIM_EnableIT_CC1. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 interrupt (CC1IE). @rmtoll DIER CC1IE LL_TIM_DisableIT_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC1 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 interrupt (CC1IE) is enabled. @rmtoll DIER CC1IE LL_TIM_IsEnabledIT_CC1. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 interrupt (CC2IE). @rmtoll DIER CC2IE LL_TIM_EnableIT_CC2. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 interrupt (CC2IE). @rmtoll DIER CC2IE LL_TIM_DisableIT_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC2 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 interrupt (CC2IE) is enabled. @rmtoll DIER CC2IE LL_TIM_IsEnabledIT_CC2. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 interrupt (CC3IE). @rmtoll DIER CC3IE LL_TIM_EnableIT_CC3. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 interrupt (CC3IE). @rmtoll DIER CC3IE LL_TIM_DisableIT_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC3 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 interrupt (CC3IE) is enabled. @rmtoll DIER CC3IE LL_TIM_IsEnabledIT_CC3. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 interrupt (CC4IE). @rmtoll DIER CC4IE LL_TIM_EnableIT_CC4. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 interrupt (CC4IE). @rmtoll DIER CC4IE LL_TIM_DisableIT_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC4 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 interrupt (CC4IE) is enabled. @rmtoll DIER CC4IE LL_TIM_IsEnabledIT_CC4. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_COM (TIM_TypeDef *TIMx)
 Enable commutation interrupt (COMIE). @rmtoll DIER COMIE LL_TIM_EnableIT_COM. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_COM (TIM_TypeDef *TIMx)
 Disable commutation interrupt (COMIE). @rmtoll DIER COMIE LL_TIM_DisableIT_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_COM (const TIM_TypeDef *TIMx)
 Indicates whether the commutation interrupt (COMIE) is enabled. @rmtoll DIER COMIE LL_TIM_IsEnabledIT_COM. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TIE). @rmtoll DIER TIE LL_TIM_EnableIT_TRIG. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TIE). @rmtoll DIER TIE LL_TIM_DisableIT_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_TRIG (const TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TIE) is enabled. @rmtoll DIER TIE LL_TIM_IsEnabledIT_TRIG. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_BRK (TIM_TypeDef *TIMx)
 Enable break interrupt (BIE). @rmtoll DIER BIE LL_TIM_EnableIT_BRK. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_BRK (TIM_TypeDef *TIMx)
 Disable break interrupt (BIE). @rmtoll DIER BIE LL_TIM_DisableIT_BRK. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK (const TIM_TypeDef *TIMx)
 Indicates whether the break interrupt (BIE) is enabled. @rmtoll DIER BIE LL_TIM_IsEnabledIT_BRK. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Enable update DMA request (UDE). @rmtoll DIER UDE LL_TIM_EnableDMAReq_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Disable update DMA request (UDE). @rmtoll DIER UDE LL_TIM_DisableDMAReq_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_UPDATE (const TIM_TypeDef *TIMx)
 Indicates whether the update DMA request (UDE) is enabled. @rmtoll DIER UDE LL_TIM_IsEnabledDMAReq_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 DMA request (CC1DE). @rmtoll DIER CC1DE LL_TIM_EnableDMAReq_CC1. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 DMA request (CC1DE). @rmtoll DIER CC1DE LL_TIM_DisableDMAReq_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC1 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 DMA request (CC1DE) is enabled. @rmtoll DIER CC1DE LL_TIM_IsEnabledDMAReq_CC1. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 DMA request (CC2DE). @rmtoll DIER CC2DE LL_TIM_EnableDMAReq_CC2. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 DMA request (CC2DE). @rmtoll DIER CC2DE LL_TIM_DisableDMAReq_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC2 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 DMA request (CC2DE) is enabled. @rmtoll DIER CC2DE LL_TIM_IsEnabledDMAReq_CC2. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 DMA request (CC3DE). @rmtoll DIER CC3DE LL_TIM_EnableDMAReq_CC3. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 DMA request (CC3DE). @rmtoll DIER CC3DE LL_TIM_DisableDMAReq_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC3 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 DMA request (CC3DE) is enabled. @rmtoll DIER CC3DE LL_TIM_IsEnabledDMAReq_CC3. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 DMA request (CC4DE). @rmtoll DIER CC4DE LL_TIM_EnableDMAReq_CC4. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 DMA request (CC4DE). @rmtoll DIER CC4DE LL_TIM_DisableDMAReq_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC4 (const TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 DMA request (CC4DE) is enabled. @rmtoll DIER CC4DE LL_TIM_IsEnabledDMAReq_CC4. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_COM (TIM_TypeDef *TIMx)
 Enable commutation DMA request (COMDE). @rmtoll DIER COMDE LL_TIM_EnableDMAReq_COM. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_COM (TIM_TypeDef *TIMx)
 Disable commutation DMA request (COMDE). @rmtoll DIER COMDE LL_TIM_DisableDMAReq_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_COM (const TIM_TypeDef *TIMx)
 Indicates whether the commutation DMA request (COMDE) is enabled. @rmtoll DIER COMDE LL_TIM_IsEnabledDMAReq_COM. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TDE). @rmtoll DIER TDE LL_TIM_EnableDMAReq_TRIG. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TDE). @rmtoll DIER TDE LL_TIM_DisableDMAReq_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_TRIG (const TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TDE) is enabled. @rmtoll DIER TDE LL_TIM_IsEnabledDMAReq_TRIG. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_UPDATE (TIM_TypeDef *TIMx)
 Generate an update event. @rmtoll EGR UG LL_TIM_GenerateEvent_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC1 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 1 event. @rmtoll EGR CC1G LL_TIM_GenerateEvent_CC1. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC2 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 2 event. @rmtoll EGR CC2G LL_TIM_GenerateEvent_CC2. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC3 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 3 event. @rmtoll EGR CC3G LL_TIM_GenerateEvent_CC3. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC4 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 4 event. @rmtoll EGR CC4G LL_TIM_GenerateEvent_CC4. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_COM (TIM_TypeDef *TIMx)
 Generate commutation event. @rmtoll EGR COMG LL_TIM_GenerateEvent_COM. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_TRIG (TIM_TypeDef *TIMx)
 Generate trigger event. @rmtoll EGR TG LL_TIM_GenerateEvent_TRIG. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_BRK (TIM_TypeDef *TIMx)
 Generate break event. @rmtoll EGR BG LL_TIM_GenerateEvent_BRK. More...
 
ErrorStatus LL_TIM_DeInit (const TIM_TypeDef *TIMx)
 Set TIMx registers to their reset values. More...
 
void LL_TIM_StructInit (LL_TIM_InitTypeDef *TIM_InitStruct)
 Set the fields of the time base unit configuration data structure to their default values. More...
 
ErrorStatus LL_TIM_Init (TIM_TypeDef *TIMx, const LL_TIM_InitTypeDef *TIM_InitStruct)
 Configure the TIMx time base unit. More...
 
void LL_TIM_OC_StructInit (LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct)
 Set the fields of the TIMx output channel configuration data structure to their default values. More...
 
ErrorStatus LL_TIM_OC_Init (TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct)
 Configure the TIMx output channel. More...
 
void LL_TIM_IC_StructInit (LL_TIM_IC_InitTypeDef *TIM_ICInitStruct)
 Set the fields of the TIMx input channel configuration data structure to their default values. More...
 
ErrorStatus LL_TIM_IC_Init (TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct)
 Configure the TIMx input channel. More...
 
void LL_TIM_ENCODER_StructInit (LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct)
 Fills each TIM_EncoderInitStruct field with its default value. More...
 
ErrorStatus LL_TIM_ENCODER_Init (TIM_TypeDef *TIMx, const LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct)
 Configure the encoder interface of the timer instance. More...
 
void LL_TIM_HALLSENSOR_StructInit (LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct)
 Set the fields of the TIMx Hall sensor interface configuration data structure to their default values. More...
 
ErrorStatus LL_TIM_HALLSENSOR_Init (TIM_TypeDef *TIMx, const LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct)
 Configure the Hall sensor interface of the timer instance. More...
 
void LL_TIM_BDTR_StructInit (LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct)
 Set the fields of the Break and Dead Time configuration data structure to their default values. More...
 
ErrorStatus LL_TIM_BDTR_Init (TIM_TypeDef *TIMx, const LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct)
 Configure the Break and Dead Time feature of the timer instance. More...
 

Detailed Description

Header file of TIM LL module.

Author
MCD Application Team
Attention

Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_ll_tim.h.