Renesas M30245 Series User Manual page 329

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 Series:
Table of Contents

Advertisement

M30245 Group
Initialization USB function unit (See "2.8 USB function" for detail)
Setting USB-related registers
Enable USB endpoint 1 OUT
(b15)
b7
0 0 0 0 0 0 0 0
(b15)
b7
0
0
0
(b15)
b7
0 0 0 0 0 0
Initialization serial sound interface (See "2.6 Serial sound interface" for detail)
Disable DMA0
b7
0
Setting DMA0 cause select register
b7
0
0
1
Set USB DMA0 request register [address 0290
Figure 3.7.2. Setting routine (1) of DMA transfer from USB OUT FIFO to serial sound interface
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(b8)
b0
b7
(b8)
b0
b7
(b8)
b0
b7
0 1
0 0 1 0
0 0 0 0
b0
DMA0 control register
DM0CON [Address 002C
DMA enable bit
0 : Disabled
b0
DMA0 cause select register
1
1
0
DM0SL [Address 03B8
DMA request cause select bits
0 1 1 1 0 : SSI1 transmit
Nothing is assigned. Write "0" when writing to these bits.
Software DMA request bit
0 : Not occurred
Continued to the next page
page 318 of 354
b0
USB endpoint enable register
1
USBEPEN [Address 028E
EP1 OUT enable bit
1 : Enabled
b0
USB Endpoint 1 OUT control and status register
EP1OCS [Address 02B6
AUTO_CLR bit
0 : AUTO_CLR disabled
b0
USB Endpoint 1 OUT MAXP register
EP1OMP [Address 02B8
Set to 120
(288 bytes)
16
]
16
]
16
] to "0000
16
3. USB Applications
]
16
]
16
]
16
" (not selected)
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents