TWID_Write
Default mainpageat91libdriverstwiTWID_Write
Description Source Call Graph
TWID_Write
Asynchronously sends data to a slave on the TWI bus.
 
Syntax / parameters
unsigned char TWID_Write (Twid *pTwid, unsigned char address, unsigned int iaddress, unsigned char isize, unsigned char *pData, unsigned int num, Async *pAsync)

Name Type Default Description
pTwid Twid *
  Pointer to a Twid instance.
address unsigned char
  Slave address.
iaddress unsigned int
  Optional slave internal address.
isize unsigned char
  Number of internal address bytes.
pData unsigned char *
  Data buffer to send.
num unsigned int
  Number of bytes to send.
pAsync Async *
  Pointer to an Asynchronous transfer descriptor.
 
Return value unsigned char
   
Description
Asynchronously sends data to a slave on the TWI bus.
An optional callback function is invoked whenever the transfer is complete.
 
Source
The documentation for this Member was generated from the following files:
  • twid.c