NEC UPD703116 User Manual page 641

32-bit single-chip microcontrollers
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents