BSP_TS_Init() function
Initializes and configures the touch screen functionalities and configures all necessary hardware resources (GPIOs, clocks..).
Syntax
uint8_t BSP_TS_Init(uint16_t XSize,
uint16_t YSize);
Arguments
XSize
The maximum X size of the TS area on LCD
YSize
The maximum Y size of the TS area on LCD
Return value
TS_OK: if all initializations are OK. Other value if error.
BSP_TS_Init() reads 4 variables and writes 3 variables:
![]()
BSP_TS_Init()