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

Structure holding the parameters for I2C initialization. More...

#include <i2c.h>

Collaboration diagram for i2c_init_param:
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 the parameters for I2C initialization.

Member Data Documentation

◆ device_id

uint32_t i2c_init_param::device_id

Device ID

◆ extra

void* i2c_init_param::extra

I2C extra parameters (device specific parameters)

◆ max_speed_hz

uint32_t i2c_init_param::max_speed_hz

I2C maximum transfer speed supported

◆ platform_ops

const struct i2c_platform_ops* i2c_init_param::platform_ops

I2C platform specific functions

◆ slave_address

uint8_t i2c_init_param::slave_address

Slave address


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