pc87591l-n05 National Semiconductor Corporation, pc87591l-n05 Datasheet - Page 174

no-image

pc87591l-n05

Manufacturer Part Number
pc87591l-n05
Description
Lpc Mobile Embedded Controller
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
4.0 Embedded Controller Modules
Voltage Channel 1 Control Register (VCHN1CTL)
This register both controls the operation and indicates the status of Voltage Channel 1. VCHN1CTL is set to 1F
Location: 00 FF34
Type:
Voltage Channel 1 Data Buffer (VCHN1DAT)
This register (buffer) holds the data measured by Voltage Channel 1.
Location: 00 FF36
Type:
Bit
Name
Reset
Bit
Name
4-0
Bit
5
6
7
R/W1C DATVAL (Data Valid). Voltage Channel 1 Data Buffer contains new data. The data may be read
Type
R/W
R/W
R/W
Varies per bit
RO
15
DATVAL
SELIN (Selected Input). Selects a voltage input to be measured during the next ADC cycle. The new
value should be set before the beginning of the channel measurement. When read, this field indicates
to which input the contents of the channel data buffer belongs. When written, it selects a new input for
the next channel measurement. See Figure 59 on page 167 for details on the channel input signals
connection to pins.
The channel is disabled by setting this field to 11111
enabling a higher measurement rate for the remaining channels (shorter ADC cycle). In addition, the
DATVAL bit is cleared.
Bits
4 3 2 1 0 Description
0 0 0 0 0: Channel 0
0 0 0 0 1: Channel 1
....
0 1 0 0 0: Channel 8
0 1 0 0 1: Channel 9
0 1 0 1 0: Channel 10
....
0 1 1 0 1: Channel 13
1 1 1 1 1: Channel Disabled (default)
Other:
INTDVEN (Interrupt from Data Valid Enable). Enables generation of an ADC interrupt on a Voltage
Channel 1, Data Valid event (End-of-conversion).
0: Disabled (default)
1: Enabled - ADC Interrupt from local DATVAL
CSCALE (Channel Scale). Controls the input scale of the input for the channel to be converted (as
selected by SELIN field).
0: Channel uses the high range scale (default)
1: Channel uses the low range scale
immediately or at the end-of-cycle. This flag is cleared when the channel is disabled, when the ADC
module is disabled (ADCEN in ADCCNF register is cleared) or by a write of 1 to it.
0: No new valid data in VCHN1DAT register (default)
1: End of conversion - new data is available in the buffer
16
16
7
0
14
Reserved
CSCALE
13
6
0
Reserved
12
INTDVEN
11
5
0
(Continued)
10
9
174
4
1
Description
8
7
2
. When disabled, the channel is “skipped”,
3
1
VCHDAT
6
5
SELIN
2
1
4
3
1
1
2
Reserved
16
1
on reset.
0
1
Revision 1.2
0

Related parts for pc87591l-n05