User manual
RC200/203 Manual
www.celoxica.com Page 62
5.13.2 Setting the audio input
extern macro proc RC200AudioInSetInput (Input);
Parameters:
Input: Either RC200AudioInLineIn or
RC200AudioInMicrophone.
Timing: 1 or more clock cycles.
Description:
Sets the input of the audio ADC to be either the line in
connector or the microphone.
5.13.3 Boosting the input amplifier
RC200AudioInSetMicrophoneBoost (Boost);
Parameters: Boost: Data value of type unsigned 2.
Timing: 1 or more clock cycles.
Description:
Sets the boost level of the microphone input amplifier, in
+10dB steps, from 0 to +30dB.
5.13.4 Setting the gain level
extern macro proc RC200AudioInSetGain (Mute, LeftVol, RightVol);
Parameters: Mute: Data value of type unsigned 1.
LeftVol: Data value of type unsigned 4.
RightVol: Data value of type unsigned 4.
Timing: 1 or more clock cycles.
Description:
LeftVol and RightVol set the gain level (amount of increase)
of the ADC input amplifiers, from 0dB to +22.5dB in 1.5dB
steps. Mute is a Boolean where "1" = muted.
5.13.5 Setting the input sample rate
extern macro proc RC200AudioInSetSampleRate (SampleRateCode);