Datasheet
714
SAM9G25 [DATASHEET]
11032C–ATARM–25-Jan-13
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 Figure 37-17 on page 716, Figure 37-18 on page 717, Figure 37-19 on page 718,
Figure 37-20 on page 719 and Figure 37-21 on page 720 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