Timer Complementary One Pulse functions.
More...
Timer Complementary One Pulse functions.
==============================================================================
##### Timer Complementary One Pulse functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Start the Complementary One Pulse generation.
(+) Stop the Complementary One Pulse.
(+) Start the Complementary One Pulse and enable interrupts.
(+) Stop the Complementary One Pulse and disable interrupts.
◆ HAL_TIMEx_OnePulseN_Start()
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start |
( |
TIM_HandleTypeDef * |
htim, |
|
|
uint32_t |
OutputChannel |
|
) |
| |
Starts the TIM One Pulse signal generation on the complementary output.
- Note
- OutputChannel must match the pulse output channel chosen when calling HAL_TIM_OnePulse_ConfigChannel().
- Parameters
-
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to enable This parameter can be one of the following values:
- TIM_CHANNEL_1: TIM Channel 1 selected
- TIM_CHANNEL_2: TIM Channel 2 selected
|
- Return values
-
Definition at line 1570 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_OnePulseN_Start_IT()
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT |
( |
TIM_HandleTypeDef * |
htim, |
|
|
uint32_t |
OutputChannel |
|
) |
| |
Starts the TIM One Pulse signal generation in interrupt mode on the complementary channel.
- Note
- OutputChannel must match the pulse output channel chosen when calling HAL_TIM_OnePulse_ConfigChannel().
- Parameters
-
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to enable This parameter can be one of the following values:
- TIM_CHANNEL_1: TIM Channel 1 selected
- TIM_CHANNEL_2: TIM Channel 2 selected
|
- Return values
-
Definition at line 1658 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_OnePulseN_Stop()
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop |
( |
TIM_HandleTypeDef * |
htim, |
|
|
uint32_t |
OutputChannel |
|
) |
| |
Stops the TIM One Pulse signal generation on the complementary output.
- Note
- OutputChannel must match the pulse output channel chosen when calling HAL_TIM_OnePulse_ConfigChannel().
- Parameters
-
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to disable This parameter can be one of the following values:
- TIM_CHANNEL_1: TIM Channel 1 selected
- TIM_CHANNEL_2: TIM Channel 2 selected
|
- Return values
-
Definition at line 1619 of file stm32f4xx_hal_tim_ex.c.
◆ HAL_TIMEx_OnePulseN_Stop_IT()
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT |
( |
TIM_HandleTypeDef * |
htim, |
|
|
uint32_t |
OutputChannel |
|
) |
| |
Stops the TIM One Pulse signal generation in interrupt mode on the complementary channel.
- Note
- OutputChannel must match the pulse output channel chosen when calling HAL_TIM_OnePulse_ConfigChannel().
- Parameters
-
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to disable This parameter can be one of the following values:
- TIM_CHANNEL_1: TIM Channel 1 selected
- TIM_CHANNEL_2: TIM Channel 2 selected
|
- Return values
-
Definition at line 1713 of file stm32f4xx_hal_tim_ex.c.