STM32F479xx HAL User Manual
|
Functions | |
__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. | |
__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) |
Disconnect the TIMx_CH1, CH2 and CH3 pins from the TI1 input. | |
__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. | |
__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_IC_Config | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | Configuration | ||
) |
Configure input channel.
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 2280 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__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 2544 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 2531 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetActiveInput | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the current active input.
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 2333 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1 | ( | 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 2573 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2 | ( | 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 2589 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3 | ( | 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 2605 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4 | ( | 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 2621 of file stm32f4xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_IC_GetFilter | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the input filter duration.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
Definition at line 2459 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_IC_GetPolarity | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the current input channel polarity.
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 2516 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_IC_GetPrescaler | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the current prescaler value acting on an input channel.
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 2384 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__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.
TIMx | Timer instance |
State | of bit (1 or 0). |
Definition at line 2557 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.
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 2309 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_IC_SetFilter | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | ICFilter | ||
) |
Set the input filter duration.
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 2422 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_IC_SetPolarity | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | ICPolarity | ||
) |
Set the input channel polarity.
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 2488 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_IC_SetPrescaler | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | ICPrescaler | ||
) |
Set the prescaler of input channel.
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 2359 of file stm32f4xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.