Atmel Evaluation Kit AT91SAM9G25-EK AT91SAM9G25-EK Data Sheet

Product codes
AT91SAM9G25-EK
Page of 1165
748
SAM9G25 [DATASHEET]
11032D–ATARM–10-Mar-2014
37.8.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 register 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 37-15.SMBUS Quick Command
37.8.9 Read-write Flowcharts
The following flowcharts shown in 
 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
A
S
DADR
R/W
P