m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 207

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.46. USB endpoint x(x=1 to 4) IN control and status register
USB Endpoint x IN Control and Status register
(b15)
0 0 0 0 0
b7
-AUTO_SET bit
The configuration of USB endpoint x (x=1 to 4) IN control and status register is shown in Figure 2.8.46.
This bit controls setting of SET_IN_BUF_RDY bit.
With this bit being set to “1”, when one data packet whose is equal to the maximum packet size
(EPxIMP set value) has been written to IN FIFO in continuous transmit disable, or, when data equal
to the buffer size (byte count set in the BUF_SIZ of the EPxIFC) have been written to IN FIFO in
continuous transmit enable, the IN_BUF_STS1 and IN_BUF_STS0 flags are updated without
SET_IN_BUF_RDY bit being set to “1”.
However, when a short packet (data whose size is smaller than the EPxIMP value in continuous
transfer disable or the BUF_SIZ value in continuous transfer enable) has been written,
IN_BUF_STS1 and IN_BUF_STS0 flags are not automatically updated. In such cases, set
SET_IN_BUF_RDY bit to “1” by software.
With this bit being set to “0”, set SET_IN_BUF_RDY bit to “1” by software after the transmit data are
written to IN FIFO.
(b8)
b0
page 198 of 354
b7
b0
Note: Always read a “0”.
Bit Symbol
INxCSR0
INxCSR1
INxCSR2
INxCSR3
INxCSR4
INxCSR5
INxCSR6
INxCSR7
INxCSR8
INxCSR9
INxCSR10
Reserved
Symbol
EPxICS (x = 1 - 4)
IN_BUF_STS0 flag
IN_BUF_STS1 flag
UNDER-RUN flag
SET_IN_BUF_RDY
CLR_UNDER_RUN
TOGGLE_INT
FLUSH
INTPT
ISO
SEND_STALL
AUTO_SET
Bit Name
029E
02AA
Address
16
These two bits indicate the EPx IN buffer status
Bit1
0
0
1
1
0 : No underrun detected
1 : Underrun detected
0 : No action
1 : Data set loaded to the IN buffer (updates IN buffer status flags)
0 : No action
1 : Clears UNDER_RUN flag
0 : No action
1 : Initialize the next data PID as a DATA0 for transmission
0 : No action
1 : Flush out one data set
0 : Select non-rate feedback interrupt transfer
1 : Select rate feedback interrupt transfer
0 : Select non-isochronous endpoint
1 : Select isochronous endpoint
0 : No STALL by CPU
1 : STALL by CPU
0 : AUTO_SET disabled
1 : AUTO_SET enabled
16
Must always be set to “0”
, 02A4
, 02B0
Bit0
0 : No data set in the IN buffer
1 : Single buffer mode: N/A
0 : Single buffer mode: N/A
1 : Single buffer mode: one data set in the IN buffer
16
16
,
Double buffer mode: one data set in the IN buffer
Double buffer mode: N/A
Double buffer mode: two data sets in the IN buffer
Function
When reset
0003
16
2. USB function
O X
O O
R W
O X
O x
O O
O O
O O
O O
O O
O O
O O
O O
Note
Note
Note
Note

Related parts for m5m51016btp