1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pinetime: Add touch screen configuration

This commit is contained in:
Koen Zandberg 2020-06-23 10:39:51 +02:00 committed by Alexandre Abadie
parent 03bf0fae01
commit ead5822fa4
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -100,6 +100,17 @@ extern mtd_dev_t *mtd0;
#define MTD_0 mtd0
/** @} */
/**
* @name Touch screen configuration
* @{
*/
#define CST816S_PARAM_I2C_DEV I2C_DEV(0)
#define CST816S_PARAM_I2C_ADDR (0x15)
#define CST816S_PARAM_IRQ GPIO_PIN(0, 28)
#define CST816S_PARAM_IRQ_FLANK GPIO_FALLING
#define CST816S_PARAM_RESET GPIO_PIN(0, 10)
/** @} */
#ifdef __cplusplus
}
#endif