340
CHAPTER 15 DMAC
❍
PDRR register
The suppression function for a DMA transfer operation specified via the HRCL register is valid
only when an interrupt request with higher priority is active. Therefore, if the interrupt request is
cleared by the interrupt handler program, suppression of the DMA transfer operation via the
HRCL register is canceled and the CPU may lose bus control.
The PDRR register in the clock control unit is used to clear an interrupt request, receive another
request, and suppress the DMA transfer operation.
When it is set to a value other than 0, DMA transfer is suppressed. For releasing the
suppression of DMA transfer, set the PDRR to 0.
■
DMA Transfer Operation in Sleep Mode
When the CPU is in sleep state and a DMA transfer request is issued from an internal resource,
the DMAC performs a DMA transfer operation.
As the DMA transfer request signal from the internal resource serves as an interrupt request
signal, the CPU is released from sleep state. The sleep state is cleared even if the interrupt
level is set to interrupt inhibition level. When the DMA transfer operation ends, the CPU
resumes execution of the next instruction after that during which sleep state was entered.
When performing a transfer operation while the CPU is in sleep state, ensure through the
design of the program that the CPU checks the appropriate conditions and enters again sleep
state if required.
Control proceeds to the next processing step only when a specific address contains a specific
value.
If another cause was responsible, for example, if the CPU was released from sleep state
because of a DMA transfer operation after UART reception, sleep state is entered again.
■
Transfer to DMC Internal Register
Do not specify a DMAC internal register as a transfer destination address.
■
Continuous Transfer
In continuous transfer mode, write-back to the descriptor may occur even during a transfer,
depending on the internal bus buffer status of the device. In this case, the transfer operation
sleep_ mode:
ldi
#50h, r0
; Set SLEP bit.
ldi
#481h, r1
; STCR address
stb
r0, @r0
; Enter sleep mode.
;
; Determine the cause the CPU woke up.
; We assume here that an external interrupt has released the sleep
state.
ldi
# address, r0
ldi
# compared data, r1
ldub
@r1, r0
and
r0, r1
beq
sleep_mode
Содержание 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 ...