Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_STMPE_CONTROL Struct Reference

#include <stmpe.h>

Data Fields

uint32_t chip
 The chip type (eg STMPE_CHIP_STMPE610).
GPIO_INFO irq
 The GPIO information for the IRQ line (Optional).
I2C_DEVICEi2c
 The I2C device this device is connected to (Optional).
uint16_t address
 The I2C address of the device.
SPI_DEVICEspi
 The SPI device this device is connected to (Optional).
uint16_t chipselect
 The SPI chip select of the device.
uint32_t regmax
 The maximum register address for read or write.
uint32_t regdir
 The register address direction (Ascending / Descending).
uint32_t regsize
 The standard size of a register read or write.

Field Documentation

◆ chip

uint32_t chip

The chip type (eg STMPE_CHIP_STMPE610).

◆ irq

GPIO_INFO irq

The GPIO information for the IRQ line (Optional).

◆ i2c

I2C_DEVICE* i2c

The I2C device this device is connected to (Optional).

◆ address

uint16_t address

The I2C address of the device.

◆ spi

SPI_DEVICE* spi

The SPI device this device is connected to (Optional).

◆ chipselect

uint16_t chipselect

The SPI chip select of the device.

◆ regmax

uint32_t regmax

The maximum register address for read or write.

◆ regdir

uint32_t regdir

The register address direction (Ascending / Descending).

◆ regsize

uint32_t regsize

The standard size of a register read or write.


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