ADC_SC3 field descriptions (continued)
Field
Description
01
10-bit conversion (N=10)
10
12-bit conversion (N=12)
11
Reserved
ADICLK
Input Clock Select
ADICLK bits select the input clock source to generate the internal clock ADCK.
00
Bus clock
01
Bus clock divided by 2
10
Alternate clock (ALTCLK)
11
Asynchronous clock (ADACK)
15.3.4 Status and Control Register 4 (ADC_SC4)
This register controls the FIFO scan mode, FIFO compare function and FIFO depth
selection of the ADC module.
Address: 10h base + 3h offset = 13h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
ADC_SC4 field descriptions
Field
Description
7
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
6
ASCANE
FIFO Scan Mode Enable
The FIFO always use the first dummied FIFO channels when it is enabled. When this bit is set and FIFO
function is enabled, ADC will repeat using the first FIFO channel as the conversion channel until the result
FIFO is fulfilled. In continuous mode (ADCO = 1), ADC will start next conversion with the same channel
when COCO is set.
0
FIFO scan mode disabled.
1
FIFO scan mode enabled.
5
ACFSEL
Compare function select OR/AND when the FIFO function is enabled (AFDEP > 0). When this field is
cleared, ADC will OR all of compare triggers and set COCO after at least one of compare trigger occurs.
When this field is set, ADC will AND all of compare triggers and set COCO after all of compare triggers
occur.
0
OR all of compare trigger.
1
AND all of compare trigger.
4–3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Table continues on the next page...
ADC Control Registers
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
302
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...