Hal_Tim_Readcapturedvalue; Hal_Tim_Periodelapsedcallback; Hal_Tim_Oc_Delayelapsedcallback - 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
Return values
Notes

HAL_TIM_ReadCapturedValue

Function name
Function description
Parameters
Return values

HAL_TIM_PeriodElapsedCallback

Function name
Function description
Parameters
Return values

HAL_TIM_OC_DelayElapsedCallback

Function name
Function description
604/1371
TIM_EVENTSOURCE_CC1: Timer Capture Compare 1
Event source
TIM_EVENTSOURCE_CC2: Timer Capture Compare 2
Event source
TIM_EVENTSOURCE_CC3: Timer Capture Compare 3
Event source
TIM_EVENTSOURCE_CC4: Timer Capture Compare 4
Event source
TIM_EVENTSOURCE_COM: Timer COM event source
TIM_EVENTSOURCE_TRIGGER: Timer Trigger Event
source
TIM_EVENTSOURCE_BREAK: Timer Break event
source
HAL: status
TIM6 and TIM7 can only generate an update event.
TIM_EVENTSOURCE_COM and
TIM_EVENTSOURCE_BREAK are used only with TIM1 and
TIM8.
uint32_t HAL_TIM_ReadCapturedValue (TIM_HandleTypeDef *
htim, uint32_t Channel)
Read the captured value from Capture Compare unit.
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
TIM_CHANNEL_3: TIM Channel 3 selected
TIM_CHANNEL_4: TIM Channel 4 selected
Captured: value
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *
htim)
Period elapsed callback in non blocking mode.
htim: pointer to a TIM_HandleTypeDef structure that
contains the configuration information for TIM module.
None:
void HAL_TIM_OC_DelayElapsedCallback
(TIM_HandleTypeDef * htim)
Output Compare callback in non blocking mode.
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?

Table of Contents

Save PDF