OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 289

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
18.5 Pin description
18.6 Register description
UM10441
User manual
18.6.1 Comparator control register
Table 272. Comparator pin description
Table 273. Register overview: Comparator (base address 0x4005 4000)
This register enables the comparators, configures the interrupts, and controls the input
multiplexer to both comparators.
Table 274. Comparator control register (CMP, address 0x4005 4000) bit description
Pin
ACMP0_I[3:0]
ACMP1_I[3:0]
ACMP0_O
ACMP1_O
VREF_CMP
ROSC
Name
CMP
VLAD
Bit
0
1
2
3
4
Symbol
CMP0_EN
CMP1_EN
CMPIS
CMPIEV
CMPBE
All information provided in this document is subject to legal disclaimers.
Type
input
input
output Comparator 0 output
output Comparator 1 output
input
output Relaxation oscillator output, intended for 555 timer style applications
Access Address
R/W
R/W
Rev. 1.1 — 10 March 2011
Description
Comparator 0 input sources (ACMP0_I[0] and ACMP0_I[1] can be
programmed for Comparator 1 inputs)
Comparator 1 input sources (ACMP1_I[0] and ACMP1_I[1] can be
programmed for Comparator 0 inputs)
External reference voltage source for 32-stage Voltage Ladder
Value
0
1
0
1
0
1
0
1
0
1
offset
0x00
0x04
Description
Comparator 0 enable.
Comparator 0 disabled.
Comparator 0 enabled.
Comparator 1 enable.
Comparator 1 disabled.
Comparator 1 enabled.
Select interrupt source.
Edge triggered.
Level triggered.
Select edge triggered interrupt to be active on either
high or low transitions.
Interrupt active on falling edges.
Interrupt active on rising edges.
Select edge triggered interrupt to be active on both
edges.
Interrupt not active on both edges.
Interrupt active on both edges.
Description
Comparator control register
Voltage ladder register
Chapter 18: LPC122x Comparator
UM10441
© NXP B.V. 2011. All rights reserved.
Reset value
0
0
289 of 442
Reset
value
0
0
0
0
0

Related parts for OM13008,598