m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 196

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.8.43. USB endpoint x(x=1 to 4) OUT FIFO configuration register
USB Endpoint x OUT FIFO register
(b15)
0 0 0 0
b7
This register sets endpoint x(x=1~4) OUT FIFO.
•BUF_NUM
•BUF_SIZ
•DBL_BUF
•CONTINUE
Pay attention to the following when setting the BUF_NUM/BUF_SIZ:
- Not exceed 3072 bytes in OUT FIFO starting location + OUT FIFO size.
- Not overlap Endpoint FIFOs each other.
USB endpoint x(x=1 to 4) OUT FIFO configuration register
This bit sets the starting location of the endpoint x(x= 1~4) OUT FIFO per 64 bytes. For example,
when OUT FIFO is allocated, starting at the 320th byte, the set value is “000101
This bit sets one buffer size of the endpoint x(x= 1~4) OUT FIFO per 64 bytes. For example, when
256 bytes is set, the set value is “0100
With this bit being set to “1”, OUT FIFO of the corresponding endpoint is changed into double buffer
mode. The byte count for a valid OUT FIFO becomes twice as much as the value specified by the
BUF_SIZ at the time of double buffer. Set carefully not to overlap with the FIFO start position of other
endpoints.
This bit enables continuous transfer mode.
Set this bit to “1” when continuous transfer is enabled. The bit is valid only in bulk transfer.
The USB function control unit writes the receive data from the host PC in OUT FIFO sequentially by
one packet size (the maximum packet size set in the EPxOMP) and receives continuously until one
buffer full or a short packet is received.
When continuous receive mode is enabled, the BUF_SIZ has to be equal to an integral multiple of
the EPxOMP. Further, the user's system has to be comprehended beforehand that the receive data
from the host PC are equal to the buffer size or includes a short packet.
(b8)
b0
page 187 of 354
b7
b0
Note: Valid for bulk transfer type only
BUF_NUM
BUF_SIZ
DBL_BUF
CONTINUE
Reserved
Bit Symbol
2
”.
Symbol
EPxOFC (x = 1 - 4)
Bit Name
FIFO buffer
start number
FIFO buffer size
Double buffer mode
Continuous transfer
mode
02BC
02CC
Address
16
16
Select the starting number for the EPx OUT FIFO
(in units of 64 bytes)
000000 : buffer stating location = 0
000001 : buffer stating location = 64
000010 : buffer stating location = 128
......
101111 : buffer stating location = 3008 (last starting number)
Select the buffer size for the EPx OUT FIFO
(in units of 64 bytes)
0000 : buffer stating location = 64
0001 : buffer stating location = 128
0010 : buffer stating location = 192
......
1111 : buffer stating location = 1024 (largest buffer size)
0 : Disabled
1 : Enabled
0 : Disabled (Note)
1 : Enabled
Must always be “0”
, 02C4
, 02D4
16
16
,
Function
When reset
0000
16
2
”.
2. USB function
R W
O O
O O
O O
O O
O O

Related parts for m5m51016btp