
550
CHAPTER 20 8/10-BIT A/D CONVERTER
Table 20.4-1 A/D Dontrol Status Register 1 (ADCS1)
Bit name
Function
bit15
BUSY:
Busy bit
•
This bit indicates the operating status of the A/D converter.
•
If the value read from this bit is "0", A/D conversion has halted. If the read value is "1",
A/D conversion is in progress.
•
Writing "0" to this bit forces the A/D conversion to stop. Writing "1" to this bit does not
change the bit value and has no effect on other bits.
(Note)
Never select forced stop (BUSY = 0) and software activation (STRT = 1) simultaneously.
bit14
INT:
Interrupt
request flag
bit
•
When A/D conversion data is set in the A/D data register, this bit is set to "1".
•
When both this bit and the interrupt request enable bit (ADCS: INTE) are "1", an
interrupt request is generated. If EI²OS has been enabled, it is activated.
•
Writing "0" to this bit clears the bit. Writing "1" to this bit does not change the bit value
and has no effect on other bits.
•
When EI²OS is activated, this bit is cleared.
(Note)
When clearing this bit by writing "0" it, do so only while the A/D converter is not
operating.
bit13
INTE:
Interrupt
request
enable bit
•
This bit enables or disables interrupt output to the CPU.
•
When both this bit and the interrupt request flag bit (ADCS: INT) are set to "1", an
interrupt request is generated.
•
When EI²OS is used, set this bit to "1".
bit12
PAUS:
Halt flag bit
•
When A/D conversion stops temporarily, this bit is set to "1".
•
This A/D converter has just one A/D data register. In continuous conversion mode, if a
conversion result were written before the previous conversion result was read by the CPU,
the previous result would be lost. When continuous conversion mode is selected, the
program must be written so that the conversion result is automatically transferred to
memory by EI²OS each time a conversion is completed. This bit also protects against
multiple interrupts preventing the completion of conversion data transfer before the next
conversion. When a conversion is completed, this bit is set to "1". This status is
maintained until EI²OS finishes transferring the contents of the data register. Meanwhile,
the A/D conversion is halted so that no conversion data can be stored. When EI²OS
completes the transfer, the A/D converter automatically resumes the conversion.
(Note)
This bit is valid only when EI²OS is used.
bit11,
bit10
STS1, STS0:
A/D
activation
select bit
•
These bits select how A/D conversion is to be activated.
•
When two or more activation causes are shared, activation is the result of the cause that
occurs first.
(Note)
Change the setting during A/D conversion only while there is no corresponding activation
cause, since the change becomes effective immediately.
bit9
STRT:
A/D
conversion
activation bit
•
This bit allows software to start A/D conversion.
•
Writing "1" to this bit activates A/D conversion.
•
In stop conversion mode, conversion cannot be reactivated with this bit.
•
In byte/word instruction, "1" is read.
•
In read-modify-write instruction, "0" is read.
(Note)
Never select forced stop (BUSY = 0) and software activation (STRT = 1)
simultaneously.
bit8
RESV:
Reserved bit
(Note)
Always write "0" to this bit.
Summary of Contents for MB90460 Series
Page 1: ...The following document contains information on Cypress products ...
Page 3: ......
Page 5: ......
Page 9: ...iv ...
Page 41: ...22 CHAPTER 1 OVERVIEW ...
Page 45: ...26 CHAPTER 2 NOTES ON HANDLING DEVICES ...
Page 83: ...64 CHAPTER 3 CPU ...
Page 95: ...76 CHAPTER 4 RESET ...
Page 107: ...88 CHAPTER 5 CLOCK ...
Page 131: ...112 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 175: ...156 CHAPTER 7 INTERRUPT ...
Page 181: ...162 CHAPTER 8 MODE SETTING ...
Page 223: ...204 CHAPTER 9 I O PORT ...
Page 237: ...218 CHAPTER 10 TIME BASE TIMER ...
Page 247: ...228 CHAPTER 11 WATCHDOG TIMER ...
Page 275: ...256 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 373: ...354 CHAPTER 14 MULTI FUNCTIONAL TIMER ...
Page 485: ...466 CHAPTER 16 PWC Timer ...
Page 531: ...512 CHAPTER 17 UART ...
Page 559: ...540 CHAPTER 19 DELAYED INTERRUPT GENERATOR MODULE ...
Page 589: ...570 CHAPTER 20 8 10 BIT A D CONVERTER ...
Page 601: ...582 CHAPTER 21 ROM CORRECTION FUNCTION ...
Page 633: ...614 CHAPTER 23 512K 1024K BIT FLASH MEMORY ...
Page 645: ...626 CHAPTER 24 EXAMPLE OF F2 MC 16LX MB90F462 F462A F463A CONNECTION FOR SERIAL WRITING ...
Page 715: ...696 APPENDIX ...
Page 716: ...697 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 739: ......