|
NetBurner 3.5.7
PDF Version |
Topics | |
| Bit Bang I2C (GPIO) | |
| Legacy API MOD5441x, NANO54415, SB800EX | |
| Wire Interface | |
| Arduino-compatible TwoWire I2C controller/target interface. | |
I2C API for NetBurner Platforms
The I2C peripheral interfaces can be controlled four ways:
The WireIntf class, which offers a Two Wire Interface API for older hardware
#include< Wire.h >
or
#include< i2c.h > (in the appropriate arch include subfolder)
or
#include< bb_i2c.h > (if no i2c.h in the appropriate arch)
BBI2C is specifically for platforms without native hardware I2C support. See other sub-modules for device-specific I2C details.
Provides access to the all the I2C peripherals on the processor. The I2C peripherals available will vary by platform. For example, Wire.read(); will execute a read operation on I2C module 0.