UM1940
Return values
HAL_TIM_IC_Stop_DMA
Function name
Function description
Parameters
Return values
HAL_TIM_OnePulse_Init
Function name
Function description
Parameters
Return values
HAL_TIM_OnePulse_DeInit
Function name
Function description
Parameters
Return values
HAL_TIM_OnePulse_MspInit
Function name
Length: The length of data to be transferred from TIM
peripheral to memory.
HAL: status
HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA
(TIM_HandleTypeDef * htim, uint32_t Channel)
Stops the TIM Input Capture measurement on in DMA mode.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
Channel: TIM Channels to be disabled. This parameter can
be one of the following values:
TIM_CHANNEL_1: TIM Channel 1 selected
TIM_CHANNEL_2: TIM Channel 2 selected
TIM_CHANNEL_3: TIM Channel 3 selected
TIM_CHANNEL_4: TIM Channel 4 selected
HAL: status
HAL_StatusTypeDef HAL_TIM_OnePulse_Init
(TIM_HandleTypeDef * htim, uint32_t OnePulseMode)
Initializes the TIM One Pulse Time Base according to the specified
parameters in the TIM_HandleTypeDef and create the associated
handle.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
OnePulseMode: Select the One pulse mode. This parameter
can be one of the following values:
TIM_OPMODE_SINGLE: Only one pulse will be
generated.
TIM_OPMODE_REPETITIVE: Repetitive pulses will be
generated.
HAL: status
HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit
(TIM_HandleTypeDef * htim)
DeInitializes the TIM One Pulse.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
HAL: status
void HAL_TIM_OnePulse_MspInit (TIM_HandleTypeDef * htim)
DocID028236 Rev 2
HAL TIM Generic Driver
593/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers