STM32H735xx HAL User Manual
Functions
TIM Peripheral State functions
TIM Exported Functions

TIM Peripheral State functions. More...

Functions

HAL_TIM_StateTypeDef HAL_TIM_Base_GetState (TIM_HandleTypeDef *htim)
 Return the TIM Base handle state.
HAL_TIM_StateTypeDef HAL_TIM_OC_GetState (TIM_HandleTypeDef *htim)
 Return the TIM OC handle state.
HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState (TIM_HandleTypeDef *htim)
 Return the TIM PWM handle state.
HAL_TIM_StateTypeDef HAL_TIM_IC_GetState (TIM_HandleTypeDef *htim)
 Return the TIM Input Capture handle state.
HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState (TIM_HandleTypeDef *htim)
 Return the TIM One Pulse Mode handle state.
HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState (TIM_HandleTypeDef *htim)
 Return the TIM Encoder Mode handle state.
HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel (TIM_HandleTypeDef *htim)
 Return the TIM Encoder Mode handle state.
HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState (TIM_HandleTypeDef *htim, uint32_t Channel)
 Return actual state of the TIM channel.
HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState (TIM_HandleTypeDef *htim)
 Return actual state of a DMA burst operation.

Detailed Description

TIM Peripheral State functions.

Peripheral State functions.

  ==============================================================================
                        ##### Peripheral State functions #####
  ==============================================================================
    [..]
    This subsection permits to get in run-time the status of the peripheral
    and the data flow.


Function Documentation

Return the TIM Base handle state.

Parameters:
htimTIM Base handle
Return values:
HALstate

Definition at line 6495 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.

Return actual state of a DMA burst operation.

Parameters:
htimTIM handle
Return values:
DMAburst state

Definition at line 6590 of file stm32h7xx_hal_tim.c.

References assert_param, __TIM_HandleTypeDef::DMABurstState, and __TIM_HandleTypeDef::Instance.

Return the TIM Encoder Mode handle state.

Parameters:
htimTIM Encoder Interface handle
Return values:
HALstate

Definition at line 6545 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.

Return the TIM Encoder Mode handle state.

Parameters:
htimTIM handle
Return values:
Activechannel

Definition at line 6555 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::Channel.

Return actual state of the TIM channel.

Parameters:
htimTIM handle
ChannelTIM Channel This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1
  • TIM_CHANNEL_2: TIM Channel 2
  • TIM_CHANNEL_3: TIM Channel 3
  • TIM_CHANNEL_4: TIM Channel 4
  • TIM_CHANNEL_5: TIM Channel 5
  • TIM_CHANNEL_6: TIM Channel 6
Return values:
TIMChannel state

Definition at line 6573 of file stm32h7xx_hal_tim.c.

References assert_param, __TIM_HandleTypeDef::Instance, and TIM_CHANNEL_STATE_GET.

Return the TIM Input Capture handle state.

Parameters:
htimTIM IC handle
Return values:
HALstate

Definition at line 6525 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.

Return the TIM OC handle state.

Parameters:
htimTIM Output Compare handle
Return values:
HALstate

Definition at line 6505 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.

Return the TIM One Pulse Mode handle state.

Parameters:
htimTIM OPM handle
Return values:
HALstate

Definition at line 6535 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.

Return the TIM PWM handle state.

Parameters:
htimTIM handle
Return values:
HALstate

Definition at line 6515 of file stm32h7xx_hal_tim.c.

References __TIM_HandleTypeDef::State.