19.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
30AD
Pin Control 2 Register (ADC_APCTL2)
8
R/W
00h
19.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
19.3
ADC Control Registers
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
540
Freescale Semiconductor, Inc.
Summary of Contents for MC9S08PT60
Page 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Page 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Page 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Page 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Page 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...