User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 722
www.energymicro.com
Bit Name Reset Access Description
Value Mode Resistor Value Inverting Mode Gain (-R2/R1) Non-inverting Mode Gain (1+(R2/
R1)
4 RES4 R2 = 3 x R1 -3 4
5 RES5 R2 = 4 1/3 x R1 -4 1/3 5 1/3
6 RES6 R2 = 7 x R1 -7 8
7 RES7 R2 = 15 x R1 -15 16
27 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
26 NEXTOUT 0 RW OPA1 Next Enable
Makes output of OPA1 available to OPA2.
25:24 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
23:22 OUTMODE 0x0 RW Output Select
Select output channel.
Value Mode Description
0 DISABLE OPA0 output is disabled
1 MAIN Main OPA1 output to pin enabled
2 ALT OPA1 alternative output enabled.
3 ALL Main OPA1 output drives both main and alternative outputs.
21:19 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
18:14 OUTPEN 0x00 RW OPA1 Output Enable Value
Set to enable output, clear to disable output
OUT ENABLE VALUE Description
OUT0 xxxx1 Alternate Output 0
OUT1 xxx1x Alternate Output 1
OUT2 xx1xx Alternate Output 2
OUT3 x1xxx Alternate Output 3
OUT4 1xxxx Alternate Output 4
13 NPEN 0 RW OPA1 Negative Pad Input Enable
Connects pad to the negative input mux
12 PPEN 0 RW OPA1 Positive Pad Input Enable
Connects pad to the positive input mux
11 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
10:8 RESINMUX 0x0 RW OPA1 Resistor Ladder Input Mux
These bits selects the source for the input mux to the resistor ladder
Value Mode Description
0 DISABLE Set for Unity Gain
1 OPA0INP Set for OPA0 input
2 NEGPAD NEG PAD connected
3 POSPAD POS PAD connected
4 VSS VSS connected
7:6 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
5:4 NEGSEL 0x0 RW OPA1 inverting Input Mux
These bits selects the source for the inverting input on OPA1
Value Mode Description
0 DISABLE Input disabled
1 UG Unity Gain feedback path
2 OPATAP OPA1 Resistor ladder as input
3 NEGPAD Input from NEG PAD
3 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)