Renesas M16C Series User Manual page 150

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

Advertisement

M30245 Group
USB endpoint enable register
Endpoints 1 to 4 are used to enable endpoint IN/OUT FIFOs for use. The endpoint 0 is always enabled
and cannot be disabled by software. All Endpoints 1 to 4 are disabled after reset.
The configuration of USB endpoint enable register is shown in Figure 2.8.11.
USB Endpoint Enable register
(b15)
b7
0
0
0
0
www.DataSheet4U.com
Figure 2.8.11. USB endpoint enable register
USB endpoint x(x=0 to 4) IN FIFO data register
Endpoints 0 to 4 respectively have their IN FIFOs. At the time of transmission to the host PC, write the
transmit data in these registers. Access these registers in word cycle or byte cycle to the lower byte.
The configuration of USB x(x=0~4) IN FIFO data register is shown in Figure 2.8.12.
USB Endpoint x IN FIFO Data register
(b15)
b7
Figure 2.8.12. USB x(x=0~4) IN FIFO data register
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(b8)
b0
b7
0
0
0
0
(b8)
b0
b7
page 141 of 354
b0
Symbol
USBEPEN
Bit Symbol
Bit Name
EP1_OUT
EP1 OUT enable
EP1_IN
EP1 IN enable
EP2_OUT
EP2 OUT enable
EP2_IN
EP2 IN enable
EP3_OUT
EP3 OUT enable
EP3_IN
EP3 IN enable
EP4_OUT
EP4 OUT enable
EP4_IN
EP4 IN enable
Reserved
b0
Symbol
EPxI (x = 0 - 4)
Bit Symbol
Bit Name
EP0 IN FIFO Data
DATA_15-0
Note 1: Data is undefined if this register is read.
Note 2: Write only to this register with a Word command or a Byte command to the lower 8 bits.
Do not write a byte of data to the upper 8 bits. (b8 - b15)
Address
When reset
028E
0000
16
Function
0 : Disabled
1 : Enabled
Must always be "0"
Address
When reset
02E0
, 02E4
, 02E8
,
16
16
16
N/A
02EC
, 02F0
16
16
Function
Write transmit data to this register
2. USB function
16
R W
O O
O O
R W
X O

Advertisement

Table of Contents
loading

Table of Contents