28 #define BUFFER_LENGTH 32 31 #define WIRE_HAS_END 1 66 virtual size_t write(uint8_t);
67 virtual size_t write(
const uint8_t *,
size_t);
69 virtual int read(
void);
70 virtual int peek(
void);
71 virtual void flush(
void);
75 inline size_t write(
unsigned long n) {
return write((uint8_t)n); }
77 inline size_t write(
unsigned int n) {
return write((uint8_t)n); }
GLvoid *typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
size_t write(unsigned long n)
static uint8_t transmitting
static void(* user_onRequest)(void)
virtual size_t write(uint8_t)=0
virtual size_t write(uint8_t)
static void onRequestService(void)
uint8_t requestFrom(uint8_t, uint8_t)
static uint8_t txBufferIndex
virtual int available(void)
uint8_t endTransmission(void)
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
static uint8_t rxBuffer[]
static uint8_t rxBufferLength
static uint8_t txBuffer[]
static uint8_t rxBufferIndex
static void onReceiveService(uint8_t *, int)
size_t write(unsigned int n)
void onRequest(void(*)(void))
void beginTransmission(uint8_t)
void onReceive(void(*)(int))
static void(* user_onReceive)(int)
static uint8_t txBufferLength