Hal_Tim_Pwm_Init; Hal_Tim_Pwm_Deinit; Hal_Tim_Pwm_Mspinit; Hal_Tim_Pwm_Mspdeinit - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL TIM Generic Driver

HAL_TIM_PWM_Init

Function name
Function description
Parameters
Return values

HAL_TIM_PWM_DeInit

Function name
Function description
Parameters
Return values

HAL_TIM_PWM_MspInit

Function name
Function description
Parameters
Return values

HAL_TIM_PWM_MspDeInit

Function name
Function description
Parameters
Return values
HAL_TIM_PWM_Start
Function name
Function description
Parameters
588/1371
HAL_StatusTypeDef HAL_TIM_PWM_Init (TIM_HandleTypeDef
* htim)
Initializes the TIM PWM Time Base according to the specified
parameters in the TIM_HandleTypeDef and create the associated
handle.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
HAL: status
HAL_StatusTypeDef HAL_TIM_PWM_DeInit
(TIM_HandleTypeDef * htim)
DeInitializes the TIM peripheral.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
HAL: status
void HAL_TIM_PWM_MspInit (TIM_HandleTypeDef * htim)
Initializes the TIM PWM MSP.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
None:
void HAL_TIM_PWM_MspDeInit (TIM_HandleTypeDef * htim)
DeInitializes TIM PWM MSP.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
None:
HAL_StatusTypeDef HAL_TIM_PWM_Start
(TIM_HandleTypeDef * htim, uint32_t Channel)
Starts the PWM signal generation.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
Channel: TIM Channels 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
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF