m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 195

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.42. USB endpoint x(x=1 to 4) OUT write count register
Figure 2.8.41. USB endpoint x(x=1 to 4) OUT MAXP register
USB Endpoint x OUT MAXP register
(b15)
0 0 0 0 0 0
USB Endpoint x OUT Write Count register
(b15)
b7
0 0 0 0 0
b7
This register indicates endpoint x(x=1~4) OUT maximum packet size. The default value is 0 byte.
When the endpoint is initialized due to any reason such as that the request for setting the endpoint
(SET_DESCRIPTOR, SET_CONFIGURATION, SET_INTERFACE, etc.) is received from the host
CPU, change the endpoint x OUT maximum packet size value by writing in this register. Set a packet
size value specified for every transfer type to be used.
The configuration of USB endpoint x(x=1 to 4) OUT MAXP register is shown in Figure 2.8.41.
This 11-bit register contains the number of bytes of one buffer data written in the endpoint x(x=1~4)
OUT FIFO. This register is for read-only. When the USB function control unit completes the data
packet receive from the host CPU, set the value of this register. When one buffer data receive com-
pletes, read this register and determine the byte count of the data to be read from OUT FIFO. This
register value is not decremented even if the data are read from USB endpoint x OUT FIFO register .
When this register is read while there are two buffer data in OUT FIFO in the double buffer mode, the
number of bytes of the packet data received at first is already stored. When CLR_OUT_BUF_RDY bit
is set to “1” after one buffer data is read from OUT FIFO, this register value is updated to the number
of bytes of buffer data subsequently received.
The configuration of USB endpoint x(x=1 to 4) OUT write count register is shown in Figure 2.8.42.
USB endpoint x(x=1 to 4) OUT MAXP register
USB endpoint x(x=1 to 4) OUT write count register
page 186 of 354
(b8)
(b8)
b0
b0
b7
b7
b0
b0
Reserved
OMAXP9-0
Reserved
Bit Symbol
WCNT10-0
Bit Symbol
Symbol
EPxOMP (x = 1 - 4)
Symbol
EPxWC (x = 1 - 4)
Maximum packet size
Receive byte count
Bit Name
Bit Name
02B8
02C8
02BA
02CA
Address
Address
16
16
16
16
, 02C0
, 02D0
, 02C2
, 02D2
Set maximum packet size of
EPx OUT
The byte count of receive one buffer
data in the EPx OUT FIFO is set.
Must always be “0”
Must always be “0”
16
16
16
16
,
,
Function
Function
When reset
When reset
0000
0000
2. USB function
16
16
R W
O O
O O
R W
O O
O X

Related parts for m5m51016btp