STM32H735xx 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 2866 of file stm32h7xx_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 3130 of file stm32h7xx_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 3117 of file stm32h7xx_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 2919 of file stm32h7xx_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 3159 of file stm32h7xx_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 3175 of file stm32h7xx_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 3191 of file stm32h7xx_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 3207 of file stm32h7xx_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 3045 of file stm32h7xx_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 3102 of file stm32h7xx_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 2970 of file stm32h7xx_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 3143 of file stm32h7xx_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 2895 of file stm32h7xx_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 3008 of file stm32h7xx_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 3074 of file stm32h7xx_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 2945 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.