Arduino Wrapper for Wire library (for SAM, ESP8266...) 1.4
A wrapper for Wire library meant to be put in place of cI2C library on SAM, ESP8266... targets
Loading...
Searching...
No Matches
StructI2CSlave Struct Reference

ci2c slave config and control parameters More...

#include <src/WireWrapper.h>

Public Attributes

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.
 
I2C_STATUS status
 Status of the last communications.
 

Detailed Description

ci2c slave config and control parameters

GCC Attributes
packed struct

Member Data Documentation

◆ addr

uint8_t StructI2CSlave::addr

Slave address.

◆ [struct]

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: