Amplifier Routine - Fujitsu MB95F430 Series Application Note

F²mc-8fx family 8-bit microcontroller operational amplifier
Hide thumbs Also See for MB95F430 Series:
Table of Contents

Advertisement

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
}
Operational Amplifier Version 1.0
Chapter 5 Amplifier Driver
MCU-AN-500080-E-10 - Page 12

Advertisement

Table of Contents
loading

Table of Contents