English
Language : 

UM0324 Datasheet, PDF (76/105 Pages) STMicroelectronics – This user manual describes
Library functions
UM0324
4.7
Tachogenerator feedback processing: 75x_tacho.c module
4.7.1
List of available functions and interrupt service routines
The following is a list of available functions as listed in the 75x_ encoder .h header file:
● TAC_TachoTimerInit on page 76
● TAC_InitTachoMeasure on page 77
● TAC_GetRotorFreqInHz on page 77
● TAC_GetRotorFreq on page 78
● GetLastTachoPeriod on page 78
● GetAvrgTachoPeriod on page 78
● TAC_IsTimedOut on page 79
● TAC_ClrTimeOut on page 79
● TAC_GetCaptCounter on page 79
● TAC_ClrCaptCounter on page 80
● TAC_StartTachoFiltering on page 80
● TAC_ValidSpeedInfo on page 80
● TIMx_IC12_IRQHandler on page 81
● TIMx_UP_IRQHandler on page 81
TAC_TachoTimerInit
Synopsis
Description
Functions called
Note
See also
void TAC_TachoTimerInit(void)
The purpose of this function is to initialize the timer that will perform the
tacho signal period measurement (the timer can be chosen in the
75x_tacho_prm.h file). The peripheral clock and the capture interrupt
are enabled, and the timer is initialized in “clear on capture” mode.
MRCC_PeripheralClockConfig
EIC_IRQInit
TIM_DeInit, TIM_StructInit, TIM_Init, TIM_ClearFlag, TIM_ITConfig,
TIM_ResetCounter, Tim_Cmd
The timer starts counting at the end of the routine.
STR750 datasheet: synchronizable standard timer.
76/105