SAM3N0C Atmel Corporation, SAM3N0C Datasheet - Page 490

no-image

SAM3N0C

Manufacturer Part Number
SAM3N0C
Description
Manufacturer
Atmel Corporation
Datasheets
28.10.6
Figure 28-32. Read Write Flowchart in Slave Mode
490
490
SAM3N
SAM3N
Read Write Flowcharts
No
No
SADR + MSDIS + SVEN
Set the SLAVE mode:
Read Status Register
EOSACC = 1 ?
TXCOMP = 1 ?
SVACC = 1 ?
No
END
The flowchart shown in
in Slave mode. 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.
GACC = 1 ?
Figure 28-32 on page 490
No
programming sequence
Read TWI_RHR
SVREAD = 0 ?
RXRDY= 0 ?
Decoding of the
Change SADR
Prog seq
OK ?
No
gives an example of read and write operations
No
GENERAL CALL TREATMENT
No
Write in TWI_THR
TXRDY= 1 ?
11011A–ATARM–04-Oct-10
11011A–ATARM–04-Oct-10
No

Related parts for SAM3N0C