LCDGFX LCD display driver  1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
SPlatformI2cConfig Struct Reference

#include <interface.h>

Public Attributes

int8_t busId
 
uint8_t addr
 
int8_t scl
 
int8_t sda
 
uint32_t frequency
 

Detailed Description

Structure describes i2c platform configuration

Warning
Not all fields are used by specific platforms

Definition at line 43 of file interface.h.

Member Data Documentation

◆ addr

uint8_t SPlatformI2cConfig::addr

Address of i2c device to control. This is mandatory argument for all platforms

Definition at line 54 of file interface.h.

◆ busId

int8_t SPlatformI2cConfig::busId

bus id number. this parameter is valid for Linux, ESP32. If -1 is pointed, it defaults to platform specific i2c bus (Linux i2c-dev0, esp32 I2C_NUM_0).

Definition at line 49 of file interface.h.

◆ frequency

uint32_t SPlatformI2cConfig::frequency

Frequency in HZ to run spi bus at. Zero value defaults to platform optimal clock speed (100kHz or 400kHz depending on platform).

Definition at line 72 of file interface.h.

◆ scl

int8_t SPlatformI2cConfig::scl

Pin to use as i2c clock pin. This parameter is not used in Linux. If -1 is pointed, the library uses default clock pin for specific platform.

Definition at line 60 of file interface.h.

◆ sda

int8_t SPlatformI2cConfig::sda

Pin to use as i2c data pin. This parameter is not used in Linux. If -1 is pointed, the library uses default data pin for specific platform.

Definition at line 66 of file interface.h.


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