NUTINY-SDK-M0516 Nuvoton Technology Corporation of America, NUTINY-SDK-M0516 Datasheet - Page 328

no-image

NUTINY-SDK-M0516

Manufacturer Part Number
NUTINY-SDK-M0516
Description
BOARD EVAL NUMICRO M051 SERIES
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Type
MCUr
Datasheets

Specifications of NUTINY-SDK-M0516

Contents
Board, Cable
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
M051™ Series, M052/M054/M058/M0516
A/D Compare Register 0/1 (ADCMPR0/1)
Register
ADCMPR0
ADCMPR1
Bits
[31:28]
[27:16]
[15:12]
[11:8]
[5:3]
31
23
15
7
Reserved
NuMicro M051
Descriptions
Reserved
CMPD
Reserved
CMPMATCNT
CMPCH
Offset
ADC_BA+0x28
ADC_BA+0x2C R/W
30
22
14
6
Reserved
Reserved
29
21
13
5
R/W
R/W
-
Comparison Data
The 12 bits data is used to compare with conversion result of specified channel.
Software can use it to monitor the external analog input pin voltage transition in
scan mode without imposing a load on software.
-
Compare Match Count
When the specified A/D channel analog conversion result matches the compare
condition defined by CMPCOND[2], the internal match counter will increase 1.
When the internal counter reaches the value to (CMPMATCNT +1), the CMPF
bit will be set.
Compare Channel Selection
000 = Channel 0 conversion result is selected to be compared.
001 = Channel 1 conversion result is selected to be compared.
010 = Channel 2 conversion result is selected to be compared.
011 = Channel 3 conversion result is selected to be compared.
100 = Channel 4 conversion result is selected to be compared.
101 = Channel 5 conversion result is selected to be compared.
Description
A/D Compare Register 0
A/D Compare Register 1
Series Technical Reference Manual
CMPCH
28
20
12
4
CMPD[7:0]
- 328 -
27
19
11
3
Publication Release Date: Sep 14, 2010
CMPCOND
26
18
10
2
CMPMATCNT
CMPD[11:8]
CMPIE
25
17
9
1
Revision V1.2
Reset Value
0x0000_0000
0x0000_0000
CMPEN
24
16
8
0

Related parts for NUTINY-SDK-M0516