no-OS
Public Attributes | List of all members
i2c_desc Struct Reference

Structure holding I2C descriptor. More...

#include <i2c.h>

Collaboration diagram for i2c_desc:
Collaboration graph
[legend]

Public Attributes

uint32_t device_id
 
uint32_t max_speed_hz
 
uint8_t slave_address
 
const struct i2c_platform_opsplatform_ops
 
void * extra
 

Detailed Description

Structure holding I2C descriptor.

Member Data Documentation

◆ device_id

uint32_t i2c_desc::device_id

Device ID

◆ extra

void* i2c_desc::extra

I2C extra parameters (device specific parameters)

◆ max_speed_hz

uint32_t i2c_desc::max_speed_hz

I2C maximum transfer speed supported

◆ platform_ops

const struct i2c_platform_ops* i2c_desc::platform_ops

I2C platform specific functions

◆ slave_address

uint8_t i2c_desc::slave_address

Slave address


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