STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__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_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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
Configuration | This parameter must be a combination of all the following values:
|
None |
Definition at line 2282 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_IC_DisableXORCombination | ( | TIM_TypeDef * | TIMx | ) |
Disconnect the TIMx_CH1, CH2 and CH3 pins from the TI1 input.
TIMx | Timer instance |
None |
Definition at line 2546 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_IC_EnableXORCombination | ( | TIM_TypeDef * | TIMx | ) |
Connect the TIMx_CH1, CH2 and CH3 pins to the TI1 input (XOR combination).
TIMx | Timer instance |
None |
Definition at line 2533 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 2335 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1 | ( | const TIM_TypeDef * | TIMx | ) |
Get captured value for input channel 1.
TIMx | Timer instance |
CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2575 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2 | ( | const TIM_TypeDef * | TIMx | ) |
Get captured value for input channel 2.
TIMx | Timer instance |
CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2591 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3 | ( | const TIM_TypeDef * | TIMx | ) |
Get captured value for input channel 3.
TIMx | Timer instance |
CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2607 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4 | ( | const TIM_TypeDef * | TIMx | ) |
Get captured value for input channel 4.
TIMx | Timer instance |
CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2623 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 2461 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 2518 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 2386 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
State | of bit (1 or 0). |
Definition at line 2559 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
ICActiveInput | This parameter can be one of the following values:
|
None |
Definition at line 2311 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
ICFilter | This parameter can be one of the following values:
|
None |
Definition at line 2424 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
ICPolarity | This parameter can be one of the following values:
|
None |
Definition at line 2490 of file stm32f4xx_ll_tim.h.
__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.
TIMx | Timer instance |
Channel | This parameter can be one of the following values:
|
ICPrescaler | This parameter can be one of the following values:
|
None |
Definition at line 2361 of file stm32f4xx_ll_tim.h.