#include "hpm_gt9xx.h"Functions | |
| hpm_stat_t | gt9xx_read_data (gt9xx_context_t *context, uint16_t addr, uint8_t *buf, uint32_t size) |
| hpm_stat_t | gt9xx_write_data (gt9xx_context_t *context, uint16_t addr, uint8_t *buf, uint32_t size) |
| hpm_stat_t | gt9xx_read_register (gt9xx_context_t *context, uint16_t reg, uint8_t *buf) |
| hpm_stat_t | gt9xx_write_register (gt9xx_context_t *context, uint16_t reg, uint8_t val) |
| hpm_stat_t | gt9xx_soft_reset (gt9xx_context_t *context) |
| static uint8_t | gt9xx_calcualte_config_data_checksum (uint8_t *config) |
| hpm_stat_t | gt9xx_read_config (gt9xx_context_t *context, uint8_t *buf, uint8_t size) |
| hpm_stat_t | gt9xx_init (gt9xx_context_t *context, uint16_t width, uint16_t height) |
| hpm_stat_t | gt9xx_read_touch_data (gt9xx_context_t *context, gt9xx_touch_data_t *touch_data) |
Variables | |
| static uint8_t | g_i2c_addr |
|
static |
| hpm_stat_t gt9xx_init | ( | gt9xx_context_t * | context, |
| uint16_t | width, | ||
| uint16_t | height | ||
| ) |
| hpm_stat_t gt9xx_read_config | ( | gt9xx_context_t * | context, |
| uint8_t * | buf, | ||
| uint8_t | size | ||
| ) |
| hpm_stat_t gt9xx_read_data | ( | gt9xx_context_t * | context, |
| uint16_t | addr, | ||
| uint8_t * | buf, | ||
| uint32_t | size | ||
| ) |
| hpm_stat_t gt9xx_read_register | ( | gt9xx_context_t * | context, |
| uint16_t | reg, | ||
| uint8_t * | buf | ||
| ) |
| hpm_stat_t gt9xx_read_touch_data | ( | gt9xx_context_t * | context, |
| gt9xx_touch_data_t * | touch_data | ||
| ) |
| hpm_stat_t gt9xx_soft_reset | ( | gt9xx_context_t * | context | ) |
| hpm_stat_t gt9xx_write_data | ( | gt9xx_context_t * | context, |
| uint16_t | addr, | ||
| uint8_t * | buf, | ||
| uint32_t | size | ||
| ) |
| hpm_stat_t gt9xx_write_register | ( | gt9xx_context_t * | context, |
| uint16_t | reg, | ||
| uint8_t | val | ||
| ) |
|
static |