HAL
HAL_TIM_OC_Start_DMA() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_TIM_OC_Start_DMA() function

Starts the TIM Output Compare signal generation in DMA mode.

Syntax

HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim,     uint32_t Channel,     const uint32_t *pData,     uint16_t Length);
Implemented in stm32f4xx_hal_tim.c:1048

Arguments

htim

TIM Output Compare handle

Channel

TIM Channel to be enabled This parameter can be one of the following values: @arg TIM_CHANNEL_1: TIM Channel 1 selected @arg TIM_CHANNEL_2: TIM Channel 2 selected @arg TIM_CHANNEL_3: TIM Channel 3 selected @arg TIM_CHANNEL_4: TIM Channel 4 selected

pData

The source Buffer address.

Length

The length of data to be transferred from memory to TIM peripheral

Return value

HAL status

References

LocationText
stm32f4xx_hal_tim.c:1048
HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,
stm32f4xx_hal_tim.h:1923
HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,