
ML62Q1000 Series User's Manual
Chapter 23 Successive Approximation Type A/D Converter
FEUL62Q1000
23-10
SA-ADC Upper/Lower Limit Status Register 0 (SADULS0)
23.2.4
SAULS0 is a special function register (SFR) used to indicate whether the A/D conversion result matches to the condition
of upper/lower limit.
Address:
0xF824(SADULS0L/SADULS0), 0xF825(SADULS0H)
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
SADULS0
Byte
SADULS0H
SADULS0L
Bit
SAULS
15
SAULS
14
SAULS
13
SAULS
12
SAULS
11
SAULS
10
SAULS
09
SAULS
08
SAULS
07
SAULS
06
SAULS
05
SAULS
04
SAULS
03
SAULS
02
SAULS
01
SAULS
00
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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 0
SAULS15 to
SAULS00
These bits are used to indicate whether the A/D conversion results of channels 0 to 15 matches to
the condition of upper/lower limit. The results are not updated when the SALEN bit is "0". The
corresponding bits get "1" if the condition matched and holds "1" until the bits are cleared or the
LSI gets the system reset.
When using the A/D conversion result upper/lower limit detection function (SALEN=1), the
interrupt request is generated at the same time the corresponding bit gets "1". Refer to Figure
23-5 for the timing of the interrupt and updates of detection result.
Each bit is forcibly cleared to "0" by writing 1 to each bit. The writing "0" does not clear the bit.
SAULS00: Detection result for the upper/lower limit on channel 0 (AIN0)
SAULS01: Detection result for the upper/lower limit on channel 1 (AIN1)
SAULS02: Detection result for the upper/lower limit on channel 2 (AIN2)
SAULS03: Detection result for the upper/lower limit on channel 3 (AIN3)
SAULS04: Detection result for the upper/lower limit on channel 4 (AIN4)
SAULS05: Detection result for the upper/lower limit on channel 5 (AIN5)
SAULS06: Detection result for the upper/lower limit on channel 6 (AIN6)
SAULS07: Detection result for the upper/lower limit on channel 7 (AIN7)
SAULS08: Detection result for the upper/lower limit on channel 8 (AIN8)
SAULS09: Detection result for the upper/lower limit on channel 9 (AIN9)
SAULS10: Detection result for the upper/lower limit on channel 10 (AIN10)
SAULS11: Detection result for the upper/lower limit on channel 11 (AIN11)
SAULS12: Detection result for the upper/lower limit on channel 12 (AIN12)
SAULS13: Detection result for the upper/lower limit on channel 13 (AIN13)
SAULS14: Detection result for the upper/lower limit on channel 14 (AIN14)
SAULS15: Detection result for the upper/lower limit on channel 15 (AIN15)
0: The A/D conversion result unmatched to the condition of upper/lower limit (SALMD1 to 0)
(initial value)
1: The A/D conversion result matched to the condition of upper/lower limit (SALMD1 to 0)
[Note]
Ÿ
Do not use bit access instructions and use word or byte access instructions for writing this register.
Ÿ
When using the A/D conversion result upper/lower limit detection function (SALEN bit =1), the interrupt
can be cleared by clearing the corresponding bit of SAULS15 to SAULS00 or by resetting the LSI.
Ÿ
When performing the A/D conversion only one time (SALPEN bit =0), confirm the bit of SAULS15 to
SAULS00 is
"
0
"
before setting SARUN bit to
"
1
"
.
Ÿ
When performing the consecutive scan A/D conversion (SALPEN bit =1), confirm the bit of SAULS15 to
SAULS00 is
"
0
"
, before the next A/D conversion ends.
Содержание 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...