STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_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. CR1 CEN LL_TIM_EnableCounter. More...
 
__STATIC_INLINE void LL_TIM_DisableCounter (TIM_TypeDef *TIMx)
 Disable timer counter. CR1 CEN LL_TIM_DisableCounter. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter (TIM_TypeDef *TIMx)
 Indicates whether the timer counter is enabled. CR1 CEN LL_TIM_IsEnabledCounter. More...
 
__STATIC_INLINE void LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx)
 Enable update event generation. CR1 UDIS LL_TIM_EnableUpdateEvent. More...
 
__STATIC_INLINE void LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx)
 Disable update event generation. CR1 UDIS LL_TIM_DisableUpdateEvent. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent (TIM_TypeDef *TIMx)
 Indicates whether update event generation is enabled. 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 (TIM_TypeDef *TIMx)
 Get actual event update source 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). CR1 OPM LL_TIM_SetOnePulseMode. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode (TIM_TypeDef *TIMx)
 Get actual one pulse mode. 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 (TIM_TypeDef *TIMx)
 Get actual counter mode. More...
 
__STATIC_INLINE void LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx)
 Enable auto-reload (ARR) preload. CR1 ARPE LL_TIM_EnableARRPreload. More...
 
__STATIC_INLINE void LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx)
 Disable auto-reload (ARR) preload. CR1 ARPE LL_TIM_DisableARRPreload. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload (TIM_TypeDef *TIMx)
 Indicates whether auto-reload (ARR) preload is enabled. 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 (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 (TIM_TypeDef *TIMx)
 Get the counter value. More...
 
__STATIC_INLINE uint32_t LL_TIM_GetDirection (TIM_TypeDef *TIMx)
 Get the current direction of the counter 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 (TIM_TypeDef *TIMx)
 Get the prescaler value. 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 (TIM_TypeDef *TIMx)
 Get the auto-reload value. 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 (TIM_TypeDef *TIMx)
 Get the repetition counter value. More...
 
__STATIC_INLINE void LL_TIM_EnableUIFRemap (TIM_TypeDef *TIMx)
 Force a continuous copy of the update interrupt flag (UIF) into the timer counter register (bit 31). More...
 
__STATIC_INLINE void LL_TIM_DisableUIFRemap (TIM_TypeDef *TIMx)
 Disable update interrupt flag (UIF) remapping. CR1 UIFREMAP LL_TIM_DisableUIFRemap. 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 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. CR2 CCDS LL_TIM_CC_SetDMAReqTrigger. More...
 
__STATIC_INLINE uint32_t LL_TIM_CC_GetDMAReqTrigger (TIM_TypeDef *TIMx)
 Get actual trigger of the capture/compare DMA request. 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. 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
CCER CC5E LL_TIM_CC_EnableChannel
CCER CC6E LL_TIM_CC_EnableChannel. More...
 
__STATIC_INLINE void LL_TIM_CC_DisableChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Disable capture/compare channels. 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
CCER CC5E LL_TIM_CC_DisableChannel
CCER CC6E LL_TIM_CC_DisableChannel. More...
 
__STATIC_INLINE uint32_t LL_TIM_CC_IsEnabledChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Indicate whether channel(s) is(are) enabled. 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
CCER CC5E LL_TIM_CC_IsEnabledChannel
CCER CC6E 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. CCMR1 CC1S LL_TIM_OC_ConfigOutput
CCMR1 CC2S LL_TIM_OC_ConfigOutput
CCMR2 CC3S LL_TIM_OC_ConfigOutput
CCMR2 CC4S LL_TIM_OC_ConfigOutput
CCMR3 CC5S LL_TIM_OC_ConfigOutput
CCMR3 CC6S 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
CCER CC5P LL_TIM_OC_ConfigOutput
CCER CC6P 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
CR2 OIS5 LL_TIM_OC_ConfigOutput
CR2 OIS6 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. CCMR1 OC1M LL_TIM_OC_SetMode
CCMR1 OC2M LL_TIM_OC_SetMode
CCMR2 OC3M LL_TIM_OC_SetMode
CCMR2 OC4M LL_TIM_OC_SetMode
CCMR3 OC5M LL_TIM_OC_SetMode
CCMR3 OC6M LL_TIM_OC_SetMode. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetMode (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the output compare mode of an output channel. CCMR1 OC1M LL_TIM_OC_GetMode
CCMR1 OC2M LL_TIM_OC_GetMode
CCMR2 OC3M LL_TIM_OC_GetMode
CCMR2 OC4M LL_TIM_OC_GetMode
CCMR3 OC5M LL_TIM_OC_GetMode
CCMR3 OC6M 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. 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
CCER CC5P LL_TIM_OC_SetPolarity
CCER CC6P LL_TIM_OC_SetPolarity. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the polarity of an output channel. 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
CCER CC5P LL_TIM_OC_GetPolarity
CCER CC6P 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 (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the IDLE state of an output channel CR2 OIS1 LL_TIM_OC_GetIdleState
CR2 OIS2N 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
CR2 OIS5 LL_TIM_OC_GetIdleState
CR2 OIS6 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. CCMR1 OC1FE LL_TIM_OC_DisableFast
CCMR1 OC2FE LL_TIM_OC_DisableFast
CCMR2 OC3FE LL_TIM_OC_DisableFast
CCMR2 OC4FE LL_TIM_OC_DisableFast
CCMR3 OC5FE LL_TIM_OC_DisableFast
CCMR3 OC6FE LL_TIM_OC_DisableFast. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledFast (TIM_TypeDef *TIMx, uint32_t Channel)
 Indicates whether fast mode is enabled for the output channel. CCMR1 OC1FE LL_TIM_OC_IsEnabledFast
CCMR1 OC2FE LL_TIM_OC_IsEnabledFast
CCMR2 OC3FE LL_TIM_OC_IsEnabledFast
CCMR2 OC4FE LL_TIM_OC_IsEnabledFast
CCMR3 OC5FE LL_TIM_OC_IsEnabledFast
CCMR3 OC6FE 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. CCMR1 OC1PE LL_TIM_OC_EnablePreload
CCMR1 OC2PE LL_TIM_OC_EnablePreload
CCMR2 OC3PE LL_TIM_OC_EnablePreload
CCMR2 OC4PE LL_TIM_OC_EnablePreload
CCMR3 OC5PE LL_TIM_OC_EnablePreload
CCMR3 OC6PE 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. CCMR1 OC1PE LL_TIM_OC_DisablePreload
CCMR1 OC2PE LL_TIM_OC_DisablePreload
CCMR2 OC3PE LL_TIM_OC_DisablePreload
CCMR2 OC4PE LL_TIM_OC_DisablePreload
CCMR3 OC5PE LL_TIM_OC_DisablePreload
CCMR3 OC6PE LL_TIM_OC_DisablePreload. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledPreload (TIM_TypeDef *TIMx, uint32_t Channel)
 Indicates whether compare register (TIMx_CCRx) preload is enabled for the output channel. CCMR1 OC1PE LL_TIM_OC_IsEnabledPreload
CCMR1 OC2PE LL_TIM_OC_IsEnabledPreload
CCMR2 OC3PE LL_TIM_OC_IsEnabledPreload
CCMR2 OC4PE LL_TIM_OC_IsEnabledPreload
CCMR3 OC5PE LL_TIM_OC_IsEnabledPreload
CCMR3 OC6PE 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 (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 void LL_TIM_OC_SetCompareCH5 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 5 (TIMx_CCR5). More...
 
__STATIC_INLINE void LL_TIM_OC_SetCompareCH6 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 6 (TIMx_CCR6). More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR1) set for output channel 1. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR2) set for output channel 2. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR3) set for output channel 3. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR4) set for output channel 4. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH5 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR5) set for output channel 5. More...
 
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH6 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR6) set for output channel 6. More...
 
__STATIC_INLINE void LL_TIM_SetCH5CombinedChannels (TIM_TypeDef *TIMx, uint32_t GroupCH5)
 Select on which reference signal the OC5REF is combined to. More...
 
__STATIC_INLINE void LL_TIM_IC_Config (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configuration)
 Configure input channel. 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. 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 (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current active input. 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. 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 (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current prescaler value acting on an input channel. 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. 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 (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the input filter duration. 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. 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 (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current input channel polarity. 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 (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 (TIM_TypeDef *TIMx)
 Get captured value for input channel 1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2 (TIM_TypeDef *TIMx)
 Get captured value for input channel 2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3 (TIM_TypeDef *TIMx)
 Get captured value for input channel 3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4 (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 (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_SetTriggerOutput2 (TIM_TypeDef *TIMx, uint32_t ADCSynchronization)
 Set the trigger output 2 (TRGO2) used for ADC 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 (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_SetETRSource (TIM_TypeDef *TIMx, uint32_t ETRSource)
 Select the external trigger (ETR) input source. 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. BDTR BKE LL_TIM_DisableBRK. More...
 
__STATIC_INLINE void LL_TIM_ConfigBRK (TIM_TypeDef *TIMx, uint32_t BreakPolarity, uint32_t BreakFilter)
 Configure the break input. More...
 
__STATIC_INLINE void LL_TIM_EnableBRK2 (TIM_TypeDef *TIMx)
 Enable the break 2 function. More...
 
__STATIC_INLINE void LL_TIM_DisableBRK2 (TIM_TypeDef *TIMx)
 Disable the break 2 function. More...
 
__STATIC_INLINE void LL_TIM_ConfigBRK2 (TIM_TypeDef *TIMx, uint32_t Break2Polarity, uint32_t Break2Filter)
 Configure the break 2 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 (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 (TIM_TypeDef *TIMx)
 Indicates whether outputs are enabled. More...
 
__STATIC_INLINE void LL_TIM_EnableBreakInputSource (TIM_TypeDef *TIMx, uint32_t BreakInput, uint32_t Source)
 Enable the signals connected to the designated timer break input. More...
 
__STATIC_INLINE void LL_TIM_DisableBreakInputSource (TIM_TypeDef *TIMx, uint32_t BreakInput, uint32_t Source)
 Disable the signals connected to the designated timer break input. More...
 
__STATIC_INLINE void LL_TIM_SetBreakInputSourcePolarity (TIM_TypeDef *TIMx, uint32_t BreakInput, uint32_t Source, uint32_t Polarity)
 Set the polarity of the break signal for the timer break input. 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_SetOCRefClearInputSource (TIM_TypeDef *TIMx, uint32_t OCRefClearInputSource)
 Set the OCREF clear input source. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_UPDATE (TIM_TypeDef *TIMx)
 Clear the update interrupt flag (UIF). SR UIF LL_TIM_ClearFlag_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_UPDATE (TIM_TypeDef *TIMx)
 Indicate whether update interrupt flag (UIF) is set (update interrupt is pending). 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). SR CC1IF LL_TIM_ClearFlag_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 1 interrupt flag (CC1F) is set (Capture/Compare 1 interrupt is pending). 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). SR CC2IF LL_TIM_ClearFlag_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 2 interrupt flag (CC2F) is set (Capture/Compare 2 interrupt is pending). 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). SR CC3IF LL_TIM_ClearFlag_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 3 interrupt flag (CC3F) is set (Capture/Compare 3 interrupt is pending). 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). SR CC4IF LL_TIM_ClearFlag_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 4 interrupt flag (CC4F) is set (Capture/Compare 4 interrupt is pending). SR CC4IF LL_TIM_IsActiveFlag_CC4. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC5 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 5 interrupt flag (CC5F). SR CC5IF LL_TIM_ClearFlag_CC5. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC5 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 5 interrupt flag (CC5F) is set (Capture/Compare 5 interrupt is pending). SR CC5IF LL_TIM_IsActiveFlag_CC5. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC6 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 6 interrupt flag (CC6F). SR CC6IF LL_TIM_ClearFlag_CC6. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC6 (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 6 interrupt flag (CC6F) is set (Capture/Compare 6 interrupt is pending). SR CC6IF LL_TIM_IsActiveFlag_CC6. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_COM (TIM_TypeDef *TIMx)
 Clear the commutation interrupt flag (COMIF). SR COMIF LL_TIM_ClearFlag_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_COM (TIM_TypeDef *TIMx)
 Indicate whether commutation interrupt flag (COMIF) is set (commutation interrupt is pending). SR COMIF LL_TIM_IsActiveFlag_COM. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_TRIG (TIM_TypeDef *TIMx)
 Clear the trigger interrupt flag (TIF). SR TIF LL_TIM_ClearFlag_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_TRIG (TIM_TypeDef *TIMx)
 Indicate whether trigger interrupt flag (TIF) is set (trigger interrupt is pending). SR TIF LL_TIM_IsActiveFlag_TRIG. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_BRK (TIM_TypeDef *TIMx)
 Clear the break interrupt flag (BIF). SR BIF LL_TIM_ClearFlag_BRK. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK (TIM_TypeDef *TIMx)
 Indicate whether break interrupt flag (BIF) is set (break interrupt is pending). SR BIF LL_TIM_IsActiveFlag_BRK. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_BRK2 (TIM_TypeDef *TIMx)
 Clear the break 2 interrupt flag (B2IF). SR B2IF LL_TIM_ClearFlag_BRK2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK2 (TIM_TypeDef *TIMx)
 Indicate whether break 2 interrupt flag (B2IF) is set (break 2 interrupt is pending). SR B2IF LL_TIM_IsActiveFlag_BRK2. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_CC1OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 1 over-capture interrupt flag (CC1OF). SR CC1OF LL_TIM_ClearFlag_CC1OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1OVR (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 1 over-capture interrupt flag (CC1OF) is set (Capture/Compare 1 interrupt is pending). 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). SR CC2OF LL_TIM_ClearFlag_CC2OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2OVR (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 2 over-capture interrupt flag (CC2OF) is set (Capture/Compare 2 over-capture interrupt is pending). 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). SR CC3OF LL_TIM_ClearFlag_CC3OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3OVR (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 3 over-capture interrupt flag (CC3OF) is set (Capture/Compare 3 over-capture interrupt is pending). 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). SR CC4OF LL_TIM_ClearFlag_CC4OVR. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4OVR (TIM_TypeDef *TIMx)
 Indicate whether Capture/Compare 4 over-capture interrupt flag (CC4OF) is set (Capture/Compare 4 over-capture interrupt is pending). SR CC4OF LL_TIM_IsActiveFlag_CC4OVR. More...
 
__STATIC_INLINE void LL_TIM_ClearFlag_SYSBRK (TIM_TypeDef *TIMx)
 Clear the system break interrupt flag (SBIF). SR SBIF LL_TIM_ClearFlag_SYSBRK. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_SYSBRK (TIM_TypeDef *TIMx)
 Indicate whether system break interrupt flag (SBIF) is set (system break interrupt is pending). SR SBIF LL_TIM_IsActiveFlag_SYSBRK. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_UPDATE (TIM_TypeDef *TIMx)
 Enable update interrupt (UIE). DIER UIE LL_TIM_EnableIT_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_UPDATE (TIM_TypeDef *TIMx)
 Disable update interrupt (UIE). DIER UIE LL_TIM_DisableIT_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_UPDATE (TIM_TypeDef *TIMx)
 Indicates whether the update interrupt (UIE) is enabled. DIER UIE LL_TIM_IsEnabledIT_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 interrupt (CC1IE). DIER CC1IE LL_TIM_EnableIT_CC1. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 interrupt (CC1IE). DIER CC1IE LL_TIM_DisableIT_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC1 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 interrupt (CC1IE) is enabled. DIER CC1IE LL_TIM_IsEnabledIT_CC1. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 interrupt (CC2IE). DIER CC2IE LL_TIM_EnableIT_CC2. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 interrupt (CC2IE). DIER CC2IE LL_TIM_DisableIT_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC2 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 interrupt (CC2IE) is enabled. DIER CC2IE LL_TIM_IsEnabledIT_CC2. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 interrupt (CC3IE). DIER CC3IE LL_TIM_EnableIT_CC3. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 interrupt (CC3IE). DIER CC3IE LL_TIM_DisableIT_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC3 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 interrupt (CC3IE) is enabled. DIER CC3IE LL_TIM_IsEnabledIT_CC3. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 interrupt (CC4IE). DIER CC4IE LL_TIM_EnableIT_CC4. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 interrupt (CC4IE). DIER CC4IE LL_TIM_DisableIT_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC4 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 interrupt (CC4IE) is enabled. DIER CC4IE LL_TIM_IsEnabledIT_CC4. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_COM (TIM_TypeDef *TIMx)
 Enable commutation interrupt (COMIE). DIER COMIE LL_TIM_EnableIT_COM. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_COM (TIM_TypeDef *TIMx)
 Disable commutation interrupt (COMIE). DIER COMIE LL_TIM_DisableIT_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_COM (TIM_TypeDef *TIMx)
 Indicates whether the commutation interrupt (COMIE) is enabled. DIER COMIE LL_TIM_IsEnabledIT_COM. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TIE). DIER TIE LL_TIM_EnableIT_TRIG. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TIE). DIER TIE LL_TIM_DisableIT_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_TRIG (TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TIE) is enabled. DIER TIE LL_TIM_IsEnabledIT_TRIG. More...
 
__STATIC_INLINE void LL_TIM_EnableIT_BRK (TIM_TypeDef *TIMx)
 Enable break interrupt (BIE). DIER BIE LL_TIM_EnableIT_BRK. More...
 
__STATIC_INLINE void LL_TIM_DisableIT_BRK (TIM_TypeDef *TIMx)
 Disable break interrupt (BIE). DIER BIE LL_TIM_DisableIT_BRK. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK (TIM_TypeDef *TIMx)
 Indicates whether the break interrupt (BIE) is enabled. DIER BIE LL_TIM_IsEnabledIT_BRK. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Enable update DMA request (UDE). DIER UDE LL_TIM_EnableDMAReq_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Disable update DMA request (UDE). DIER UDE LL_TIM_DisableDMAReq_UPDATE. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Indicates whether the update DMA request (UDE) is enabled. DIER UDE LL_TIM_IsEnabledDMAReq_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 DMA request (CC1DE). DIER CC1DE LL_TIM_EnableDMAReq_CC1. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 DMA request (CC1DE). DIER CC1DE LL_TIM_DisableDMAReq_CC1. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC1 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 DMA request (CC1DE) is enabled. DIER CC1DE LL_TIM_IsEnabledDMAReq_CC1. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 DMA request (CC2DE). DIER CC2DE LL_TIM_EnableDMAReq_CC2. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 DMA request (CC2DE). DIER CC2DE LL_TIM_DisableDMAReq_CC2. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC2 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 DMA request (CC2DE) is enabled. DIER CC2DE LL_TIM_IsEnabledDMAReq_CC2. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 DMA request (CC3DE). DIER CC3DE LL_TIM_EnableDMAReq_CC3. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 DMA request (CC3DE). DIER CC3DE LL_TIM_DisableDMAReq_CC3. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC3 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 DMA request (CC3DE) is enabled. DIER CC3DE LL_TIM_IsEnabledDMAReq_CC3. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 DMA request (CC4DE). DIER CC4DE LL_TIM_EnableDMAReq_CC4. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 DMA request (CC4DE). DIER CC4DE LL_TIM_DisableDMAReq_CC4. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC4 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 DMA request (CC4DE) is enabled. DIER CC4DE LL_TIM_IsEnabledDMAReq_CC4. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_COM (TIM_TypeDef *TIMx)
 Enable commutation DMA request (COMDE). DIER COMDE LL_TIM_EnableDMAReq_COM. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_COM (TIM_TypeDef *TIMx)
 Disable commutation DMA request (COMDE). DIER COMDE LL_TIM_DisableDMAReq_COM. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_COM (TIM_TypeDef *TIMx)
 Indicates whether the commutation DMA request (COMDE) is enabled. DIER COMDE LL_TIM_IsEnabledDMAReq_COM. More...
 
__STATIC_INLINE void LL_TIM_EnableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TDE). DIER TDE LL_TIM_EnableDMAReq_TRIG. More...
 
__STATIC_INLINE void LL_TIM_DisableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TDE). DIER TDE LL_TIM_DisableDMAReq_TRIG. More...
 
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_TRIG (TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TDE) is enabled. DIER TDE LL_TIM_IsEnabledDMAReq_TRIG. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_UPDATE (TIM_TypeDef *TIMx)
 Generate an update event. EGR UG LL_TIM_GenerateEvent_UPDATE. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC1 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 1 event. EGR CC1G LL_TIM_GenerateEvent_CC1. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC2 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 2 event. EGR CC2G LL_TIM_GenerateEvent_CC2. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC3 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 3 event. EGR CC3G LL_TIM_GenerateEvent_CC3. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_CC4 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 4 event. EGR CC4G LL_TIM_GenerateEvent_CC4. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_COM (TIM_TypeDef *TIMx)
 Generate commutation event. EGR COMG LL_TIM_GenerateEvent_COM. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_TRIG (TIM_TypeDef *TIMx)
 Generate trigger event. EGR TG LL_TIM_GenerateEvent_TRIG. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_BRK (TIM_TypeDef *TIMx)
 Generate break event. EGR BG LL_TIM_GenerateEvent_BRK. More...
 
__STATIC_INLINE void LL_TIM_GenerateEvent_BRK2 (TIM_TypeDef *TIMx)
 Generate break 2 event. EGR B2G LL_TIM_GenerateEvent_BRK2. More...
 
ErrorStatus LL_TIM_DeInit (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, 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, 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, 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, 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, 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, LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct)
 Configure the Break and Dead Time feature of the timer instance. More...
 

Variables

static const uint8_t OFFSET_TAB_CCMRx []
 
static const uint8_t SHIFT_TAB_OCxx []
 
static const uint8_t SHIFT_TAB_ICxx []
 
static const uint8_t SHIFT_TAB_CCxP []
 
static const uint8_t SHIFT_TAB_OISx []
 

Detailed Description

Header file of TIM LL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_ll_tim.h.