English
Language : 

AT89C5132_06 Datasheet, PDF (93/181 Pages) ATMEL Corporation – USB Microcontroller with 64K Bytes Flash Memory
AT89C5132
16.6.3.5
Busy Status
As shown in Figure 16-4 the card uses a busy token during a block write operation. This busy
status is reported by the CBUSY flag in MMSTA register and by the MCBI flag in MMINT which
is set every time CBUSY toggles, i.e. when the card enters and exits its busy state. This flag
may generate an MMC interrupt request as detailed in Section "Interrupt", page 96.
Figure 16-16. Data Stream Transmission Flows
Data Stream
Transmission
Data Stream
Initialization
Data Stream
Transmission ISR
FIFOs Filling
Write 16 Data to MMDAT
Start Transmission
DATEN = 1
DATEN = 0
FIFO Empty?
F1EI or F2EI = 1?
FIFOs Filling
Write 16 Data to MMDAT
Unmask FIFOs Empty
F1EM = 0
F2EM = 0
Start Transmission
DATEN = 1
DATEN = 0
FIFO Empty?
F1EI or F2EI = 1?
FIFO Filling
Write 8 Data to MMDAT
No More Data
To Send?
FIFO Filling
Write 8 Data to MMDAT
No More Data
to Send?
Send
STOP Command
a. Polling Mode
Mask FIFOs Empty
F1EM = 1
F2EM = 1
Send
STOP Command
b. Interrupt Mode
93
4173D–USB–02/06