Developer World
Spresense Arduino Library v3.3.0-b2e6327
TwoWire Class Reference
Inheritance diagram for TwoWire:
Collaboration diagram for TwoWire:

Public Member Functions

 TwoWire (int port=0)
 
void begin (void)
 
void begin (uint8_t address)
 
void begin (uint16_t address)
 
void begin (int address)
 
void end (void)
 
virtual int available (void)
 
virtual int peek (void)
 
virtual int read (void)
 
virtual void flush (void)
 
virtual size_t write (uint8_t value)
 
virtual size_t write (const uint8_t *data, size_t length)
 
uint8_t requestFrom (uint8_t address, uint8_t quantity, uint8_t sendStop)
 
uint8_t requestFrom (uint8_t address, uint8_t quantity)
 
uint8_t requestFrom (int address, int quantity, int sendStop)
 
uint8_t requestFrom (int address, int quantity)
 
void beginTransmission (uint8_t address)
 
void beginTransmission (uint16_t address)
 
void beginTransmission (int address)
 
uint8_t endTransmission (bool sendStop)
 
uint8_t endTransmission (void)
 
void setClock (uint32_t clock)
 
void setWireTimeout (uint32_t timeout=25000, bool reset_with_timeout=false)
 
bool getWireTimeoutFlag (void)
 
void clearWireTimeoutFlag (void)
 
void onReceive (TWIReceiveHandler handler)
 
void onRequest (TWIRequestHandler handler)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 

The documentation for this class was generated from the following file: