Fujitsu MB95F430 Stereo Amplifier User Manual


 
Operational Amplifier Version 1.0
Chapter 5 Amplifier Driver
5.2.2 Amplifier Routine
void AmpOpenLoop()
Return : none.
Parameters : none.
Description : open-loop setting.
Example : AmpOpenLoop();
void AmpOpenLoop()
{
DDR6_P60=0;
DDR6_P61=0;
DDR6_P62=1;
OPCR=0x60;//Amplifier gain is R3/R1
}
void AmpCloseLoop()
Return : none.
Parameters : none.
Description : close-loop setting.
Example : AmpCloseLoop();
void AmpCloseLoop()
{
DDR6_P60=0;
DDR6_P61=0;
DDR6_P62=1;
OPCR=0x40;//Amplifier gain is 20V/V
}
MCU-AN-500080-E-10 - Page 12