Arduino Hardware I2C for AVR MCUs (plain c)  1.3
Arduino Hardware I2C for AVR MCUs (plain c) documentation
Data Fields
StructI2CSlave Struct Reference

ci2c slave config and control parameters More...

#include <src/ci2c.h>

Data Fields

struct {
   uint8_t   addr
 Slave address. More...
 
   I2C_INT_SIZE   reg_size
 Slave internal registers size. More...
 
   ci2c_fct_ptr   wr
 Slave write function pointer. More...
 
   ci2c_fct_ptr   rd
 Slave read function pointer. More...
 
cfg
 
uint16_t reg_addr
 Internal current register address. More...
 
I2C_STATUS status
 Status of the last communications. More...
 

Detailed Description

ci2c slave config and control parameters

GCC Attributes:
packed struct

Field Documentation

◆ addr

uint8_t StructI2CSlave::addr

Slave address.

◆ cfg

struct { ... } StructI2CSlave::cfg

◆ rd

ci2c_fct_ptr StructI2CSlave::rd

Slave read function pointer.

◆ reg_addr

uint16_t StructI2CSlave::reg_addr

Internal current register address.

◆ reg_size

I2C_INT_SIZE StructI2CSlave::reg_size

Slave internal registers size.

◆ status

I2C_STATUS StructI2CSlave::status

Status of the last communications.

◆ wr

ci2c_fct_ptr StructI2CSlave::wr

Slave write function pointer.


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