|
STM32L4xx_HAL_Driver
1.14.0
|
TIM Output Compare functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_TIM_OC_Init (TIM_HandleTypeDef *htim) |
| Initializes the TIM Output Compare according to the specified parameters in the TIM_HandleTypeDef and initializes the associated handle. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_DeInit (TIM_HandleTypeDef *htim) |
| DeInitializes the TIM peripheral. More... | |
| void | HAL_TIM_OC_MspInit (TIM_HandleTypeDef *htim) |
| Initializes the TIM Output Compare MSP. More... | |
| void | HAL_TIM_OC_MspDeInit (TIM_HandleTypeDef *htim) |
| DeInitializes TIM Output Compare MSP. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Start (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Output Compare signal generation. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Stop (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Start_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Starts the TIM Output Compare signal generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Stop_IT (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation in interrupt mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Start_DMA (TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) |
| Starts the TIM Output Compare signal generation in DMA mode. More... | |
| HAL_StatusTypeDef | HAL_TIM_OC_Stop_DMA (TIM_HandleTypeDef *htim, uint32_t Channel) |
| Stops the TIM Output Compare signal generation in DMA mode. More... | |
TIM Output Compare functions.
==============================================================================
##### TIM Output Compare functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Initialize and configure the TIM Output Compare.
(+) De-initialize the TIM Output Compare.
(+) Start the TIM Output Compare.
(+) Stop the TIM Output Compare.
(+) Start the TIM Output Compare and enable interrupt.
(+) Stop the TIM Output Compare and disable interrupt.
(+) Start the TIM Output Compare and enable DMA transfer.
(+) Stop the TIM Output Compare and disable DMA transfer. | HAL_StatusTypeDef HAL_TIM_OC_DeInit | ( | TIM_HandleTypeDef * | htim | ) |
DeInitializes the TIM peripheral.
| htim | TIM Output Compare handle |
| HAL | status |
Definition at line 652 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Init | ( | TIM_HandleTypeDef * | htim | ) |
Initializes the TIM Output Compare according to the specified parameters in the TIM_HandleTypeDef and initializes the associated handle.
| htim | TIM Output Compare handle |
| HAL | status |
Definition at line 600 of file stm32l4xx_hal_tim.c.
| __weak void HAL_TIM_OC_MspDeInit | ( | TIM_HandleTypeDef * | htim | ) |
DeInitializes TIM Output Compare MSP.
| htim | TIM Output Compare handle |
| None |
Definition at line 703 of file stm32l4xx_hal_tim.c.
| __weak void HAL_TIM_OC_MspInit | ( | TIM_HandleTypeDef * | htim | ) |
Initializes the TIM Output Compare MSP.
| htim | TIM Output Compare handle |
| None |
Definition at line 688 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Start | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Output Compare signal generation.
| 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 726 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Start_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel, | ||
| uint32_t * | pData, | ||
| uint16_t | Length | ||
| ) |
Starts the TIM Output Compare signal generation in DMA mode.
| 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 938 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Start_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Starts the TIM Output Compare signal generation in interrupt mode.
| 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 798 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Stop | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation.
| 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 766 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation in DMA mode.
| 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 1080 of file stm32l4xx_hal_tim.c.
| HAL_StatusTypeDef HAL_TIM_OC_Stop_IT | ( | TIM_HandleTypeDef * | htim, |
| uint32_t | Channel | ||
| ) |
Stops the TIM Output Compare signal generation in interrupt mode.
| 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 870 of file stm32l4xx_hal_tim.c.