English
Language : 

AT83SND2CMP3B_14 Datasheet, PDF (148/242 Pages) ATMEL Corporation – MPEG I/II-Layer 3 Hardwired Decoder
Figure 18-19. Data Block Reception Flows
Data Block
Reception
Start Transmission
DATEN = 1
DATEN = 0
FIFO Full?
F1EI or F2EI = 1?
Data Block
Initialization
Unmask FIFOs Full
F1FM = 0
F2FM = 0
Start Transmission
DATEN = 1
DATEN = 0
Data Block
Reception ISR
FIFO Full?
F1EI or F2EI = 1?
FIFO Reading
read 8 data from MMDAT
FIFO Reading
read 8 data from MMDAT
No More Data
To Receive?
No More Data
To Receive?
Mask FIFOs Full
F1FM = 1
F2FM = 1
a. Polling mode
b. Interrupt mode
18.6.5
Flow Control
To allow transfer at high speed without taking care of CPU oscillator frequency, the FLOWC bit
in MMCON2 allows control of the data flow in both transmission and reception.
During transmission, setting the FLOWC bit has the following effects:
• MMCLK is stopped when both FIFOs become empty: F1EI and F2EI set.
• MMCLK is restarted when one of the FIFOs becomes full: F1EI or F2EI cleared.
During reception, setting the FLOWC bit has the following effects:
• MMCLK is stopped when both FIFOs become full: F1FI and F2FI set.
• MMCLK is restarted when one of the FIFOs becomes empty: F1FI or F2FI cleared.
As soon as the clock is stopped, the MMC bus is frozen and remains in its state until the clock is
restored by writing or reading data in MMDAT.
18.7 Interrupt
18.7.1
Description
As shown in Figure 18-20, the MMC controller implements eight interrupt sources reported in
MCBI, EORI, EOCI, EOFI, F2FI, F1FI, and F2EI flags in MMCINT register. These flags are
detailed in the previous sections.
All these sources are maskable separately using MCBM, EORM, EOCM, EOFM, F2FM, F1FM,
and F2EM mask bits respectively in MMMSK register.
148 AT8xC51SND2C/MP3B
4341H–MP3–10/07