Public Attributes | List of all members
no_os_i2c_init_param Struct Reference

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

#include <no_os_i2c.h>

Collaboration diagram for no_os_i2c_init_param:
Collaboration graph

Public Attributes

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

Detailed Description

Structure holding the parameters for I2C initialization.

Member Data Documentation

◆ device_id

uint32_t no_os_i2c_init_param::device_id

Device ID

◆ extra

void* no_os_i2c_init_param::extra

I2C extra parameters (device specific parameters)

◆ max_speed_hz

uint32_t no_os_i2c_init_param::max_speed_hz

I2C maximum transfer speed supported

◆ platform_ops

const struct no_os_i2c_platform_ops* no_os_i2c_init_param::platform_ops

I2C platform specific functions

◆ slave_address

uint8_t no_os_i2c_init_param::slave_address

Slave address

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