TWI_ByteReceived
Default mainpageat91libperipheralstwiTWI_ByteReceived
Description Source Call Graph
TWI_ByteReceived
Returns 1 if a byte has been received and can be read on the given TWI peripheral; otherwise, returns 0.
 
Syntax / parameters
unsigned char TWI_ByteReceived (AT91S_TWI *pTwi)

Name Type Default Description
pTwi AT91S_TWI *
  Pointer to an AT91S_TWI instance.
 
Return value unsigned char
   
Description
Returns 1 if a byte has been received and can be read on the given TWI peripheral; otherwise, returns 0.
This function resets the status register of the TWI.
 
Source
The documentation for this Member was generated from the following files:
  • twi.c