| Getbytes can only be used in master read mode. |
slavelastbyte |
|
Function specification | void slavelastbyte( ) |
Parameters returned | none. |
Prerequisites | Adapter must be configured using setup. This function would normally |
| only be called following the end of a transmission in slave write mode – |
| when the adapter is being read as a slave, by another master, not when |
| writing to a slave using the adapter. |
Functional description | This function is used when the adapter is a slave being read by a master |
| elsewhere on the bus – the adapter is in slave write mode. The function |
| must be called immediately after the master indicates the last byte has |
| been read (by not acknowledging that byte) this function is required to |
| clear the I2C data lines so that the master can send a stop signal. |
Revision 1.7 | Page 20 of 27 |
09/12/1999 |
|