MB90420/5 (A) SERIES F
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
19-10
Table 19-4 Function of Each Bit of A/D Control Status Register Higher (ADCSH)
Bit Name
Function
bit 15
BUSY:
Conversion-in-
progress
indication bit
•
This bit indicates the A/D converter operation.
•
When this bit is 0 at read, it indicates that A/D conversion is stopped. When this bit is
1 at read, it indicates that A/D conversion is currently being performed.
•
Writing 0 to this bit forcibly stops A/D conversion. Writing 1 to this bit does not change
this bit and does not affect other bits.
Note:
Do not perform the following concurrently: forcibly stopping A/D conversion and
starting A/D conversion by software (BUSY = 0, STRT = 1).
bit 14
INT:
Interrupt request
flag bit
•
When the A/D conversion sets data in the A/D data register, this bit is set to 1.
•
When this bit and the interrupt request enable bit (ADCSH: INTE) are 1, an interrupt
request is issued. At this time, when EI
2
OS is already enabled, EI
2
OS is started.
•
Writing 0 to this bit clears this bit. Writing 1 to this bit does not change this bit and
does not affect other bits.
•
When EI
2
OS is started, this bit is cleared.
Note:
Write 0 to this bit while A/D conversion is stopped.
bit 13
INTE:
Interrupt request
enable bit
•
This bit enables/disables output of interrupts to the CPU.
•
When this bit and the interrupt request flag bit (ADCSH: INT) are 1, an interrupt
request is issued.
•
When using EI
2
OS, set this bit to 1.
bit 12
PAUS:
Pause flag bit
•
This bit is set to 1 when A/D conversion pauses.
•
This A/D converter has only one A/D data register, so when reading of the old
conversion result by the CPU is not completed when the continuous conversion mode
is used, the old converted data is lost due to the writing of the new conversion result.
Therefore, when using the continuous conversion mode, basically EI
2
OS and
automatic transfer of the conversion result to memory each time conversion ends is
required. However, it can be assumed that transfer of converted data is not completed
before the next conversion is started at multiple interrupts, etc. This bit deals with this
situation; it is set to 1 until the value of the data register is transferred using EI
2
OS
after conversion is completed; while this bit is 1, the next A/D conversion is stopped
and the next conversion data is not stored. Then, when transfer is completed, the A/D
converter automatically restarts conversion.
Note:
This bit is only enable when EI
2
OS is used.
bit 11
bit 10
STS1, STS0:
A/D start factor
select bits
•
These bits select the start factor for A/D conversion.
•
When there are two or more start factors for A/D conversion, the first start factor is
used.
Note:
The start factor is changed concurrently with rewriting. When rewriting during
A/D conversion, do so under when there is no targeted start factor.
bit 9
STRT:
A/D conversion
start bit
•
This bit starts A/D conversion by software.
•
When 1 is written to this bit, A/D conversion is started.
•
In the pause-convert mode, this bit does not cause a restart.
Note:
Do not concurrently stop A/D conversion forcibly and start A/D conversion by
software (BUSY = 0, STRT = 1).
bit 8
RESV:
Reserved bit
Note:
Always write 0 to this bit.
Содержание MB90420/5 (A) Series
Страница 2: ...ii ...
Страница 24: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 1 2 ...
Страница 42: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 2 2 ...
Страница 76: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 2 36 ...
Страница 78: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 3 2 ...
Страница 90: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 4 2 ...
Страница 102: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 4 14 ...
Страница 104: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 5 2 ...
Страница 126: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 5 24 ...
Страница 128: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 6 2 ...
Страница 165: ...7 1 Mode Setting 7 3 7 2 Mode Pins MD2 to MD0 7 4 7 3 Mode Data 7 5 7 MODE SETTING ...
Страница 166: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 7 2 ...
Страница 172: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 8 2 ...
Страница 224: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 9 2 ...
Страница 244: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 10 2 ...
Страница 270: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 11 2 ...
Страница 286: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 12 2 ...
Страница 326: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 13 2 ...
Страница 338: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 14 2 ...
Страница 353: ...LCD CONTROLLER DRIVER 14 17 ...
Страница 365: ...LCD CONTROLLER DRIVER 14 29 ...
Страница 367: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 15 2 ...
Страница 377: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 16 2 ...
Страница 397: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 17 2 ...
Страница 400: ...18 1 Overview of Timepiece Timer 18 3 18 2 Timepiece Timer Registers 18 4 18 TIMEPIECE TIMER ...
Страница 401: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 18 2 ...
Страница 409: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 19 2 ...
Страница 436: ...20 1 Overview of Sound Generator 20 3 20 2 Sound Generator Registers 20 4 20 SOUND GENERATOR ...
Страница 437: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 20 2 ...
Страница 445: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 20 10 ...
Страница 446: ...21 1 Overview of ROM Correction 21 3 21 2 Application Example of ROM Correction 21 6 21 ROM CORRECTION ...
Страница 447: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 21 2 ...
Страница 455: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 21 10 ...
Страница 457: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 22 2 ...
Страница 461: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 23 2 ...
Страница 503: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 23 44 ...
Страница 505: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 24 2 ...
Страница 513: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 24 10 ...
Страница 515: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 25 2 ...
Страница 541: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 26 2 ...