Dma Trigger Factor Registers 0 To 3 (Dtfr0 To Dtfr3) - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

6.3.8 DMA trigger factor registers 0 to 3 (DTFR0 to DTFR3)

These 8-bit registers are used to control the DMA transfer start trigger through interrupt requests from on-chip
peripheral I/O.
The interrupt requests set with these registers serve as DMA transfer start factors.
These registers can be read/written in 8-bit units. However, only bit 7 (DFn) can be read/written in 1-bit units (n = 0
to 3).
Be sure to set bit 6 to 0. If it is set to 1, the operation is not guaranteed.
Cautions 1. Be sure to stop DMA operation before making changes to DTFRn register settings.
2. An interrupt request input in a standby mode (IDLE or software STOP mode) cannot be used
as a DMA transfer start factor except for INTP0 to INTP6 and INTP20 to INTP25 (when the
noise elimination by analog filter is selected).
<7>
6
DF0
0
DTFR0
<7>
6
DF1
0
DTFR1
<7>
6
DTFR2
DF2
0
<7>
6
DTFR3
DF3
0
Bit Position
Bit Name
7
DFn
5 to 0
IFCn5 to
IFCn0
Remark n = 0 to 3
150
CHAPTER 6 DMA FUNCTIONS (DMA CONTROLLER)
5
4
3
IFC05
IFC04
IFC03
5
4
3
IFC15
IFC14
IFC13
5
4
3
IFC25
IFC24
IFC23
5
4
3
IFC35
IFC34
IFC33
This is a DMA transfer request flag.
Only 0 can be written to this flag.
0: No DMA transfer request
1: DMA transfer request
If an interrupt that causes DMA transfer occurs while DMA transfer is disabled (including if
it has been suspended by an NMI or forcibly terminated by software), and if this DMA
transfer request must be cleared, stop the operation causing the interrupt (e.g., disable
reception if serial reception is in progress), and then clear the DFn bit. If it is clear in the
application that the interrupt will not occur again until DMA transfer is resumed next, it is
not necessary to stop the operation causing the interrupt.
Sets the interrupt source that serves as the DMA transfer start factor.
IFCn5
IFCn4
IFCn3
IFCn2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
User's Manual U14492EJ3V0UD
2
1
0
IFC02
IFC01
IFC00
2
1
0
IFC12
IFC11
IFC10
2
1
0
IFC22
IFC21
IFC20
2
1
0
IFC32
IFC31
IFC30
Function
IFCn1
IFCn0
0
0
0
DMA request from on-chip
peripheral I/O disabled
0
0
1
INTP0
0
1
0
INTP1
0
1
1
INTP2
1
0
0
INTP3
1
0
1
INTP4
1
1
0
INTP5
1
1
1
INTP6
(1/2)
Address
Initial value
FFFFF810H
00H
FFFFF812H
00H
FFFFF814H
00H
FFFFF816H
00H
Interrupt Source

Advertisement

Table of Contents
loading

Table of Contents