Operational Amplifier Version 1.0
Chapter 5 Amplifier Driver
5.2.2Amplifier Routine void AmpOpenLoop()
Return | : none. |
Parameters | : none. |
Description | : |
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 | : |
Example | : AmpCloseLoop(); |
void AmpCloseLoop()
{
DDR6_P60=0;
DDR6_P61=0;
DDR6_P62=1;
OPCR=0x40;//Amplifier gain is 20V/V
}