75 begin((uint8_t)address);
104 write((uint8_t)(iaddress >> (isize*8)));
122 return requestFrom((uint8_t)address, (uint8_t)quantity, (
uint32_t)0, (uint8_t)0, (uint8_t)sendStop);
127 return requestFrom((uint8_t)address, (uint8_t)quantity, (uint8_t)
true);
132 return requestFrom((uint8_t)address, (uint8_t)quantity, (uint8_t)
true);
137 return requestFrom((uint8_t)address, (uint8_t)quantity, (uint8_t)sendStop);
221 for(
size_t i = 0; i < quantity; ++i){
290 for(uint8_t i = 0; i < numBytes; ++i){
void twi_attachSlaveRxEvent(void(*)(uint8_t *, int))
void setWriteError(int err=1)
GLvoid *typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
static uint8_t transmitting
static void(* user_onRequest)(void)
virtual size_t write(uint8_t)
static void onRequestService(void)
uint8_t twi_writeTo(uint8_t, uint8_t *, uint8_t, uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t)
static uint8_t txBufferIndex
GLsizei const GLfloat * value
virtual int available(void)
uint8_t endTransmission(void)
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
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)
uint8_t twi_transmit(const uint8_t *, uint8_t)
void onRequest(void(*)(void))
void beginTransmission(uint8_t)
void twi_setFrequency(uint32_t)
void twi_attachSlaveTxEvent(void(*)(void))
void onReceive(void(*)(int))
void twi_setAddress(uint8_t)
static void(* user_onReceive)(int)
uint8_t twi_readFrom(uint8_t, uint8_t *, uint8_t, uint8_t)
static uint8_t txBufferLength