AT83C51SND1C_03 ATMEL [ATMEL Corporation], AT83C51SND1C_03 Datasheet - Page 66

no-image

AT83C51SND1C_03

Manufacturer Part Number
AT83C51SND1C_03
Description
Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Interrupt
Description
Management
66
AT8xC51SND1C
ERRSYN
ERRCRC
As shown in Figure 46, the MP3 decoder implements five interrupt sources reported in
ERRCRC, ERRSYN, ERRLAY, MPREQ, and MPANC flags in MP3STA register.
All these sources are maskable separately using MSKCRC, MSKSYN, MSKLAY,
MSKREQ, and MSKANC mask bits respectively in MP3CON register.
The MP3 interrupt is enabled by setting EMP3 bit in IEN0 register. This assumes inter-
rupts are globally enabled by setting EA bit in IEN0 register.
All interrupt flags but MPREQ and MPANC are cleared when reading MP3STA register.
The MPREQ flag is cleared by hardware when no more data is requested (see
Figure 43) and MPANC flag is cleared by hardware when the ancillary buffer becomes
empty.
Figure 46. MP3 Decoder Interrupt System
Reading the MP3STA register automatically clears the interrupt flags (acknowledgment)
except the MPREQ and MPANC flags. This implies that register content must be saved
and tested, interrupt flag by interrupt flag to be sure not to forget any interrupts.
ERRLAY
MP3STA.7
MP3STA.6
MP3STA.5
MP3STA.4
MP3STA.3
MPREQ
MPANC
MSKREQ
MSKSYN
MP3CON.3
MP3CON.1
MSKANC
MSKCRC
MP3CON.4
MSKLAY
MP3CON.2
MP3CON.0
EMP3
IEN0.5
MP3 Decoder
Interrupt Request
4109E–8051–06/03

Related parts for AT83C51SND1C_03