Home
last modified time | relevance | path

Searched refs:twi_rxBufferIndex (Results 1 – 1 of 1) sorted by relevance

/external/arduino/libraries/Wire/utility/
Dtwi.c52 static volatile uint8_t twi_rxBufferIndex; variable
396 twi_rxBufferIndex = 0; in SIGNAL()
402 if(twi_rxBufferIndex < TWI_BUFFER_LENGTH){ in SIGNAL()
404 twi_rxBuffer[twi_rxBufferIndex++] = TWDR; in SIGNAL()
413 if(twi_rxBufferIndex < TWI_BUFFER_LENGTH){ in SIGNAL()
414 twi_rxBuffer[twi_rxBufferIndex] = '\0'; in SIGNAL()
419 twi_onSlaveReceive(twi_rxBuffer, twi_rxBufferIndex); in SIGNAL()
421 twi_rxBufferIndex = 0; in SIGNAL()