STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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. | |
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_StatusTypeDef HAL_TIMEx_OnePulseN_Start | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel ) |
#include <stm32f4xx_hal_tim_ex.h>
Starts the TIM One Pulse signal generation on the complementary output.
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to enable This parameter can be one of the following values:
|
HAL | status |
Definition at line 1570 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_MOE_ENABLE, assert_param, HAL_ERROR, HAL_OK, HAL_TIM_CHANNEL_STATE_BUSY, HAL_TIM_CHANNEL_STATE_READY, TIM_HandleTypeDef::Instance, TIM_CCx_ENABLE, TIM_CCxChannelCmd(), TIM_CCxN_ENABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_N_STATE_GET, TIM_CHANNEL_N_STATE_SET, TIM_CHANNEL_STATE_GET, and TIM_CHANNEL_STATE_SET.
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel ) |
#include <stm32f4xx_hal_tim_ex.h>
Stops the TIM One Pulse signal generation on the complementary output.
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to disable This parameter can be one of the following values:
|
HAL | status |
Definition at line 1619 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_DISABLE, __HAL_TIM_MOE_DISABLE, assert_param, HAL_OK, HAL_TIM_CHANNEL_STATE_READY, TIM_HandleTypeDef::Instance, TIM_CCx_DISABLE, TIM_CCxChannelCmd(), TIM_CCxN_DISABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_N_STATE_SET, and TIM_CHANNEL_STATE_SET.
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel ) |
#include <stm32f4xx_hal_tim_ex.h>
Starts the TIM One Pulse signal generation in interrupt mode on the complementary channel.
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to enable This parameter can be one of the following values:
|
HAL | status |
Definition at line 1658 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_ENABLE_IT, __HAL_TIM_MOE_ENABLE, assert_param, HAL_ERROR, HAL_OK, HAL_TIM_CHANNEL_STATE_BUSY, HAL_TIM_CHANNEL_STATE_READY, TIM_HandleTypeDef::Instance, TIM_CCx_ENABLE, TIM_CCxChannelCmd(), TIM_CCxN_ENABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_N_STATE_GET, TIM_CHANNEL_N_STATE_SET, TIM_CHANNEL_STATE_GET, TIM_CHANNEL_STATE_SET, TIM_IT_CC1, and TIM_IT_CC2.
HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT | ( | TIM_HandleTypeDef * | htim, |
uint32_t | OutputChannel ) |
#include <stm32f4xx_hal_tim_ex.h>
Stops the TIM One Pulse signal generation in interrupt mode on the complementary channel.
htim | TIM One Pulse handle |
OutputChannel | pulse output channel to disable This parameter can be one of the following values:
|
HAL | status |
Definition at line 1713 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_DISABLE, __HAL_TIM_DISABLE_IT, __HAL_TIM_MOE_DISABLE, assert_param, HAL_OK, HAL_TIM_CHANNEL_STATE_READY, TIM_HandleTypeDef::Instance, TIM_CCx_DISABLE, TIM_CCxChannelCmd(), TIM_CCxN_DISABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_N_STATE_SET, TIM_CHANNEL_STATE_SET, TIM_IT_CC1, and TIM_IT_CC2.