this is a C++ wrapper for the original pico SDK i2c slave API
More...
#include <hw_i2c.h>
|
| | 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
|
| |
|
|
i2c_inst_t * | i2c |
| | the i2c hardware instance of the Pico that handles the i2c slave
|
| |
this is a C++ wrapper for the original pico SDK i2c slave API
◆ HW_I2C_Slave()
Construct a new hw i2c slave object.
- Parameters
-
◆ slave_isr()
| 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
- Parameters
-
| event | the type of data/command received |
The documentation for this class was generated from the following files: