
283
CHAPTER 13 8/10-BIT A/D CONVERTER
[Bit 15] BUSY (Bit indicating conversion is in progress)
•
This is the bit for indicating that the A/D converter is currently performing a conversion.
•
When a read access shows that this bit is 0, the converter is not executing an A/D
conversion. When the bit is 1, an A/D conversion is in progress.
•
Setting this bit to 0 in a write operation forcibly stops the A/D conversion. Setting this bit to 1
has no effect.
(Note)
Do not specify forcible stop and start via software (BUSY = 0 and STRT = 1) at the same
time.
[Bit 14] INT (Interrupt request flag bit)
•
When data is stored in the A/D data register via A/D conversion, this bit is set to 1.
•
When both this bit and the interrupt request permission bit (ADCS: INTE) are set to 1, an
interrupt request is generated.
•
This bit is cleared by setting it to 0 via a write operation. Setting this bit has no effect.
(Note)
Clear this bit by setting it to 0 in a write operation while the A/D converter is stopped.
[Bit 13] INTE (Interrupt request permission bit)
•
This bit enables/disables output of an interrupt to the CPU.
•
When both this bit and the interrupt request flag bit (ADCS: INT) are 1, an interrupt request is
generated.
[Bit 12] PAUS (Temporary stop flag bit)
•
This bit becomes 1 when the A/D conversion operation is temporarily stopped.
•
This A/D converter has only one A/D data register. Thus, when continuous-conversion mode
is used, and if the CPU has not read the result of a previous conversion, the result of the
previous conversion is lost when the data in the register is overwritten with the result of the
next conversion. Therefore, in continuous-conversion mode, it is normally required to ensure
that the result of a conversion is transferred to memory whenever a conversion ends.
However, there may be cases where a transfer of converted data is not completed by the
time the next conversion starts due to multiple interrupts. This bit is used for addressing this
problem. If this bit is set to 1, A/D conversion is stopped in the period from when a
conversion ends to when the content in the data register is fully transferred so that the data
register is not overwritten with the data from the next conversion.
[Bit 11, 10] STS1, STS0 (A/D start cause selection bits)
•
These bits select the cause for starting A/D conversion.
•
When multiple causes are specified as the start source, the start source that occurred first is
used for start.
(Note)
The change in the start procedure becomes effective as soon as a new cause has been
written. Therefore, if start causes are to be changed during A/D conversion, change the start
causes in a period in which no new start causes need to be applied.
[Bit 9] STRT (A/D conversion start bit)
•
This bit is used for starting A/D conversion from software.
•
Setting this bit to 1 in a writing operation starts A/D conversion.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......