objc

Data Fields
hw_i2c_t Struct Reference

I2C adapter. More...

#include <runtime-hw/hw.h>

Collaboration diagram for hw_i2c_t:
Collaboration graph
[legend]

Data Fields

uint8_t adapter
 I2C adapter number (0, 1, etc.)
 
hw_gpio_t sda
 I2C data pin number.
 
hw_gpio_t scl
 I2C clock pin number.
 
uint32_t baudrate
 I2C baud rate in Hz.
 
uint8_t reserved [3]
 Reserved for user data.
 

Detailed Description

I2C adapter.

Definition at line 25 of file i2c.h.


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