PEController BSP v4
Board Support Package for PEController from Taraz Technologies
 
Loading...
Searching...
No Matches

Functions

uint8_t BSP_TS_Init (uint16_t ts_SizeX, uint16_t ts_SizeY)
 Initialize the touch screen controller.
 
TS_StateTypeDefBSP_TS_GetState (void)
 Returns status and positions of the touch screen.
 
void BSP_TS_Poll (void)
 Poll the touch screen drivers to get touch events.
 

Detailed Description

Function Documentation

◆ BSP_TS_GetState()

TS_StateTypeDef * BSP_TS_GetState ( void  )
extern
Returns
TS_State: Pointer to touch screen state structure

◆ BSP_TS_Init()

uint8_t BSP_TS_Init ( uint16_t  ts_SizeX,
uint16_t  ts_SizeY 
)
extern
Parameters
ts_SizeXHorizontal Size of the touch screen
ts_SizeYVertical Size of the touch screen
Returns
TS_OK if initialization is successful else TS_DEVICE_NOT_FOUND