Ll_Tim_Oc_Getidlestate; Ll_Tim_Oc_Enablefast; Ll_Tim_Oc_Disablefast - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL TIM Generic Driver

LL_TIM_OC_GetIdleState

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_TIM_OC_EnableFast

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_TIM_OC_DisableFast

Function name
1182/1371
__STATIC_INLINE uint32_t LL_TIM_OC_GetIdleState
(TIM_TypeDef * TIMx, uint32_t Channel)
Get the IDLE state of an output channel.
TIMx: Timer instance
Channel: This parameter can be one of the following values:
LL_TIM_CHANNEL_CH1
LL_TIM_CHANNEL_CH1N
LL_TIM_CHANNEL_CH2
LL_TIM_CHANNEL_CH2N
LL_TIM_CHANNEL_CH3
LL_TIM_CHANNEL_CH3N
LL_TIM_CHANNEL_CH4
Returned: value can be one of the following values:
LL_TIM_OCIDLESTATE_LOW
LL_TIM_OCIDLESTATE_HIGH
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
__STATIC_INLINE void LL_TIM_OC_EnableFast (TIM_TypeDef
* TIMx, uint32_t Channel)
Enable fast mode for the output channel.
TIMx: Timer instance
Channel: This parameter can be one of the following values:
LL_TIM_CHANNEL_CH1
LL_TIM_CHANNEL_CH2
LL_TIM_CHANNEL_CH3
LL_TIM_CHANNEL_CH4
None:
Acts only if the channel is configured in PWM1 or PWM2
mode.
CCMR1 OC1FE LL_TIM_OC_EnableFast
CCMR1 OC2FE LL_TIM_OC_EnableFast
CCMR2 OC3FE LL_TIM_OC_EnableFast
CCMR2 OC4FE LL_TIM_OC_EnableFast
__STATIC_INLINE void LL_TIM_OC_DisableFast
(TIM_TypeDef * TIMx, uint32_t Channel)
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF