Home
last modified time | relevance | path

Searched refs:FOR_DIR_CHG_POS (Results 1 – 1 of 1) sorted by relevance

/bsp/apm32/libraries/APM32F0xx_Library/TSC_Device_Lib/src/
A Dtsc_linrot.c64 #define FOR_DIR_CHG_POS TSC_Globals.For_LinRot->p_Param->DirChangePos macro
393 FOR_DIR_CHG_POS = TOUCH_LINROT_DIR_CHG_POS; in TSC_Linrot_Config()
621 if ((curPosition + FOR_DIR_CHG_POS) <= FOR_RAW_POSITION) in TSC_Linrot_CalcPos()
643 …if ((curPosition + FOR_DIR_CHG_POS) <= (uint16_t)(FOR_RAW_POSITION + DIRECTION_CHANGE_TOTAL_STEPS)) in TSC_Linrot_CalcPos()
668 if (curPosition >= (uint16_t)(FOR_RAW_POSITION + FOR_DIR_CHG_POS)) in TSC_Linrot_CalcPos()
690 …if ((curPosition + DIRECTION_CHANGE_TOTAL_STEPS) >= (uint16_t)(FOR_RAW_POSITION + FOR_DIR_CHG_POS)) in TSC_Linrot_CalcPos()

Completed in 5 milliseconds