Description
Source
Call Graph
TWI_StartWrite
Starts a write operation on the TWI to access the selected slave, then returns immediately.


Syntax / parameters
void TWI_StartWrite (AT91S_TWI *pTwi, unsigned char address, unsigned int iaddress, unsigned char isize, unsigned char byte)
|
Name |
Type |
Default |
Description |
pTwi |
AT91S_TWI *
|
|
Pointer to an AT91S_TWI instance.
|
address |
unsigned char
|
|
Address of slave to acccess on the bus.
|
iaddress |
unsigned int
|
|
Optional slave internal address.
|
isize |
unsigned char
|
|
Number of internal address bytes.
|
byte |
unsigned char
|
|
First byte to send.
|
Description
Starts a write operation on the TWI to access the selected slave, then returns immediately.
A byte of data must be provided to start the write; other bytes are written next.
Source
The documentation for this Member was generated from the following files:
twi.c