NetBurner 3.5.6
PDF Version |
Topics | |
MCF5441x I2C | |
SAME70 I2C | |
Wire Interface | |
Implements the same TwoWire interface as other popular microcontrollers for easy cross-compatibility with third party libraries. | |
Classes | |
class | BBI2C |
I2C Peripheral Class. More... | |
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.