L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

stm32l4xx_ll_tim.h File Reference

stm32l4xx_ll_tim.h File Reference

Header file of TIM LL module. More...

Go to the source code of this file.

Functions

__STATIC_INLINE void LL_TIM_EnableCounter (TIM_TypeDef *TIMx)
 Enable timer counter.
__STATIC_INLINE void LL_TIM_DisableCounter (TIM_TypeDef *TIMx)
 Disable timer counter.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter (TIM_TypeDef *TIMx)
 Indicates whether the timer counter is enabled.
__STATIC_INLINE void LL_TIM_EnableUpdateEvent (TIM_TypeDef *TIMx)
 Enable update event generation.
__STATIC_INLINE void LL_TIM_DisableUpdateEvent (TIM_TypeDef *TIMx)
 Disable update event generation.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent (TIM_TypeDef *TIMx)
 Indicates whether update event generation is enabled.
__STATIC_INLINE void LL_TIM_SetUpdateSource (TIM_TypeDef *TIMx, uint32_t UpdateSource)
 Set update event source.
__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource (TIM_TypeDef *TIMx)
 Get actual event update source CR1 URS LL_TIM_GetUpdateSource.
__STATIC_INLINE void LL_TIM_SetOnePulseMode (TIM_TypeDef *TIMx, uint32_t OnePulseMode)
 Set one pulse mode (one shot v.s.
__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode (TIM_TypeDef *TIMx)
 Get actual one pulse mode.
__STATIC_INLINE void LL_TIM_SetCounterMode (TIM_TypeDef *TIMx, uint32_t CounterMode)
 Set the timer counter counting mode.
__STATIC_INLINE uint32_t LL_TIM_GetCounterMode (TIM_TypeDef *TIMx)
 Get actual counter mode.
__STATIC_INLINE void LL_TIM_EnableARRPreload (TIM_TypeDef *TIMx)
 Enable auto-reload (ARR) preload.
__STATIC_INLINE void LL_TIM_DisableARRPreload (TIM_TypeDef *TIMx)
 Disable auto-reload (ARR) preload.
__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload (TIM_TypeDef *TIMx)
 Indicates whether auto-reload (ARR) preload is enabled.
__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.
__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.
__STATIC_INLINE void LL_TIM_SetCounter (TIM_TypeDef *TIMx, uint32_t Counter)
 Set the counter value.
__STATIC_INLINE uint32_t LL_TIM_GetCounter (TIM_TypeDef *TIMx)
 Get the counter value.
__STATIC_INLINE uint32_t LL_TIM_GetDirection (TIM_TypeDef *TIMx)
 Get the current direction of the counter CR1 DIR LL_TIM_GetDirection.
__STATIC_INLINE void LL_TIM_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Prescaler)
 Set the prescaler value.
__STATIC_INLINE uint32_t LL_TIM_GetPrescaler (TIM_TypeDef *TIMx)
 Get the prescaler value.
__STATIC_INLINE void LL_TIM_SetAutoReload (TIM_TypeDef *TIMx, uint32_t AutoReload)
 Set the auto-reload value.
__STATIC_INLINE uint32_t LL_TIM_GetAutoReload (TIM_TypeDef *TIMx)
 Get the auto-reload value.
__STATIC_INLINE void LL_TIM_SetRepetitionCounter (TIM_TypeDef *TIMx, uint32_t RepetitionCounter)
 Set the repetition counter value.
__STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter (TIM_TypeDef *TIMx)
 Get the repetition counter value.
__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).
__STATIC_INLINE void LL_TIM_DisableUIFRemap (TIM_TypeDef *TIMx)
 Disable update interrupt flag (UIF) remapping.
__STATIC_INLINE void LL_TIM_CC_EnablePreload (TIM_TypeDef *TIMx)
 Enable the capture/compare control bits (CCxE, CCxNE and OCxM) preload.
__STATIC_INLINE void LL_TIM_CC_DisablePreload (TIM_TypeDef *TIMx)
 Disable the capture/compare control bits (CCxE, CCxNE and OCxM) preload.
__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).
__STATIC_INLINE void LL_TIM_CC_SetDMAReqTrigger (TIM_TypeDef *TIMx, uint32_t DMAReqTrigger)
 Set the trigger of the capture/compare DMA request.
__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.
__STATIC_INLINE void LL_TIM_CC_EnableChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Enable capture/compare channels.
__STATIC_INLINE void LL_TIM_CC_DisableChannel (TIM_TypeDef *TIMx, uint32_t Channels)
 Disable capture/compare channels.
__STATIC_INLINE void LL_TIM_OC_ConfigOutput (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configuration)
 Configure an output channel.
__STATIC_INLINE void LL_TIM_OC_ConfigOutputN (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity, uint32_t IdleState)
 Configure a complementary output channel.
__STATIC_INLINE void LL_TIM_OC_SetMode (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode)
 Set the output compare mode of an output channel.
__STATIC_INLINE uint32_t LL_TIM_OC_GetMode (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the output compare mode of an output channel.
__STATIC_INLINE void LL_TIM_OC_SetPolarity (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Polarity)
 Set the polarity of an output channel.
__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the polarity of an output channel.
__STATIC_INLINE void LL_TIM_OC_SetIdleState (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t IdleState)
 Set the IDLE state of an output channel.
__STATIC_INLINE uint32_t LL_TIM_OC_GetIdleState (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the IDLE state of an output channel.
__STATIC_INLINE void LL_TIM_OC_EnableFast (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable fast mode for the output channel.
__STATIC_INLINE void LL_TIM_OC_DisableFast (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable fast mode for the output channel.
__STATIC_INLINE void LL_TIM_OC_EnablePreload (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable compare register (TIMx_CCRx) preload for the output channel.
__STATIC_INLINE void LL_TIM_OC_DisablePreload (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable compare register (TIMx_CCRx) preload for the output channel.
__STATIC_INLINE void LL_TIM_OC_EnableClear (TIM_TypeDef *TIMx, uint32_t Channel)
 Enable clearing the output channel on an external event.
__STATIC_INLINE void LL_TIM_OC_DisableClear (TIM_TypeDef *TIMx, uint32_t Channel)
 Disable clearing the output channel on an external event.
__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 if the Ocx and OCxN signals).
__STATIC_INLINE void LL_TIM_OC_SetCompareCH1 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 1 (TIMx_CCR1)
__STATIC_INLINE void LL_TIM_OC_SetCompareCH2 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 2 (TIMx_CCR2)
__STATIC_INLINE void LL_TIM_OC_SetCompareCH3 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 3 (TIMx_CCR3)
__STATIC_INLINE void LL_TIM_OC_SetCompareCH4 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 4 (TIMx_CCR4)
__STATIC_INLINE void LL_TIM_OC_SetCompareCH5 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 5 (TIMx_CCR5)
__STATIC_INLINE void LL_TIM_OC_SetCompareCH6 (TIM_TypeDef *TIMx, uint32_t CompareValue)
 Set compare value for output channel 6 (TIMx_CCR6)
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR1) set for output channel 1.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR2) set for output channel 2.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR3) set for output channel 3.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR4) set for output channel 4.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH5 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR5) set for output channel 5.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH6 (TIM_TypeDef *TIMx)
 Get compare value (TIMx_CCR6) set for output channel 6.
__STATIC_INLINE void LL_TIM_SetCH5CombinedChannels (TIM_TypeDef *TIMx, uint32_t GroupCH5)
 Select on which reference signal the OC5REF is combined to.
__STATIC_INLINE void LL_TIM_IC_Config (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Configuration)
 Configure input channel.
__STATIC_INLINE void LL_TIM_IC_SetActiveInput (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICActiveInput)
 Set the active input.
__STATIC_INLINE uint32_t LL_TIM_IC_GetActiveInput (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current active input.
__STATIC_INLINE void LL_TIM_IC_SetPrescaler (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICPrescaler)
 Set the prescaler of input channel.
__STATIC_INLINE uint32_t LL_TIM_IC_GetPrescaler (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current prescaler value acting on an input channel.
__STATIC_INLINE void LL_TIM_IC_SetFilter (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICFilter)
 Set the input filter duration.
__STATIC_INLINE uint32_t LL_TIM_IC_GetFilter (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the input filter duration CCMR1 IC1F LL_TIM_IC_Config
CCMR1 IC2F LL_TIM_IC_Config
CCMR2 IC3F LL_TIM_IC_Config
CCMR2 IC4F LL_TIM_IC_Config
.
__STATIC_INLINE void LL_TIM_IC_SetPolarity (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ICPolarity)
 Set the input channel polarity.
__STATIC_INLINE uint32_t LL_TIM_IC_GetPolarity (TIM_TypeDef *TIMx, uint32_t Channel)
 Get the current input channel polarity.
__STATIC_INLINE void LL_TIM_IC_EnableXORCombination (TIM_TypeDef *TIMx)
 Connect the TIMx_CH1, CH2 and CH3 pins to the TI1 input (XOR combination).
__STATIC_INLINE void LL_TIM_IC_DisableXORCombination (TIM_TypeDef *TIMx)
 Connect the TIMx_CH1 pin to TI1 input.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1 (TIM_TypeDef *TIMx)
 Get captured value for input channel 1.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2 (TIM_TypeDef *TIMx)
 Get captured value for input channel 2.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3 (TIM_TypeDef *TIMx)
 Get captured value for input channel 3.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4 (TIM_TypeDef *TIMx)
 Get captured value for input channel 4.
__STATIC_INLINE void LL_TIM_SetClockSource (TIM_TypeDef *TIMx, uint32_t ClockSource)
 Set the clock source of the counter clock.
__STATIC_INLINE void LL_TIM_SetEncoderMode (TIM_TypeDef *TIMx, uint32_t EncoderMode)
 Set the encoder interface mode.
__STATIC_INLINE void LL_TIM_SetTriggerOutput (TIM_TypeDef *TIMx, uint32_t TimerSynchronization)
 Set the trigger output (TRGO) used for timer synchronization .
__STATIC_INLINE void LL_TIM_SetTriggerOutput2 (TIM_TypeDef *TIMx, uint32_t ADCSynchronization)
 Set the trigger output 2 (TRGO2) used for ADC synchronization .
__STATIC_INLINE void LL_TIM_SetSlaveMode (TIM_TypeDef *TIMx, uint32_t SlaveMode)
 Set the synchronization mode of a slave timer.
__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.
__STATIC_INLINE void LL_TIM_EnableMasterSlaveMode (TIM_TypeDef *TIMx)
 Enable the Master/Slave mode.
__STATIC_INLINE void LL_TIM_DisableMasterSlaveMode (TIM_TypeDef *TIMx)
 Disable the Master/Slave mode.
__STATIC_INLINE void LL_TIM_ConfigETR (TIM_TypeDef *TIMx, uint32_t ETRPolarity, uint32_t ETRPrescaler, uint32_t ETRFilter)
 Configure the external trigger (ETR) input.
__STATIC_INLINE void LL_TIM_SetETRSource (TIM_TypeDef *TIMx, uint32_t ETRSource)
 Select the external trigger (ETR) input source.
__STATIC_INLINE void LL_TIM_EnableBRK (TIM_TypeDef *TIMx)
 Enable the break function.
__STATIC_INLINE void LL_TIM_DisableBRK (TIM_TypeDef *TIMx)
 Disable the break function.
__STATIC_INLINE void LL_TIM_ConfigBRK (TIM_TypeDef *TIMx, uint32_t BreakPolarity, uint32_t BreakFilter)
 Configure the break input.
__STATIC_INLINE void LL_TIM_EnableBRK2 (TIM_TypeDef *TIMx)
 Enable the break 2 function.
__STATIC_INLINE void LL_TIM_DisableBRK2 (TIM_TypeDef *TIMx)
 Disable the break 2 function.
__STATIC_INLINE void LL_TIM_ConfigBRK2 (TIM_TypeDef *TIMx, uint32_t Break2Polarity, uint32_t Break2Filter)
 Configure the break 2 input.
__STATIC_INLINE void LL_TIM_SetOffStates (TIM_TypeDef *TIMx, uint32_t OffStateIdle, uint32_t OffStateRun)
 Select the outputs off state (enabled v.s.
__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).
__STATIC_INLINE void LL_TIM_DisableAutomaticOutput (TIM_TypeDef *TIMx)
 Disable automatic output (MOE can be set only by software).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledAutomaticOutput (TIM_TypeDef *TIMx)
 Indicate whether automatic output is enabled.
__STATIC_INLINE void LL_TIM_EnableAllOutputs (TIM_TypeDef *TIMx)
 Enable the outputs (set the MOE bit in TIMx_BDTR register).
__STATIC_INLINE void LL_TIM_DisableAllOutputs (TIM_TypeDef *TIMx)
 Disable the outputs (reset the MOE bit in TIMx_BDTR register).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledAllOutputs (TIM_TypeDef *TIMx)
 Indicates whether outputs are enabled.
__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.
__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.
__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.
__STATIC_INLINE void LL_TIM_ConfigDMABurst (TIM_TypeDef *TIMx, uint32_t DMABurstBaseAddress, uint32_t DMABurstLength)
 Configures the timer DMA burst feature.
__STATIC_INLINE void LL_TIM_SetRemap (TIM_TypeDef *TIMx, uint32_t Remap)
 Remap TIM inputs (input channel, internal/external triggers).
__STATIC_INLINE void LL_TIM_ClearFlag_UPDATE (TIM_TypeDef *TIMx)
 Clear the update interrupt flag (UIF).
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_UPDATE (TIM_TypeDef *TIMx)
 Indicate whether update interrupt flag (UIF) is set (update interrupt is pending).
__STATIC_INLINE void LL_TIM_ClearFlag_CC1 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 1 interrupt flag (CC1F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC2 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 2 interrupt flag (CC2F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC3 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 3 interrupt flag (CC3F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC4 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 4 interrupt flag (CC4F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC5 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 5 interrupt flag (CC5F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC6 (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 6 interrupt flag (CC6F).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_COM (TIM_TypeDef *TIMx)
 Clear the commutation interrupt flag (COMIF).
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_COM (TIM_TypeDef *TIMx)
 Indicate whether commutation interrupt flag (COMIF) is set (commutation interrupt is pending).
__STATIC_INLINE void LL_TIM_ClearFlag_TRIG (TIM_TypeDef *TIMx)
 Clear the trigger interrupt flag (TIF).
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_TRIG (TIM_TypeDef *TIMx)
 Indicate whether trigger interrupt flag (TIF) is set (trigger interrupt is pending).
__STATIC_INLINE void LL_TIM_ClearFlag_BRK (TIM_TypeDef *TIMx)
 Clear the break interrupt flag (BIF).
__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK (TIM_TypeDef *TIMx)
 Indicate whether break interrupt flag (BIF) is set (break interrupt is pending).
__STATIC_INLINE void LL_TIM_ClearFlag_BRK2 (TIM_TypeDef *TIMx)
 Clear the break 2 interrupt flag (B2IF).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC1OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 1 over-capture interrupt flag (CC1OF).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC2OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 2 over-capture interrupt flag (CC2OF).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC3OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 3 over-capture interrupt flag (CC3OF).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_CC4OVR (TIM_TypeDef *TIMx)
 Clear the Capture/Compare 4 over-capture interrupt flag (CC4OF).
__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).
__STATIC_INLINE void LL_TIM_ClearFlag_SYSBRK (TIM_TypeDef *TIMx)
 Clear the system break interrupt flag (SBIF).
__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).
__STATIC_INLINE void LL_TIM_EnableIT_UPDATE (TIM_TypeDef *TIMx)
 Enable update interrupt (UIE).
__STATIC_INLINE void LL_TIM_DisableIT_UPDATE (TIM_TypeDef *TIMx)
 Disable update interrupt (UIE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_UPDATE (TIM_TypeDef *TIMx)
 Indicates whether the update interrupt (UIE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 interrupt (CC1IE).
__STATIC_INLINE void LL_TIM_DisableIT_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 interrupt (CC1IE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC1 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 interrupt (CC1IE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 interrupt (CC2IE).
__STATIC_INLINE void LL_TIM_DisableIT_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 interrupt (CC2IE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC2 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 interrupt (CC2IE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 interrupt (CC3IE).
__STATIC_INLINE void LL_TIM_DisableIT_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 interrupt (CC3IE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC3 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 interrupt (CC3IE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 interrupt (CC4IE).
__STATIC_INLINE void LL_TIM_DisableIT_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 interrupt (CC4IE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC4 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 interrupt (CC4IE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_COM (TIM_TypeDef *TIMx)
 Enable commutation interrupt (COMIE).
__STATIC_INLINE void LL_TIM_DisableIT_COM (TIM_TypeDef *TIMx)
 Disable commutation interrupt (COMIE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_COM (TIM_TypeDef *TIMx)
 Indicates whether the commutation interrupt (COMIE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TIE).
__STATIC_INLINE void LL_TIM_DisableIT_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TIE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_TRIG (TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TIE) is enabled.
__STATIC_INLINE void LL_TIM_EnableIT_BRK (TIM_TypeDef *TIMx)
 Enable break interrupt (BIE).
__STATIC_INLINE void LL_TIM_DisableIT_BRK (TIM_TypeDef *TIMx)
 Disable break interrupt (BIE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK (TIM_TypeDef *TIMx)
 Indicates whether the break interrupt (BIE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Enable update DMA request (UDE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Disable update DMA request (UDE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_UPDATE (TIM_TypeDef *TIMx)
 Indicates whether the update DMA request (UDE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Enable capture/compare 1 DMA request (CC1DE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC1 (TIM_TypeDef *TIMx)
 Disable capture/compare 1 DMA request (CC1DE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC1 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 1 DMA request (CC1DE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Enable capture/compare 2 DMA request (CC2DE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC2 (TIM_TypeDef *TIMx)
 Disable capture/compare 2 DMA request (CC2DE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC2 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 2 DMA request (CC2DE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Enable capture/compare 3 DMA request (CC3DE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC3 (TIM_TypeDef *TIMx)
 Disable capture/compare 3 DMA request (CC3DE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC3 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 3 DMA request (CC3DE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Enable capture/compare 4 DMA request (CC4DE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_CC4 (TIM_TypeDef *TIMx)
 Disable capture/compare 4 DMA request (CC4DE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC4 (TIM_TypeDef *TIMx)
 Indicates whether the capture/compare 4 DMA request (CC4DE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_COM (TIM_TypeDef *TIMx)
 Enable commutation DMA request (COMDE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_COM (TIM_TypeDef *TIMx)
 Disable commutation DMA request (COMDE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_COM (TIM_TypeDef *TIMx)
 Indicates whether the commutation DMA request (COMDE) is enabled.
__STATIC_INLINE void LL_TIM_EnableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Enable trigger interrupt (TDE).
__STATIC_INLINE void LL_TIM_DisableDMAReq_TRIG (TIM_TypeDef *TIMx)
 Disable trigger interrupt (TDE).
__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_TRIG (TIM_TypeDef *TIMx)
 Indicates whether the trigger interrupt (TDE) is enabled.
__STATIC_INLINE void LL_TIM_GenerateEvent_UPDATE (TIM_TypeDef *TIMx)
 Generate an update event.
__STATIC_INLINE void LL_TIM_GenerateEvent_CC1 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 1 event.
__STATIC_INLINE void LL_TIM_GenerateEvent_CC2 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 2 event.
__STATIC_INLINE void LL_TIM_GenerateEvent_CC3 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 3 event.
__STATIC_INLINE void LL_TIM_GenerateEvent_CC4 (TIM_TypeDef *TIMx)
 Generate Capture/Compare 4 event.
__STATIC_INLINE void LL_TIM_GenerateEvent_COM (TIM_TypeDef *TIMx)
 Generate commutation event.
__STATIC_INLINE void LL_TIM_GenerateEvent_TRIG (TIM_TypeDef *TIMx)
 Generate trigger event.
__STATIC_INLINE void LL_TIM_GenerateEvent_BRK (TIM_TypeDef *TIMx)
 Generate break event.
__STATIC_INLINE void LL_TIM_GenerateEvent_BRK2 (TIM_TypeDef *TIMx)
 Generate break 2 event.

Detailed Description

Header file of TIM LL module.

Author:
MCD Application Team
Version:
V1.1.0
Date:
16-September-2015
Attention:

© COPYRIGHT(c) 2015 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32l4xx_ll_tim.h.