AN706-00040-2v0-E
62
7.2.4.6 Touch Panel Control Driver API
Function
STATUS TOUCH_Init(void)
Overview
Initialization function for touch panel control driver
Invoked before entering the main loop (see
”).
Parameter None
Return
value
Processing results
TOUCH_RET_OK
Normal completion
TOUCH_RET_ILLEGAL_ERROR Timer setting failure
Function
STATUS TOUCH_GetAreaStatus(uint16_t* Status)
Overview
Touch panel area status acquisition function
Parameter Status
Pointer to area status acquisition information storage destination
If successful, area (see Figure 47) status (touch by 1) is written by bit.
bit0
Area 1
bit1
Area 2
bit2
Area 3
bit3
Area 4
bit4
Area 5
bit5
Area 6
bit6
Area 7
bit7
Area 8
bit8
Area 9
Return
value
Processing results
TOUCH_RET_OK
Normal completion
TOUCH_RET_INVALID_PARAMETER
Parameter error