Atmel Evaluation Kit AT91SAM9G25-EK AT91SAM9G25-EK 데이터 시트

제품 코드
AT91SAM9G25-EK
다운로드
페이지 1102
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 
,
 and 
 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