5 custom command, Custom command -45 – Atmel AT83SND2C MP3 User Manual
Page 49

Protocol Frame Description
AT83SND2CMP3 User Guide
5-45
7525A–MP3–07/05
5.5
Custom Command
AUDIO_SET_GAIN Set Audio Gain:
Line out (default value: 02h, -3 dB).
Power Amplifier (default value: 07h, +2 dB).
Line in (default value: 08h, -9 dB).
Auxiliary in (default value: 07h, -6 dB).
Dac Master Gain (default value: 0Ch, -6 dB).
Refer to AT83SND2CMP3 datasheet (chapter DAC and PA Interface) for audio gain
description and register value.
Table 5-52 . AUDIO_SET_GAIN command
Frame Start
Channel
Protocol
Command
Data Length
Data
CheckSum
7Eh
If not used,
FFh
91h
02h
Byte 0: Gain Selector
Byte 1: Gain Value
Yes