![]() |
mikroSDK Reference Manual
|
Go to the source code of this file.
Data Structures | |
| struct | tp_touch_coord_t |
| Touch Point Object Definition. More... | |
| struct | tp_touch_item_t |
| Touch Item Definition. More... | |
| struct | tp_drv_t |
| Touch Panel Driver Interface Items. More... | |
| struct | tp_cfg_t |
| Touch Panel Size And Placement Configuration Object. More... | |
| struct | tp_t |
| Touch Panel Context Object. More... | |
Macros | |
| #define | TP_N_TOUCHES_MAX 5 |
| Touch Panel Touch Limit. More... | |
Typedefs | |
| typedef uint16_t | tp_coord_t |
| Touch Point Coordinates Data Type. More... | |
| typedef tp_event_t(* | tp_press_det_t) (void *) |
| Touch Panel Driver Interface Definition. More... | |
| typedef void(* | tp_press_coord_t) (void *, tp_touch_item_t *) |
| Touch Panel Driver Interface Definition. More... | |
| typedef void(* | tp_gesture_t) (void *, tp_event_t *) |
| Touch Panel Driver Interface Definition. More... | |
| typedef tp_err_t(* | tp_process_t) (void *) |
| Touch Panel Driver Interface Definition. More... | |
| typedef void(* | tp_press_callback_t) (tp_event_t, tp_coord_t, tp_coord_t, tp_touch_id_t) |
| Touch Panel Touch Callback Function. More... | |
| typedef void(* | tp_gesture_callback_t) (tp_event_t) |
| Touch Panel Gesture Callback Function. More... | |
Enumerations | |
| enum | tp_err_t |
| Touch Panel Error Code Definition. More... | |
| enum | tp_event_t |
| Touch Panel Event Code Definition. More... | |
| enum | tp_touch_id_t |
| Touch Point ID Definition. More... | |
| enum | tp_rotate_t |
| Touch Panel Placement (Orientation) Definition. More... | |
Functions | |
| void | tp_cfg_setup (tp_cfg_t *cfg) |
| Touch Panel Configuration Function. More... | |
| tp_err_t | tp_init (tp_t *ctx, tp_cfg_t *cfg, tp_drv_t *drv, void *drv_ctx) |
| Touch Panel Initialization Function. More... | |
| void | tp_press_callback_setup (tp_t *ctx, tp_press_callback_t cb) |
| Touch Panel Callback Setup Function. More... | |
| void | tp_gesture_callback_setup (tp_t *ctx, tp_gesture_callback_t cb) |
| Touch Panel Callback Setup Function. More... | |
| void | tp_rotate (tp_t *ctx, tp_rotate_t rotate) |
| Touch Panel Rotate Function. More... | |
| tp_rotate_t | tp_get_orientation (tp_t *ctx) |
| Touch Panel Orientation Check Function. More... | |
| void | tp_get_size (tp_t *ctx, uint16_t *width, uint16_t *height) |
| Touch Panel Size Check Function. More... | |
| tp_event_t | tp_press_detect (tp_t *ctx) |
| Touch Panel Pressure Detector Function. More... | |
| tp_err_t | tp_press_coordinates (tp_t *ctx, tp_touch_item_t *touch_item) |
| Touch Panel Pressure Coordinates Check Function. More... | |
| void | tp_gesture (tp_t *ctx, tp_event_t *event) |
| Touch Panel Gesture Check Function. More... | |
| tp_err_t | tp_process (tp_t *ctx) |
| Touch Panel Process Function. More... | |
Supported drivers (version 2.0.0):
| #define TP_N_TOUCHES_MAX 5 |
Maximal number of possible pressed touches.
| typedef uint16_t tp_coord_t |
Data type of coordinates of touch point defined for Touch Panel library.
| typedef tp_event_t( * tp_press_det_t) (void *) |
Driver interface defined for touch pressure detection.
| typedef void( * tp_press_coord_t) (void *, tp_touch_item_t *) |
Driver interface defined for touch item.
| typedef void( * tp_gesture_t) (void *, tp_event_t *) |
Driver interface defined for gesture event.
| typedef tp_err_t( * tp_process_t) (void *) |
Driver interface defined for process function.
| typedef void( * tp_press_callback_t) (tp_event_t, tp_coord_t, tp_coord_t, tp_touch_id_t) |
Touch point callback function defined for Touch Panel library.
| typedef void( * tp_gesture_callback_t) (tp_event_t) |
Gesture callback function defined for Touch Panel library.
| enum tp_err_t |
Specified error codes defined for Touch Panel library.
| enum tp_event_t |
Specified events defined for Touch Panel library.
| enum tp_touch_id_t |
| enum tp_rotate_t |