Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openmrn_arduino::Esp32HardwareI2C::i2c_device_t Struct Reference

Tracking structure used to map file handles to an I2C controller and address. More...

Public Attributes

i2c_port_t port
 I2C Controller that this file handle will use.
 
int address
 I2C address to use when greater than zero.
 
int fd
 Assigned file handle for this entry.
 

Detailed Description

Tracking structure used to map file handles to an I2C controller and address.

Definition at line 194 of file Esp32HardwareI2C.hxx.

Member Data Documentation

◆ address

int openmrn_arduino::Esp32HardwareI2C::i2c_device_t::address

I2C address to use when greater than zero.

Definition at line 200 of file Esp32HardwareI2C.hxx.

◆ fd

int openmrn_arduino::Esp32HardwareI2C::i2c_device_t::fd

Assigned file handle for this entry.

Definition at line 203 of file Esp32HardwareI2C.hxx.

◆ port

i2c_port_t openmrn_arduino::Esp32HardwareI2C::i2c_device_t::port

I2C Controller that this file handle will use.

Definition at line 197 of file Esp32HardwareI2C.hxx.


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