48 #include "../Common/ts.h" 75 #define EXC7200_READ_CMD 0x09 109 uint8_t
IOE_Read(uint8_t addr, uint8_t reg);
110 uint16_t
IOE_ReadMultiple(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length);
111 void IOE_WriteMultiple(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length);
void IOE_WriteMultiple(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length)
void exc7200_TS_EnableIT(uint16_t DeviceAddr)
Configure the selected source to generate a global interrupt or not.
void exc7200_TS_Start(uint16_t DeviceAddr)
Configures the touch Screen Controller (Single point detection)
uint16_t exc7200_ReadID(uint16_t DeviceAddr)
Read the exc7200 IO Expander device ID.
void exc7200_TS_DisableIT(uint16_t DeviceAddr)
Configure the selected source to generate a global interrupt or not.
void IOE_Delay(uint32_t delay)
uint8_t exc7200_TS_DetectTouch(uint16_t DeviceAddr)
Return if there is touch detected or not.
void exc7200_Init(uint16_t DeviceAddr)
exc7200 Control functions
void exc7200_Reset(uint16_t DeviceAddr)
Reset the exc7200 by Software.
uint16_t IOE_ReadMultiple(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t length)
uint8_t exc7200_TS_ITStatus(uint16_t DeviceAddr)
Configure the selected source to generate a global interrupt or not.
uint8_t IOE_Read(uint8_t addr, uint8_t reg)
void exc7200_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y)
Get the touch screen X and Y positions values.
void exc7200_TS_ClearIT(uint16_t DeviceAddr)
Configure the selected source to generate a global interrupt or not.
TS_DrvTypeDef exc7200_ts_drv