Expand description
Interface for the I2C protocol.
When pin 5 is connected to ground, TF-Luna enters I2C mode. In this mode, pin 2 is used as SDA (Serial Data) and pin 3 as SCL (Serial Clock).
TF-Luna supports up to 400kps clock speed as slave machine and its default address is 0x10.
Max transmission rate | 400kbps |
---|---|
Master/Slave mode | Slave |
Default address | 0x10 |
Address range | 0x01~0x7F |
Re-exports§
pub use blocking::TFLuna;
Modules§
- asynchronous
- Asynchronous I2C interface
- blocking
- Blocking I2C interface
Structs§
- Address
- I2C device address
Enums§
- Error
- I2C Error enum
Constants§
- DEFAULT_
SLAVE_ ADDRESS - Default I2c Slave Address of the TF-Luna device