NEC UPD703116 User Manual page 639

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Examples of DMA initialization on 32-bit transfer, 16-bit transfer, and 8-bit transfer are shown below.
(a) Example of 32-bit transfer DMA initialization
-- DMA INITIAL
mov
st.h
mov
st.h
mov
st.h
mov
st.h
mov
st.h
mov
st.h
mov
st.h
mov
st.h
mov
st.b
st.b
mov
st.b
mov
st.b
CHAPTER 12 NBD FUNCTION (
-–
0x0000FA64 ,
r24 -- DMACH0 Source
r24 , DSAL0[r0]
0x00000FFF ,
r24 –- DMACH0 Source
r24 , DSAH0[r0]
0x0000F088 ,
r24 –- DMACH0 Destination Address –-
r24 , DDAL0[r0]
0x00000FFF ,
r24 –- DMACH0 Destination Address –-
r24 , DDAH0[r0]
0x0000400c ,
r24 -– DMACH0 Block MODE 16Bit MODE –-
r24 , DADC0[r0]
0x0000800c ,
r24 -– DMACH1 Block MODE 32Bit MODE –-
r24 , DADC1[r0]
0x00000003 ,
r24 -– DMACH0 Block MODE 16Bit∗4 --
r24 , DBC0[r0]
0x00000000 ,
r24 -– DMACH1 Block MODE 32Bit∗1 --
r24 , DBC1[r0]
0x00000009 ,
r24 -– DMACH0&1 DMA ready --
r24 , DCHC0[r0]
r24 , DCHC1[r0]
0x00000035 ,
r24 -– DMACH0 Trigger –-
r24 , DTFR0[r0]
0x00000036 ,
r24 -– DMACH1 Trigger –-
r24 , DTFR1[r0]
User's Manual U14492EJ5V0UD
µ
PD70F3116)
Address –-
Address –-
639

Advertisement

Table of Contents
loading

Table of Contents