Renesas M16C Series User Manual page 71

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

Advertisement

M30240 Group
1.2.18.4.9 USB DMAx Request Registers
The USB DMAx Request Registers, shown in Figure 1.41 and Figure 1.42, are used to select which USB End-
point x FIFO read/write requests are selected as the DMAC channel 0 or channel 1 request source. The USB
DMA0 (DMA1) Request Register should have only one bit set at any given time. When multiple bits are set,
no request is selected.
USB DMA0 Request Register
b7
b6
b5
b4
b3
Figure 1.41:
USB DMA0 Request Register
USB DMA1 Request Register
b7
b6
b5
b4
b3
Figure 1.42:
USB DMA1 Request Register
1.2.18.4.10 USB Endpoint Enable Register
The USB Endpoint Enable Register, shown in Figure 1.43, is used to enable/disable an individual endpoint.
Endpoint 0 is always enabled and cannot be disabled by firmware. All endpoints are enabled after reset.
USB Endpoint Enable Register
b7
b6
b5
b4
b3
Figure 1.43:
USB Endpoint Enable Register
Rev.1.00 Sep 24, 2003 Page 53 of 360
b2
b1
b0
Symbol
USBSAR0
Bit symbol
Bit name
Endpoint 1 IN FIFO write request selection bit
DMA0R0
Endpoint 2 IN FIFO write request selection bit
DMA0R1
Endpoint 3 IN FIFO write request selection bit
DMA0R2
Endpoint 4 IN FIFO write request selection bit
DMA0R3
Endpoint 1 OUT FIFO read request selection bit
DMA0R4
Endpoint 2 OUT FIFO read request selection bit
DMA0R5
Endpoint 3 OUT FIFO read request selection bit
DMA0R6
Endpoint 4 OUT FIFO read request selection bit
DMA0R7
b2
b1
b0
Symbol
USBSAR1
Bit symbol
Bit name
Endpoint 1 IN FIFO write request selection bit
DMA1R0
Endpoint 2 IN FIFO write request selection bit
DMA1R1
Endpoint 3 IN FIFO write request selection bit
DMA1R2
Endpoint 4 IN FIFO write request selection bit
DMA1R3
Endpoint 1 OUT FIFO read request selection bit
DMA1R4
Endpoint 2 OUT FIFO read request selection bit
DMA1R5
Endpoint 3 OUT FIFO read request selection bit
DMA1R6
Endpoint 4 OUT FIFO read request selection bit
DMA1R7
b2
b1
b0
Symbol
USBEPEN
Bit symbol
Bit name
Endpoint 1OUT FIFO Enable bit
EP1_OUT
Endpoint 1 IN FIFO Enable bit
EP1_IN
EP2_OUT
Endpoint 2OUT FIFO Enable bit
EP2_IN
Endpoint 2 IN FIFO Enable bit
EP3_OUT
Endpoint 3 OUT FIFO Enable bit
EP3_IN
Endpoint 3 IN FIFO Enable bit
Endpoint 4 OUT FIFO Enable bit
EP4_OUT
Endpoint 4 IN FIFO Enable bit
EP4_IN
Address
When reset
0309
00
16
16
Function
0 : Not selected
1 : Selected
Address
When reset
030A
00
16
16
Function
0 : Not selected
1 : Selected
Address
When reset
030B
FF
16
Function
0 : Disabled
1 : Enabled
Universal Serial Bus
R
W
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
R
W
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
16
R
W
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0

Advertisement

Table of Contents
loading

Table of Contents