stmpe811_params_t Struct Reference

Device initialization parameters. More...

Detailed Description

Device initialization parameters.

Note
stmpe811_params_t::xmax and stmpe811_params_t::ymax define the maximum X and Y values in screen coordinates after the optional conversion defined by stmpe811_params_t::xmax.

Definition at line 90 of file stmpe811.h.

#include <stmpe811.h>

Data Fields

i2c_t i2c
 I2C device which is used.
 
uint8_t addr
 Device I2C address.
 
gpio_t int_pin
 Touch screen interrupt pin.
 
uint16_t xmax
 Touch screen max X position.
 
uint16_t ymax
 Touch screen max Y position.
 
stmpe811_touch_conv_t xyconv
 Touch screen coordinates conversion, swapping is applied before mirroring.
 

The documentation for this struct was generated from the following file: