![NXP Semiconductors MC9S08PA4 Reference Manual Download Page 298](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838298.webp)
15.2.5 Analog Channel Inputs (ADx)
The ADC module supports up to 24 separate analog inputs. An input is selected for
conversion through the ADCH channel select bits.
ADC Control Registers
ADC memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
10
Status and Control Register 1 (ADC_SC1)
8
R/W
1Fh
11
Status and Control Register 2 (ADC_SC2)
8
R/W
08h
12
Status and Control Register 3 (ADC_SC3)
8
R/W
00h
13
Status and Control Register 4 (ADC_SC4)
8
R/W
00h
14
Conversion Result High Register (ADC_RH)
8
R
00h
15
Conversion Result Low Register (ADC_RL)
8
R
00h
16
Compare Value High Register (ADC_CVH)
8
R/W
00h
17
Compare Value Low Register (ADC_CVL)
8
R/W
00h
30AC
Pin Control 1 Register (ADC_APCTL1)
8
R/W
00h
15.3.1 Status and Control Register 1 (ADC_SC1)
This section describes the function of the ADC status and control register (ADC_SC1).
Writing ADC_SC1 aborts the current conversion and initiates a new conversion (if the
ADCH bits are equal to a value other than all 1s).
When FIFO is enabled, the analog input channel FIFO is written via ADCH. The analog
input channel queue must be written to ADCH continuously. The resulting FIFO follows
the order in which the analog input channel is written. The ADC will start conversion
when the input channel FIFO is fulfilled at the depth indicated by the
ADC_SC4[AFDEP]. Any write 0x1F to these bits will reset the FIFO and stop the
conversion if it is active.
Address: 10h base + 0h offset = 10h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
1
1
1
1
1
15.3
ADC Control Registers
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
298
NXP Semiconductors
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...