Datasheet

SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
832
36.7.3.8 SMBus Quick Command (Master Mode Only)
The TWI interface can perform a Quick Command:
1. Configure the master mode (DADR, CKDIV, etc.).
2. Write the MREAD bit in the TWI_MMR at the value of the one-bit command to be sent.
3. Start the transfer by setting the QUICK bit in the TWI_CR.
Figure 36-15. SMBus Quick Command
36.7.3.9 Read/Write Flowcharts
The following flowcharts shown in Figure 36-17 on page 834, Figure 36-18 on page 835, Figure 36-19 on page
836, Figure 36-20 on page 837 and Figure 36-21 on page 838 give examples for read and write operations. A
polling or interrupt method can be used to check the status bits. The interrupt method requires that the Interrupt
Enable Register (TWI_IER) be configured first.
TXCOMP
TXRDY
Write QUICK command in TWI_CR
TWD
AS DADR R/W P