UM1940
This section contains the following APIs:
HAL_TIM_Base_GetState()
HAL_TIM_OC_GetState()
HAL_TIM_PWM_GetState()
HAL_TIM_IC_GetState()
HAL_TIM_OnePulse_GetState()
HAL_TIM_Encoder_GetState()
45.2.13
Detailed description of functions
HAL_TIM_Base_Init
Function name
Function description
Parameters
Return values
HAL_TIM_Base_DeInit
Function name
Function description
Parameters
Return values
HAL_TIM_Base_MspInit
Function name
Function description
Parameters
Return values
HAL_TIM_Base_MspDeInit
Function name
Function description
Parameters
Return values
HAL_StatusTypeDef HAL_TIM_Base_Init (TIM_HandleTypeDef
* htim)
Initializes the TIM Time base Unit 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_Base_DeInit
(TIM_HandleTypeDef * htim)
DeInitializes the TIM Base peripheral.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
HAL: status
void HAL_TIM_Base_MspInit (TIM_HandleTypeDef * htim)
Initializes the TIM Base MSP.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
None:
void HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef * htim)
DeInitializes TIM Base MSP.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
None:
DocID028236 Rev 2
HAL TIM Generic Driver
583/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers