STM32F439xx HAL User Manual
|
Timer Complementary PWM functions. More...
Functions | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Start (TIM_HandleTypeDef *htim, uint32_t Channel) |
Starts the PWM signal generation on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Stop (TIM_HandleTypeDef *htim, uint32_t Channel) |
Stops the PWM signal generation on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Start_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
Starts the PWM signal generation in interrupt mode on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Stop_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
Stops the PWM signal generation in interrupt mode on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Start_DMA (TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) |
Starts the TIM PWM signal generation in DMA mode on the complementary output. | |
HAL_StatusTypeDef | HAL_TIMEx_PWMN_Stop_DMA (TIM_HandleTypeDef *htim, uint32_t Channel) |
Stops the TIM PWM signal generation in DMA mode on the complementary output. |
Timer Complementary PWM functions.
============================================================================== ##### Timer Complementary PWM functions ##### ============================================================================== [..] This section provides functions allowing to: (+) Start the Complementary PWM. (+) Stop the Complementary PWM. (+) Start the Complementary PWM and enable interrupts. (+) Stop the Complementary PWM and disable interrupts. (+) Start the Complementary PWM and enable DMA transfers. (+) Stop the Complementary PWM and disable DMA transfers. (+) Start the Complementary Input Capture measurement. (+) Stop the Complementary Input Capture. (+) Start the Complementary Input Capture and enable interrupts. (+) Stop the Complementary Input Capture and disable interrupts. (+) Start the Complementary Input Capture and enable DMA transfers. (+) Stop the Complementary Input Capture and disable DMA transfers. (+) 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_PWMN_Start | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the PWM signal generation on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be enabled. This parameter can be one of the following values:
|
HAL | status |
Definition at line 900 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_ENABLE, __HAL_TIM_MOE_ENABLE, assert_param, TIM_HandleTypeDef::Instance, TIM_CCxN_ENABLE, and TIM_CCxNChannelCmd().
HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel, | ||
uint32_t * | pData, | ||
uint16_t | Length | ||
) |
Starts the TIM PWM signal generation in DMA mode on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be enabled. This parameter can be one of the following values:
|
pData | The source Buffer address. |
Length | The length of data to be transferred from memory to TIM peripheral |
HAL | status |
Definition at line 1098 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_ENABLE, __HAL_TIM_ENABLE_DMA, __HAL_TIM_MOE_ENABLE, assert_param, HAL_DMA_Start_IT(), HAL_TIM_STATE_BUSY, HAL_TIM_STATE_READY, TIM_HandleTypeDef::hdma, TIM_HandleTypeDef::Instance, TIM_HandleTypeDef::State, TIM_CCxN_ENABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_DMA_CC1, TIM_DMA_CC2, TIM_DMA_CC3, TIM_DMA_CC4, TIM_DMA_ID_CC1, TIM_DMA_ID_CC2, TIM_DMA_ID_CC3, TIM_DMA_ID_CC4, TIM_DMADelayPulseCplt(), TIM_DMAError(), __DMA_HandleTypeDef::XferCpltCallback, and __DMA_HandleTypeDef::XferErrorCallback.
HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Starts the PWM signal generation in interrupt mode on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be disabled. This parameter can be one of the following values:
|
HAL | status |
Definition at line 959 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_ENABLE, __HAL_TIM_ENABLE_IT, __HAL_TIM_MOE_ENABLE, assert_param, TIM_HandleTypeDef::Instance, TIM_CCxN_ENABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_IT_BREAK, TIM_IT_CC1, TIM_IT_CC2, TIM_IT_CC3, and TIM_IT_CC4.
HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the PWM signal generation on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be disabled. This parameter can be one of the following values:
|
HAL | status |
Definition at line 929 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_DISABLE, __HAL_TIM_MOE_DISABLE, assert_param, TIM_HandleTypeDef::Instance, TIM_CCxN_DISABLE, and TIM_CCxNChannelCmd().
HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the TIM PWM signal generation in DMA mode on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be disabled. This parameter can be one of the following values:
|
HAL | status |
Definition at line 1213 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_DISABLE, __HAL_TIM_DISABLE_DMA, __HAL_TIM_MOE_DISABLE, assert_param, HAL_TIM_STATE_READY, TIM_HandleTypeDef::Instance, TIM_HandleTypeDef::State, TIM_CCxN_DISABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_DMA_CC1, TIM_DMA_CC2, TIM_DMA_CC3, and TIM_DMA_CC4.
HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT | ( | TIM_HandleTypeDef * | htim, |
uint32_t | Channel | ||
) |
Stops the PWM signal generation in interrupt mode on the complementary output.
htim | pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module. |
Channel | TIM Channel to be disabled. This parameter can be one of the following values:
|
HAL | status |
Definition at line 1026 of file stm32f4xx_hal_tim_ex.c.
References __HAL_TIM_DISABLE, __HAL_TIM_DISABLE_IT, __HAL_TIM_MOE_DISABLE, assert_param, TIM_HandleTypeDef::Instance, TIM_CCxN_DISABLE, TIM_CCxNChannelCmd(), TIM_CHANNEL_1, TIM_CHANNEL_2, TIM_CHANNEL_3, TIM_CHANNEL_4, TIM_IT_BREAK, TIM_IT_CC1, TIM_IT_CC2, TIM_IT_CC3, and TIM_IT_CC4.