![]() |
Synergy Software Package User's Manual
|
#include <sf_touch_panel_v2.h>
Public Member Functions | |
| uint8_t stack [SF_TOUCH_PANEL_V2_STACK_SIZE] | BSP_ALIGN_VARIABLE_V2 (BSP_STACK_ALIGNMENT) |
Data Fields | |
| uint32_t | open |
| Used by driver to check if control block is valid. | |
| uint16_t | hsize_pixels |
| Horizontal size of screen in pixels. | |
| uint16_t | vsize_pixels |
| Vertical size of screen in pixels. | |
| sf_touch_panel_v2_payload_t | payload |
| Pointer to buffer used to store payload. | |
| TX_MUTEX | mutex |
| Mutex used to protect access to shared resources. | |
| TX_EVENT_FLAGS_GROUP | flags |
| Event flags for internal communication. | |
| TX_THREAD | thread |
| Main touch panel thread. | |
| TX_SEMAPHORE | semaphore |
| Semaphore used for SF_TOUCH_PANEL_V2_TouchDataGet. | |
| sf_touch_panel_chip_instance_t const * | p_chip |
| Pointer to touch chip. | |
| uint16_t | update_hz |
| uint16_t | rotation_angle |
| Touch coordinate rotation angle(0/90/180/270) | |
| void const * | p_context |
| Pointer to user callback context data. | |
| bool | calibrate |
| Used to check if calibration is required or not. | |
Instance control block. DO NOT INITIALIZE. Initialization occurs when sf_touch_panel_v2_api_t::open is called
| uint8_t stack [SF_TOUCH_PANEL_V2_STACK_SIZE] sf_touch_panel_v2_instance_ctrl_t::BSP_ALIGN_VARIABLE_V2 | ( | BSP_STACK_ALIGNMENT | ) |
Stack for touch panel thread
| uint16_t sf_touch_panel_v2_instance_ctrl_t::update_hz |
The frequency to report repeat (SF_TOUCH_PANEL_V2_EVENT_DOWN or SF_TOUCH_PANEL_V2_EVENT_HOLD) touch events in Hertz.