Renesas M30245 Series User Manual page 152

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 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
0
0
0
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
b0
0
(b8)
b0
b7
b0
page 141 of 354
Symbol
Address
USBEPEN
028E
Bit Symbol
Bit Name
EP1 OUT enable
EP1_OUT
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
Symbol
02E0
EPxI (x = 0 - 4)
02EC
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)
2. USB function
When reset
0000
16
16
Function
0 : Disabled
1 : Enabled
Must always be "0"
Address
When reset
, 02E4
, 02E8
,
N/A
16
16
16
, 02F0
16
16
Function
Write transmit data to this register
R W
O O
O O
R W
X O

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents