STM32H735xx HAL User Manual
|
Functions | |
__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_SetMode (TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Mode) |
Define the behavior of the output reference signal OCxREF from which OCx and OCxN (when relevant) are derived. | |
__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 uint32_t | LL_TIM_OC_IsEnabledFast (TIM_TypeDef *TIMx, uint32_t Channel) |
Indicates whether fast mode is enabled 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 uint32_t | LL_TIM_OC_IsEnabledPreload (TIM_TypeDef *TIMx, uint32_t Channel) |
Indicates whether compare register (TIMx_CCRx) preload is enabled 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 uint32_t | LL_TIM_OC_IsEnabledClear (TIM_TypeDef *TIMx, uint32_t Channel) |
Indicates clearing the output channel on an external event is enabled for the output channel. | |
__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 of 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_OC_ConfigOutput | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | Configuration | ||
) |
Configure an output 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 2137 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_DisableClear | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Disable clearing the output channel on an external event.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 2565 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_DisableFast | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Disable fast mode for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 2407 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_DisablePreload | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Disable compare register (TIMx_CCRx) preload for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 2484 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_EnableClear | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Enable clearing the output channel on an external event.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 2538 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__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: |
None |
Definition at line 2381 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_EnablePreload | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Enable compare register (TIMx_CCRx) preload for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
None |
Definition at line 2459 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR1) set for output channel 1.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2725 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR2) set for output channel 2.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2741 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR3) set for output channel 3.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2757 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR4) set for output channel 4.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2773 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH5 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR5) set for output channel 5.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2786 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH6 | ( | TIM_TypeDef * | TIMx | ) |
Get compare value (TIMx_CCR6) set for output channel 6.
TIMx | Timer instance |
CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2799 of file stm32h7xx_ll_tim.h.
__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: |
Returned | value can be one of the following values: |
Definition at line 2356 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_GetMode | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the output compare mode of an output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
Definition at line 2221 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Get the polarity of an output 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 2287 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledClear | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Indicates clearing the output channel on an external event is enabled for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 2594 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledFast | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Indicates whether fast mode is enabled for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 2433 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledPreload | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel | ||
) |
Indicates whether compare register (TIMx_CCRx) preload is enabled for the output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 2509 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_SetCompareCH1 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 1 (TIMx_CCR1).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2630 of file stm32h7xx_ll_tim.h.
Referenced by OC1Config().
__STATIC_INLINE void LL_TIM_OC_SetCompareCH2 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 2 (TIMx_CCR2).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2647 of file stm32h7xx_ll_tim.h.
Referenced by LL_TIM_HALLSENSOR_Init(), and OC2Config().
__STATIC_INLINE void LL_TIM_OC_SetCompareCH3 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 3 (TIMx_CCR3).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2664 of file stm32h7xx_ll_tim.h.
Referenced by OC3Config().
__STATIC_INLINE void LL_TIM_OC_SetCompareCH4 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 4 (TIMx_CCR4).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2681 of file stm32h7xx_ll_tim.h.
Referenced by OC4Config().
__STATIC_INLINE void LL_TIM_OC_SetCompareCH5 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 5 (TIMx_CCR5).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2695 of file stm32h7xx_ll_tim.h.
Referenced by OC5Config().
__STATIC_INLINE void LL_TIM_OC_SetCompareCH6 | ( | TIM_TypeDef * | TIMx, |
uint32_t | CompareValue | ||
) |
Set compare value for output channel 6 (TIMx_CCR6).
TIMx | Timer instance |
CompareValue | between Min_Data=0 and Max_Data=65535 |
None |
Definition at line 2709 of file stm32h7xx_ll_tim.h.
Referenced by OC6Config().
__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 of the Ocx and OCxN signals).
TIMx | Timer instance |
DeadTime | between Min_Data=0 and Max_Data=255 |
None |
Definition at line 2613 of file stm32h7xx_ll_tim.h.
__STATIC_INLINE void LL_TIM_OC_SetIdleState | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | IdleState | ||
) |
Set the IDLE state of an output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
IdleState | This parameter can be one of the following values: |
None |
Definition at line 2324 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_SetMode | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | Mode | ||
) |
Define the behavior of the output reference signal OCxREF from which OCx and OCxN (when relevant) are derived.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
Mode | This parameter can be one of the following values:
|
None |
Definition at line 2182 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_OC_SetPolarity | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
uint32_t | Polarity | ||
) |
Set the polarity of an output channel.
TIMx | Timer instance |
Channel | This parameter can be one of the following values: |
Polarity | This parameter can be one of the following values: |
None |
Definition at line 2255 of file stm32h7xx_ll_tim.h.
References TIM_GET_CHANNEL_INDEX.
__STATIC_INLINE void LL_TIM_SetCH5CombinedChannels | ( | TIM_TypeDef * | TIMx, |
uint32_t | GroupCH5 | ||
) |
Select on which reference signal the OC5REF is combined to.
TIMx | Timer instance |
GroupCH5 | This parameter can be a combination of the following values: |
None |
Definition at line 2819 of file stm32h7xx_ll_tim.h.