Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Extended Timer Complementary One Pulse functions
[TIM Extended Exported Functions]
Timer Complementary One Pulse functions. More...
Functions | |
HAL_StatusTypeDef | HAL_TIMEx_OnePulseN_Start (TIM_HandleTypeDef *htim, uint32_t OutputChannel) |
Starts the TIM One Pulse signal generation on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_OnePulseN_Stop (TIM_HandleTypeDef *htim, uint32_t OutputChannel) |
Stops the TIM One Pulse signal generation on the complementary output. | |
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. | |
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. |
Detailed Description
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.
Function Documentation
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel | ||
) |
Starts the TIM One Pulse signal generation on the complementary output.
- Parameters:
-
htim : TIM One Pulse handle OutputChannel : TIM Channel to be enabled 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:
-
HAL status
Definition at line 1308 of file stm32l4xx_hal_tim_ex.c.
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.
- Parameters:
-
htim : TIM One Pulse handle OutputChannel : TIM Channel to be enabled 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:
-
HAL status
Definition at line 1362 of file stm32l4xx_hal_tim_ex.c.
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel | ||
) |
Stops the TIM One Pulse signal generation on the complementary output.
- Parameters:
-
htim : TIM One Pulse handle OutputChannel : TIM Channel 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
- Return values:
-
HAL status
Definition at line 1333 of file stm32l4xx_hal_tim_ex.c.
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.
- Parameters:
-
htim : TIM One Pulse handle OutputChannel : TIM Channel 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
- Return values:
-
HAL status
Definition at line 1393 of file stm32l4xx_hal_tim_ex.c.
Generated on Tue Jul 12 2022 17:38:54 by
