278
CHAPTER 11 A/D CONVERTER (Successive approximation type)
11.5 Conversion Data Protection Function
The A/D converter of the MB91F109 has a conversion data protection function that
features continuous conversion using DMAC and securing multiple data items.
■
Conversion Data Protection Function
The A/D converter has only one conversion data register. That means that in continuous
conversion mode, new conversion data overwrites the previously stored data in the register
each time one cycle of A/D conversion is finished. The A/D converter has a function to prevent
this problem. If the previously stored data has not been transferred to memory using the DMAC
when conversion is finished, the A/D converter refrains from storing new conversion data in the
register and stops instead.
The A/D converter is released from the stop state after previous data is transferred to memory in
DMA transfer mode.
If previous data has already been transferred when current conversion is finished, the A/D
converter continues conversion without stopping.
<Notes>
The conversion data protection function is affected by the ADCS INT and INTE bits.
The function works only when interrupts are enabled (INTE = 1).
The function does not work when interrupts are disabled (INTE = 0), and conversion data
overwrites the register successively and previous data is lost if A/D conversion is performed
continuously.
If DMA transfer is not used when interrupts are enabled (INTE = 1), the INT bit is not cleared
and therefore the data protection function works and puts the A/D converter in the stopped
state. In this case, clearing the INT bit in the interrupt sequence releases the A/D converter
from the stopped state.
If interrupts are disabled while the A/D converter pauses in DMA operation mode, the A/D
converter works and may update the data register before previous data is transferred.
Restarting the A/D converter in stopped state may lead to loosing the held data.
Figure 11.5-1 shows the Workflow of the data protection function when DMA transfer is used.
Содержание MB91F109
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Страница 4: ......
Страница 10: ...vi ...
Страница 24: ...xx ...
Страница 95: ...71 2 10 Operation Mode MODR writing RSTX reset MD2 1 0 BW1 and BW0 of AMD0 to AMD5 Bus width specification ...
Страница 96: ...72 CHAPTER 2 CPU ...
Страница 224: ...200 CHAPTER 4 BUS INTERFACE ...
Страница 234: ...210 CHAPTER 5 I O PORTS ...
Страница 268: ...244 CHAPTER 9 U TIMER ...
Страница 290: ...266 CHAPTER 10 UART ...
Страница 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Страница 392: ...368 CHAPTER 16 FLASH MEMORY ...
Страница 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Страница 448: ...424 APPENDIX E Instructions ...
Страница 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 458: ...434 INDEX ...
Страница 460: ......
Страница 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...