Core2 for AWS IoT EduKit BSP 1.5.1
ft6336u.h
Go to the documentation of this file.
1
6#pragma once
7
25/* @[declare_ft6336_init] */
26void FT6336U_Init();
27/* @[declare_ft6336_init] */
28
49/* @[declare_ft6336_gettouch] */
50void FT6336U_GetTouch(uint16_t* x, uint16_t* y, bool* press_down);
51/* @[declare_ft6336_gettouch] */
52
58/* @[declare_ft6336_waspressed] */
60/* @[declare_ft6336_waspressed] */
61
67/* @[declare_ft6336_getpressposx] */
68uint16_t FT6336U_GetPressPosX();
69/* @[declare_ft6336_getpressposx] */
70
76/* @[declare_ft6336_getpressposy] */
77uint16_t FT6336U_GetPressPosY();
78/* @[declare_ft6336_getpressposy] */
uint16_t FT6336U_GetPressPosY()
Retrieves the Y-coordinate of the screen press.
Definition: ft6336u.c:90
bool FT6336U_WasPressed()
Retrieves the pressed state of the touch screen.
Definition: ft6336u.c:74
void FT6336U_Init()
Initializes the FT6336U over I2C.
Definition: ft6336u.c:23
uint16_t FT6336U_GetPressPosX()
Retrieves the X-coordinate of the screen press.
Definition: ft6336u.c:82
void FT6336U_GetTouch(uint16_t *x, uint16_t *y, bool *press_down)
Retrieves the most recent touch data from the FT6336U.
Definition: ft6336u.c:66