|
STM32L4xx_HAL_Driver
1.14.0
|
Timer Complementary Output Compare functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Start (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Output Compare signal generation on the complementary output. More... | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Stop (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation on the complementary output. More... | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Start_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Output Compare signal generation in interrupt mode on the complementary output. More... | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Stop_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation in interrupt mode on the complementary output. More... | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Start_DMA (TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) |
| Starts the TIM Output Compare signal generation in DMA mode on the complementary output. More... | |
| HAL_StatusTypeDef | HAL_TIMEx_OCN_Stop_DMA (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation in DMA mode on the complementary output. More... | |
Timer Complementary Output Compare functions.
==============================================================================
##### Timer Complementary Output Compare functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Start the Complementary Output Compare/PWM.
(+) Stop the Complementary Output Compare/PWM.
(+) Start the Complementary Output Compare/PWM and enable interrupts.
(+) Stop the Complementary Output Compare/PWM and disable interrupts.
(+) Start the Complementary Output Compare/PWM and enable DMA transfers.
(+) Stop the Complementary Output Compare/PWM and disable DMA transfers. | HAL_StatusTypeDef HAL_TIMEx_OCN_Start | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Output Compare signal generation on the complementary output.
| htim | TIM Output Compare handle |
| Channel | TIM Channel to be enabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 510 of file stm32l4xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel, | ||
| uint32_t * | pData, | ||
| uint16_t | Length | ||
| ) |
Starts the TIM Output Compare signal generation in DMA mode on the complementary output.
| htim | TIM Output Compare handle |
| 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 706 of file stm32l4xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Output Compare signal generation in interrupt mode on the complementary output.
| htim | TIM OC handle |
| Channel | TIM Channel to be enabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 574 of file stm32l4xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_OCN_Stop | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation on the complementary output.
| htim | TIM handle |
| Channel | TIM Channel to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 545 of file stm32l4xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation in DMA mode on the complementary output.
| htim | TIM Output Compare handle |
| Channel | TIM Channel to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 824 of file stm32l4xx_hal_tim_ex.c.
| HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation in interrupt mode on the complementary output.
| htim | TIM Output Compare handle |
| Channel | TIM Channel to be disabled This parameter can be one of the following values:
|
| HAL | status |
Definition at line 640 of file stm32l4xx_hal_tim_ex.c.