iPXE
Data Fields
exanic_i2c_config Struct Reference

An ExaNIC I2C bus configuration. More...

#include <exanic.h>

Data Fields

uint8_t setscl
 GPIO bit for pulling SCL low. More...
 
uint8_t setsda
 GPIO bit for pulling SDA low. More...
 
uint8_t getsda
 GPIO bit for reading SDA. More...
 

Detailed Description

An ExaNIC I2C bus configuration.

Definition at line 162 of file exanic.h.

Field Documentation

◆ setscl

uint8_t exanic_i2c_config::setscl

GPIO bit for pulling SCL low.

Definition at line 164 of file exanic.h.

Referenced by exanic_i2c_write_bit(), and exanic_try_init_eeprom().

◆ setsda

uint8_t exanic_i2c_config::setsda

GPIO bit for pulling SDA low.

Definition at line 166 of file exanic.h.

Referenced by exanic_i2c_write_bit(), and exanic_try_init_eeprom().

◆ getsda

uint8_t exanic_i2c_config::getsda

GPIO bit for reading SDA.

Definition at line 168 of file exanic.h.

Referenced by exanic_i2c_read_bit(), and exanic_try_init_eeprom().


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