HPM SDK
HPMicro Software Development Kit
hpm_touch_ft5406.c File Reference
#include "hpm_touch.h"

Functions

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

Variables

ft5406_context_t ft5406 = {0}
 

Function Documentation

◆ 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

◆ ft5406

ft5406_context_t ft5406 = {0}