User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 713
www.energymicro.com
Bit Name Reset Access Description
Value Description
1 Channel 0 is triggered by PRS input
1 REFREN 0 RW Channel 0 Automatic Refresh Enable
Set to enable automatic refresh of channel 0. Refresh period is set by REFRSEL in DACn_CTRL.
Value Description
0 Channel 0 is not refreshed automatically
1 Channel 0 is refreshed automatically
0 EN 0 RW Channel 0 Enable
Enable/disable channel 0.
29.5.4 DACn_CH1CTRL - Channel 1 Control Register
Offset Bit Position
0x00C
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
0
0
Access
RW
RW
RW
RW
Name
PRSSEL
PRSEN
REFREN
EN
Bit Name Reset Access Description
31:8 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
7:4 PRSSEL 0x0 RW Channel 1 PRS Trigger Select
Select Channel 1 PRS input channel.
Value Mode Description
0 PRSCH0 PRS ch 0 triggers channel 1 conversion.
1 PRSCH1 PRS ch 1 triggers channel 1 conversion.
2 PRSCH2 PRS ch 2 triggers channel 1 conversion.
3 PRSCH3 PRS ch 3 triggers channel 1 conversion.
4 PRSCH4 PRS ch 4 triggers channel 1 conversion.
5 PRSCH5 PRS ch 5 triggers channel 1 conversion.
6 PRSCH6 PRS ch 6 triggers channel 1 conversion.
7 PRSCH7 PRS ch 7 triggers channel 1 conversion.
8 PRSCH8 PRS ch 8 triggers channel 1 conversion.
9 PRSCH9 PRS ch 9 triggers channel 1 conversion.
10 PRSCH10 PRS ch 10 triggers channel 1 conversion.
11 PRSCH11 PRS ch 11 triggers channel 1 conversion.
3 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
2 PRSEN 0 RW Channel 1 PRS Trigger Enable
Select Channel 1 conversion trigger.
Value Description
0 Channel 1 is triggered by CH1DATA or COMBDATA write
1 Channel 1 is triggered by PRS input
1 REFREN 0 RW Channel 1 Automatic Refresh Enable
Set to enable automatic refresh of channel 1. Refresh period is set by REFRSEL in DACn_CTRL.
Value Description
0 Channel 1 is not refreshed automatically
1 Channel 1 is refreshed automatically