236
CHAPTER 8 INTERRUPT CONTROLLER
8.8
Example of Using the Hold Request Cancel Request
Function (HRCR)
When the CPU is to perform priority processing during DMA transfer, the DMA side
must cancel the hold request and release the CPU from the hold state. An example of
an interrupt occurring for DMA to cancel the hold request and allow CPU priority
operation is as follows.
■
Control Registers
❍
Hold request cancel request level register (HRCL): This module
When an interrupt having a level higher than that set in the HRCL register occurs, a hold
request cancel request is issued to DMA. Set the reference level for this operation.
❍
Interrupt control register (ICR): This module
Set a level higher than that set in the HRCL register in the ICR corresponding to the interrupt
cause used.
❍
Postpone DMA request register (PDRR): Clock controller
The PDRR is used to temporarily suppress a hold request from DMA and prevent the CPU from
returning to the hold state when the interrupt cause is cleared. A hold request from DMA is
transmitted to the CPU only when the value of this register is 0000
B
. Increment the value of this
register at the beginning of the interrupt routine and decrement it at the exit of the routine.
■
Hardware Configuration
A signal stream is shown below:
Figure 8.8-1 Example of Hardware Configuration for Using the Hold Request Cancel Request Function
IRQ
(ICR)
DMA
CPU
(HRCL)
HRCR
DHRQ (PDRR)
HRQ
This module
Clock controller
DHRQ: DMA hold request
HRQ: Hold request
IRQ: Interrupt request
HRCR: Hold request cancel request
Содержание 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 ...