TWI_StartRead
Default mainpageat91libperipheralstwiTWI_StartRead
Description Source Call Graph
TWI_StartRead
Starts a read operation on the TWI bus with the specified slave, and returns immediately.
 
Syntax / parameters
void TWI_StartRead (AT91S_TWI *pTwi, unsigned char address, unsigned int iaddress, unsigned char isize)

Name Type Default Description
pTwi AT91S_TWI *
  Pointer to an AT91S_TWI instance.
address unsigned char
  Slave address on the bus.
iaddress unsigned int
  Optional internal address bytes.
isize unsigned char
  Number of internal address bytes.
Description
Starts a read operation on the TWI bus with the specified slave, and returns immediately.
Data must then be read using TWI_ReadByte() whenever a byte is available (poll using TWI_ByteReceived()).
 
Source
The documentation for this Member was generated from the following files:
  • twi.c