User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 720
www.energymicro.com
29.5.16 DACn_OPA0MUX - Operational Amplifier Mux Configuration
Register
Offset Bit Position
0x05C
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0x0
0
0x1
0x00
0
0
0x0
0x0
0x0
Access
RW
RW
RW
RW
RW
RW
RW
RW
RW
Name
RESSEL
NEXTOUT
OUTMODE
OUTPEN
NPEN
PPEN
RESINMUX
NEGSEL
POSSEL
Bit Name Reset Access Description
31 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
30:28 RESSEL 0x0 RW OPA0 Resistor Ladder Select
Configures the resistor ladder tap for OPA0.
Value Mode Resistor Value Inverting Mode Gain (-R2/R1) Non-inverting Mode Gain (1+(R2/
R1)
0 RES0 R2 = 1/3 x R1 -1/3 1 1/3
1 RES1 R2 = R1 -1 2
2 RES2 R2 = 1 2/3 x R1 -1 2/3 2 2/3
3 RES3 R2 = 2 x R1 -2 1/5 3 1/5
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 OPA0 Next Enable
Makes output of OPA0 available to OPA1.
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 0x1 RW Output Select
Select output channel.
Value Mode Description
0 DISABLE OPA0 output is disabled
1 MAIN Main OPA0 output to pin enabled
2 ALT OPA0 alternative output enabled.
3 ALL Main OPA0 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 OPA0 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 OPA0 Negative Pad Input Enable
Connects pad to the negative input mux
12 PPEN 0 RW OPA0 Positive Pad Input Enable
Connects pad to the positive input mux