![]() |
Midnight Sun Firmware
|
I2C settings struct. More...
#include <i2c.h>

Public Attributes | |
| I2CSpeed | speed |
| GpioAddress | sda |
| GpioAddress | scl |
I2C settings struct.
I2C Speed is 100kHz for standard mode and 400kHz for fast mode. SDA is an open-drain data pin. SCL is an open-drain clock pin.
| GpioAddress scl |
GPIO Pin to provide clock signal
| GpioAddress sda |
GPIO Pin to transmit and receive data
| I2CSpeed speed |
I2C Clock speed selection