MySensors Library & Examples
2.3.2-62-ge298769
|
Base class for FastI2cMaster, SoftI2cMaster.
Definition at line 62 of file SoftI2cMaster.h.
#include <SoftI2cMaster.h>
Public Member Functions | |
virtual uint8_t | read (uint8_t last)=0 |
virtual void | start ()=0 |
virtual void | stop ()=0 |
bool | transfer (uint8_t addressRW, void *buf, size_t nbyte, uint8_t option=I2C_STOP) |
bool | transferContinue (void *buf, size_t nbyte, uint8_t option=I2C_STOP) |
virtual bool | write (uint8_t data)=0 |
|
pure virtual |
Read a byte
[in] | last | send a NACK to terminate read if last is true else send an ACK to continue the read. |
Implemented in FastI2cMaster< sclPin, sdaPin >, and SoftI2cMaster.
|
pure virtual |
Issue a start condition
Implemented in FastI2cMaster< sclPin, sdaPin >, and SoftI2cMaster.
|
pure virtual |
Issue a stop condition.
Implemented in FastI2cMaster< sclPin, sdaPin >, and SoftI2cMaster.
|
pure virtual |
Write a byte
[in] | data | byte to write |
Implemented in FastI2cMaster< sclPin, sdaPin >, and SoftI2cMaster.