|
C++ DevKit
C++ set of OOP library
|
this is a C++ wrapper for the original pico SDK i2c slave API More...
#include <hw_i2c.h>

Public Member Functions | |
| HW_I2C_Slave (struct_ConfigSlaveI2C slave_config) | |
| Construct a new hw i2c slave object. | |
| void | slave_isr (i2c_slave_event_t event) |
| this is the actual Interrupt Service Routine executed by the slave after each received data | |
Public Attributes | |
| struct_SlaveMemory | context |
| a data structure used to configure the slave device | |
this is a C++ wrapper for the original pico SDK i2c slave API
| HW_I2C_Slave::HW_I2C_Slave | ( | struct_ConfigSlaveI2C | slave_config | ) |
Construct a new hw i2c slave object.
| slave_config |
| void HW_I2C_Slave::slave_isr | ( | i2c_slave_event_t | event | ) |
this is the actual Interrupt Service Routine executed by the slave after each received data
| event | the type of data/command received |