
ML62Q1000 Series User's Manual
Chapter 23 Successive Approximation Type A/D Converter
FEUL62Q1000
23-17
SA-ADC Upper/Lower Limit Mode Register (SADLMOD)
23.2.11
SADLMOD is a special function register (SFR) used to set modes in the A/D conversion result upper/lower limit
detection function.
Address:
0xF834(SADLMODL/SADLMOD), 0xF835(SADLMODH)
Access:
R/W
Access size: 8/16bit
Initial value:
0x0000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
SADLMOD
Byte
SADLMODH
SADLMODL
Bit
-
-
-
-
-
-
SALMD
1
SALMD
0
-
-
-
-
-
-
-
SALEN
R/W
R
R
R
R
R
R
R/W
R/W
R
R
R
R
R
R
R
R/W
Initial
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit No.
Bit symbol
name
Description
15 to
10
-
Reserved bit
9, 8
SALMD1
,
SALMD0
These bits are used to set a condition of the A/D conversion result upper/lower limit detection.
If the condition is satisfied, corresponding bits of the SA-ADC upper/lower status registers 0
and 1(SADULS0 and SADULS1) get to "1" and generates the SA-ADC interrupt request.
00:
SADLOL value
≦
A/D conversion value
≦
SADUPL value (initial value)
01: A/D conversion value > SADUPL value
10: A/D conversion value < SADLOL value
11: A/D conversion value > SADUPL or A/D conversion value < SADLOL value
7 to 1
-
Reserved bit
0
SALEN
This bit is used to enable or disable the A/D conversion result upper/lower limit detection
function. SA-ADC Upper/Lower Limit Status Register 0, 1 (SADULS0, 1) are not updated
when the SALEN bit is "0".
0: Disable the upper/lower limit function for the A/D conversion (initial value)
1: Enable the upper/lower limit function for the A/D conversion
[Note]
Ÿ
The upper/lower limit detection function is available to make the interrupt request for the A/D conversion
result on all chosen channels.
Ÿ
If the interrupt occurred by satisfying the upper/lower limit detection condition, check the SA-ADC
upper/lower status registers 0 and 1(SADULS0 and SADULS1) to see which channel of A/D conversion
result matched to the condition.
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...