Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ addr

uint8_t stmpe811_params_t::addr

Device I2C address.

Definition at line 100 of file stmpe811.h.

◆ i2c

i2c_t stmpe811_params_t::i2c

I2C device which is used.

Definition at line 99 of file stmpe811.h.

◆ int_pin

gpio_t stmpe811_params_t::int_pin

Touch screen interrupt pin.

Definition at line 102 of file stmpe811.h.

◆ xmax

uint16_t stmpe811_params_t::xmax

Touch screen max X position.

Definition at line 103 of file stmpe811.h.

◆ xyconv

stmpe811_touch_conv_t stmpe811_params_t::xyconv

Touch screen coordinates conversion, swapping is applied before mirroring.

Definition at line 105 of file stmpe811.h.

◆ ymax

uint16_t stmpe811_params_t::ymax

Touch screen max Y position.

Definition at line 104 of file stmpe811.h.


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