Midnight Sun Firmware
Loading...
Searching...
No Matches
I2CSettings

I2C settings struct. More...

#include <i2c.h>

Collaboration diagram for I2CSettings:

Public Attributes

I2CSpeed speed
 
GpioAddress sda
 
GpioAddress scl
 

Detailed Description

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.

Member Data Documentation

◆ scl

GPIO Pin to provide clock signal

◆ sda

GPIO Pin to transmit and receive data

◆ speed

I2CSpeed speed

I2C Clock speed selection


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