16.4.7 ADCMPCR1(Monitoring Setting Register 1)
After fixing the conversion result, the interrupt signal (INTADCP) is generated.
31
30
29
28
27
26
25
24
bit symbol
-
-
-
-
-
-
-
-
After reset
0
0
0
0
0
0
0
0
23
22
21
20
19
18
17
16
bit symbol
-
-
-
-
-
-
-
-
After reset
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
bit symbol
-
-
-
-
CMPCNT1
After reset
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
bit symbol
CMP1EN
-
-
ADBIG1
REGS1
After reset
0
0
0
0
0
0
0
0
Bit
Bit Symbol
Type
Function
31-12
-
R
Read as "0".
11-8
CMPCNT1[3:0]
R/W
Comparison count for determining the result
0: After every comparison
1: After two comparisons
・
・
15: After 16 comparisons
The ADCMPCR0 and ADCMPCR1 registers are used to enable or disable comparison between an AD
conversion result and the specified comparison value, to select the register to be compared with an AD
conversion result and to set how many times comparison should be performed to determine the result.
7
CMP1EN
R/W
Monitoring function
0:Disable
1:Enable
By setting <CMP1EN>="0"(disable), accumulated number of decision counts is cleared.
6-5
-
R
Read as "0".
4
ADBIG1
R/W
Comparison condition
0:Larger than or equal to compare register
1:Smaller than or equal to compare register
Compares whether a result of analog input is larger or smaller than the compare register.
Every time AD conversion, which is set in the <REGS1[3:0]>, is complete, large/small decision is per-
formed.
If the result is matched the setting in <ADBIG1>, the counter increments.
3-0
REGS1[3:0]
R/W
AD conversion result register to be compared
0000: ADREG0
0100: ADREG4
1000: ADREG8
0001: ADREG1
0101: ADREG5
1001: ADREG9
0010: ADREG2
0110: ADREG6
1010: ADREG10
0011: ADREG3
0111: ADREG7
1011: ADREG11
TMPM3V6/M3V4
Page 365
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......