
EM358x
Rev. 0.4
233
ADC_CFG
ADC Configuration Register
Address: 0x4000E004 Reset: 0x00001800
31
30
29
28
27
26
25
24
0
0
0
0
0
0
0
0
23
22
21
20
19
18
17
16
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
ADC_PERIOD
ADC_CFGRSVD2
ADC_MUXP
7
6
5
4
3
2
1
0
ADC_MUXP
ADC_MUXN
ADC_1MHZCLK ADC_CFGRSVD ADC_ENABLE
Bitname
Bitfield
Access Description
ADC_PERIOD
[15:13]
RW
ADC sample time in clocks and the equivalent significant bits in the
conversion.
0: 32 clocks (7 bits).
1: 64 clocks (8 bits).
2: 128 clocks (9 bits).
3: 256 clocks (10 bits).
4: 512 clocks (11 bits).
5: 1024 clocks (12 bits).
6: 2048 clocks (13 bits).
7: 4096 clocks (14 bits).
ADC_CFGRSVD2
[12:11]
RW
Reserved: these bits must be set to 0.
ADC_MUXP
[10:7]
RW
Input selection for the P channel.
0x0: PB5 pin.
0x1: PB6 pin.
0x2: PB7 pin.
0x3: PC1 pin.
0x4: PA4 pin.
0x5: PA5 pin.
0x8: GND (0V) (not for high voltage range).
0x9: VREF/2 (0.6V).
0xA: VREF (1.2V).
0xB: VDD_PADSA/2 (0.9V) (not for high voltage range).
0x6, 0x7, 0xC-0xF: reserved.
ADC_MUXN
[6:3]
RW
Input selection for the N channel.
Refer to ADC_MUXP above for choices.
ADC_1MHZCLK
[2]
RW
Select ADC clock: 0 = 6 MHz, 1 = 1 MHz.
ADC_CFGRSVD
[1]
RW
Reserved: this bit must always be set to 0.
ADC_ENABLE
[0]
RW
Enable the ADC: write 1 to enable continuous conversions, write 0 to
stop.
When the ADC is started the first conversion takes twice the usual
number of clocks plus 21 microseconds. If anything in this register is
modified while the ADC is running, the next conversion takes twice the
usual number of clocks.
Содержание EMBER EM358 series
Страница 2: ...EM358x 2 Rev 0 4 ...
Страница 7: ...EM358x Rev 0 4 7 ...