HPM SDK
HPMicro Software Development Kit
hpm_touch_gt9xx.c File Reference
#include "board.h"
#include "hpm_touch.h"
#include "hpm_gpio_drv.h"
#include "hpm_gt9xx.h"

Functions

hpm_stat_t touch_get_data (touch_point_t *points, uint8_t *num_of_points)
 
void pull_int_pin (bool high)
 
void float_int_pin (void)
 
hpm_stat_t touch_init (I2C_Type *i2c_ptr)
 
hpm_stat_t touch_config (bool exchange_xy, bool reverse_x, bool reverse_y)
 

Variables

gt9xx_context_t gt9xx = {0}
 

Function Documentation

◆ float_int_pin()

void float_int_pin ( void  )

◆ pull_int_pin()

void pull_int_pin ( bool  high)

◆ touch_config()

hpm_stat_t touch_config ( bool  exchange_xy,
bool  reverse_x,
bool  reverse_y 
)

◆ touch_get_data()

hpm_stat_t touch_get_data ( touch_point_t points,
uint8_t *  num_of_points 
)

◆ touch_init()

hpm_stat_t touch_init ( I2C_Type i2c_ptr)

Variable Documentation

◆ gt9xx

gt9xx_context_t gt9xx = {0}