Atmel SAM4S Xplained Pro Starter Kit Atmel ATSAM4S-XSTK ATSAM4S-XSTK Hoja De Datos
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Los códigos de productos
ATSAM4S-XSTK
1009
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
41.7.14 ADC Extended Mode Register
Name:
ADC_EMR
Address:
0x40038040
Access:
Read-write
This register can only be written if the WPEN bit is cleared in
.
• CMPMODE: Comparison Mode
• CMPSEL: Comparison Selected Channel
If CMPALL = 0: CMPSEL indicates which channel has to be compared.
If CMPALL = 1: No effect.
• CMPALL: Compare All Channels
0 = Only channel indicated in CMPSEL field is compared.
1 = All channels are compared.
• TAG: TAG of the ADC_LDCR register
0 = set CHNB to zero in ADC_LDCR.
1 = append the channel number to the conversion result in ADC_LDCR register.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
TAG
23
22
21
20
19
18
17
16
–
–
–
–
–
–
–
–
15
14
13
12
11
10
9
8
–
–
–
–
–
–
CMPALL
–
7
6
5
4
3
2
1
0
CMPSEL
–
–
CMPMODE
Value
Name
Description
0
LOW
Generates an event when the converted data is lower than the low threshold of the window.
1
HIGH
Generates an event when the converted data is higher than the high threshold of the window.
2
IN
Generates an event when the converted data is in the comparison window.
3
OUT
Generates an event when the converted data is out of the comparison window.