SAM3S8C Atmel Corporation, SAM3S8C Datasheet - Page 628

no-image

SAM3S8C

Manufacturer Part Number
SAM3S8C
Description
Manufacturer
Atmel Corporation
Datasheets
29.10.6
Figure 29-32. Read Write Flowchart in Slave Mode
628
628
SAM3S8/SD8
SAM3S8/SD8
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 29-32 on page 628
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 ?
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
No

Related parts for SAM3S8C