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

Structure holding I2C bus descriptor. More...

#include <no_os_i2c.h>

Collaboration diagram for no_os_i2cbus_desc:
Collaboration graph
[legend]

Public Attributes

void * mutex
 
uint8_t slave_number
 
uint32_t device_id
 
uint32_t max_speed_hz
 
const struct no_os_i2c_platform_opsplatform_ops
 
void * extra
 

Detailed Description

Structure holding I2C bus descriptor.

Member Data Documentation

◆ device_id

uint32_t no_os_i2cbus_desc::device_id

I2C bus Device ID

◆ extra

void* no_os_i2cbus_desc::extra

I2C bus extra parameters (device specific parameters)

◆ max_speed_hz

uint32_t no_os_i2cbus_desc::max_speed_hz

I2C bus maximum transfer speed supported

◆ mutex

void* no_os_i2cbus_desc::mutex

I2C bus mutex(lock)

◆ platform_ops

const struct no_os_i2c_platform_ops* no_os_i2cbus_desc::platform_ops

I2C bus platform specific functions

◆ slave_number

uint8_t no_os_i2cbus_desc::slave_number

I2C bus slave number


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