STM32F4xx_HAL_Driver  1.8.3
Extended Timer Complementary PWM functions

Timer Complementary PWM functions. More...

+ Collaboration diagram for Extended Timer Complementary PWM functions:

Functions

HAL_StatusTypeDef HAL_TIMEx_PWMN_Start (TIM_HandleTypeDef *htim, uint32_t Channel)
 Starts the PWM signal generation on the complementary output. More...
 
HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop (TIM_HandleTypeDef *htim, uint32_t Channel)
 Stops the PWM signal generation on the complementary output. More...
 
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. More...
 
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. More...
 
HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA (TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, uint16_t Length)
 Starts the TIM PWM signal generation in DMA mode on the complementary output. More...
 
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. More...
 

Detailed Description

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.

Function Documentation

◆ HAL_TIMEx_PWMN_Start()

HAL_StatusTypeDef HAL_TIMEx_PWMN_Start ( TIM_HandleTypeDef htim,
uint32_t  Channel 
)

Starts the PWM signal generation on the complementary output.

Parameters
htimTIM handle
ChannelTIM Channel to be enabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
Return values
HALstatus

Definition at line 1098 of file stm32f4xx_hal_tim_ex.c.

◆ HAL_TIMEx_PWMN_Start_DMA()

HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA ( TIM_HandleTypeDef htim,
uint32_t  Channel,
const uint32_t *  pData,
uint16_t  Length 
)

Starts the TIM PWM signal generation in DMA mode on the complementary output.

Parameters
htimTIM handle
ChannelTIM Channel to be enabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
pDataThe source Buffer address.
LengthThe length of data to be transferred from memory to TIM peripheral
Return values
HALstatus

Definition at line 1341 of file stm32f4xx_hal_tim_ex.c.

◆ HAL_TIMEx_PWMN_Start_IT()

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.

Parameters
htimTIM handle
ChannelTIM Channel to be disabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
Return values
HALstatus

Definition at line 1180 of file stm32f4xx_hal_tim_ex.c.

◆ HAL_TIMEx_PWMN_Stop()

HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop ( TIM_HandleTypeDef htim,
uint32_t  Channel 
)

Stops the PWM signal generation on the complementary output.

Parameters
htimTIM handle
ChannelTIM Channel to be disabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
Return values
HALstatus

Definition at line 1148 of file stm32f4xx_hal_tim_ex.c.

◆ HAL_TIMEx_PWMN_Stop_DMA()

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.

Parameters
htimTIM handle
ChannelTIM Channel to be disabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
Return values
HALstatus

Definition at line 1479 of file stm32f4xx_hal_tim_ex.c.

◆ HAL_TIMEx_PWMN_Stop_IT()

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.

Parameters
htimTIM handle
ChannelTIM Channel to be disabled This parameter can be one of the following values:
  • TIM_CHANNEL_1: TIM Channel 1 selected
  • TIM_CHANNEL_2: TIM Channel 2 selected
  • TIM_CHANNEL_3: TIM Channel 3 selected
Return values
HALstatus

Definition at line 1266 of file stm32f4xx_hal_tim_ex.c.