ADC_CTRL1 field descriptions (continued)
Field
Description
9
LLMTIE
Low Limit Interrupt Enable
This bit enables the Low Limit exceeded interrupt when the current result value is less than the low limit
register value. The raw result value is compared to LOLIM[LLMT] before the offset register value is
subtracted.
0
Interrupt disabled
1
Interrupt enabled
8
HLMTIE
High Limit Interrupt Enable
This bit enables the High Limit exceeded interrupt if the current result value is greater than the high limit
register value. The raw result value is compared to HILIM[HLMT] before the offset register value is
subtracted.
0
Interrupt disabled
1
Interrupt enabled
7–4
CHNCFG_L
CHCNF (Channel Configure Low) bits
The bits configure the analog inputs for either single ended or differential conversions. Differential
measurements return the max value ((2**12)-1) when the + input is V
REFH
and the - input is V
REFLO
,
return 0 when the + input is at V
REFLO
and the - input is at V
REFH
, and scale linearly between based on
the voltage difference between the two signals. Single ended measurements return the max value when
the input is at V
REFH
, return 0 when the input is at V
REFLO
, and scale linearly between based on the
amount by which the input exceeds V
REFLO
.
xxx1 Inputs = ANA0-ANA1 — Configured as differential pair (ANA0 is + and ANA1 is —)
xxx0 Inputs = ANA0-ANA1 — Both configured as single ended inputs
xx1x Inputs = ANA2-ANA3 — Configured as differential pair (ANA2 is + and ANA3 is —)
xx0x Inputs = ANA2-ANA3 — Both configured as single ended inputs
x1xx Inputs = ANB0-ANB1 — Configured as differential pair (ANB0 is + and ANB1 is —)
x0xx Inputs = ANB0-ANB1 — Both configured as single ended inputs
1xxx Inputs = ANB2-ANB3 — Configured as differential pair (ANB2 is + and ANB3 is —)
0xxx Inputs = ANB2-ANB3 — Both configured as single ended inputs
3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
SMODE
ADC Scan Mode Control
This field controls the ADC module's scan mode. All scan modes use 16 sample slots defined by the
CLIST1-4 registers. A scan is the process of stepping through a subset of these sample slots, converting
the input indicated by a slot, and storing the result. Unused slots may be disabled using the SDIS register.
Input pairs ANA0-1, ANA2-3, ANA4-5, ANA6-7, ANB0-1, ANB2-3, ANB4-5, and ANB6-7 may be
configured as differential pairs using the CHNCFG fields. When a slot refers to either member of a
differential pair, a differential measurement on that pair is made; otherwise, a single ended measurement
is taken on that input. The CTRL*[CHNCFG] fields' descriptions detail differential and single ended
measurement. The SMODE field determines whether the slots are used to perform one long sequential
scan or two shorter parallel scans, each performed by one of the two converters. SMODE controls how
these scans are initiated and terminated. It also controls whether the scans are performed once or
repetitively. For details, refer to
Sequential Versus Parallel Sampling
.
Table continues on the next page...
Memory Map and Registers
KV4x Reference Manual, Rev. 2, 02/2015
672
Preliminary
Freescale Semiconductor, Inc.
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...