83void TwiSlReplyCommit (uint8_t bytes);
89void TwiSlReplyCommitPartial (uint8_t bytes,
bool complete);
97void TwiSlReplyFlush ();
105#if TWI_SL_NOTIFY || DOXYGEN
107extern bool twiSlNotifyPending;
109static inline void TwiSlNotify () { twiSlNotifyPending =
true; }
114static inline void TwiSlNotify () {}
133#if WITH_TWI_MASTER || DOXYGEN
138#if TWI_MA_PORTS > 1 || DOXYGEN
139extern int8_t twiMaPort;
166#if WITH_TWIHUB || DOXYGEN
169static inline void TwiHubInit () {
TwiMaInit (); }
172void TwiHubIterate ();
175static inline void TwiHubOnRegRead (uint8_t reg) {}
177static inline void TwiHubOnRegWrite (uint8_t reg, uint8_t val) {}
184static inline void TwiHubInit () {}
185static inline void TwiHubIterate () {}
186static inline void TwiHubOnRegRead (uint8_t reg) {}
187static inline void TwiHubOnRegWrite (uint8_t reg, uint8_t val) {}
void TwiMaSendStart()
Send a start condition.
void TwiMaSendStop()
Send a stop condition.
static void TwiMaSelectPort(int8_t port)
Select the TWI master port for the next operations.
void TwiMaInit()
Init all TWI master ports.
bool TwiMaSendByte(uint8_t data)
Send a byte (returns the ACK bit).
uint8_t TwiMaReceiveByte(bool ack)
Receive a byte ('ack' to be set to 1 if more bytes are expected).