AT8xC51SND2C
Table 75. MP3STA Register
MP3STA (S:C8h Read Only) – MP3 Decoder Status Register
7
6
5
4
3
2
1
0
MPANC
MPREQ
ERRLAY
ERRSYN
ERRCRC
MPFS1
MPFS0
MPVER
Bit
Bit
Number
Mnemonic Description
Ancillary Data Available Flag
7
6
5
4
MPANC Set by hardware as soon as one ancillary data is available (buffer not empty).
Cleared by hardware when no more ancillary data is available (buffer empty).
MP3 Data Request Flag
MPREQ Set by hardware when MP3 decoder request data.
Cleared when reading MP3STA.
Invalid Layer Error Flag
ERRLAY Set by hardware when an invalid layer is encountered.
Cleared when reading MP3STA.
Frame Synchronization Error Flag
ERRSYN Set by hardware when no synchronization pattern is encountered in a frame.
Cleared when reading MP3STA.
CRC Error Flag
3
2 - 1
0
ERRCRC Set by hardware when a frame handling CRC is corrupted.
Cleared when reading MP3STA.
Frequency Sampling Bits
MPFS1:0
Refer to Table 73 for bits description.
MPEG Version Bit
MPVER Set by the MP3 decoder when the loaded frame is a MPEG I frame.
Cleared by the MP3 decoder when the loaded frame is a MPEG II frame.
Reset Value = 0000 0001b
Table 76. MP3DAT Register
MP3DAT (S:ACh) – MP3 Data Register
7
6
5
4
3
2
1
0
MPD7
MPD6
MPD5
MPD4
MPD3
MPD2
MPD1
MPD0
Bit
Bit
Number
Mnemonic Description
Input Stream Data Buffer
8-bit MP3 stream data input buffer.
7 - 0
MPD7:0
Reset Value = 0000 0000b
69
4341D–MP3–04/05