beautypg.com

17 u_tepsr (usb tx endpoint status register), 18 u_rp0ir (usb rx pool0 information register) – NEC Network Controller uPD98502 User Manual

Page 326

background image

CHAPTER 6 USB CONTROLLER

326

Preliminary User’s Manual S15543EJ1V0UM

6.2.17

U_TEPSR (USB Tx EndPoint Status Register)

This register is used for indicate the status of the EndPoint being used for data transmitting.

Bits

Field

R/W

Default

Description

31:26

Reserved

R

0

Reserved for future use

25:24

EP5TS

R

0

EP5 Tx Status:

Register that indicates the transmit status of EndPoint5

This register is not cleared, even if read.

00: There is no data scheduled to be sent (Idle)

01: There is one data item scheduled to be sent

10: There are two data items that are scheduled to be sent (Busy)

23:18

Reserved

R

0

Reserved for future use

17:16

EP3TS

R

0

EP3 Tx Status:

Register that indicates the transmit status of EndPoint3

This register is not cleared, even if read.

00: There is no data scheduled to be sent (Idle)

01: There is one data item scheduled to be sent

10: There are two data items that are scheduled to be sent (Busy)

15:10

Reserved

R

0

Reserved for future use

9:8

EP1TS

R

0

EP1 Tx Status:

Register that indicates the transmit status of EndPoint1

This register is not cleared, even if read.

00: There is no data scheduled to be sent (Idle)

01: There is one data item scheduled to be sent

10: There are two data items that are scheduled to be sent (Busy)

7:2

Reserved

R

0

Reserved for future use

1:0

EP0TS

R

0

EP0 Tx Status:

Register that indicates the transmit status of EndPoint0

This register is not cleared, even if read.

00: There is no data scheduled to be sent (Idle)

01: There is one data item scheduled to be sent

10: There are two data items that are scheduled to be sent (Busy)

6.2.18 U_RP0IR (USB Rx Pool0 Information Register)

This register indicates the information of Receive Pool0.

The V

R

4120A writes to this register only when the device is being initialized.

Bits

Field

R/W

Default

Description

31

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

30:28

AL

R/W

000

Alert Level:

Sets the warning level for Pool0. When the number of Buffer Directories

remaining in this pool equals the value set in this field, USB Controller sets

the RPA0 bit in the USB General Status Register1 to a ‘1’.

Writing N in this field is equivalent to specifying N x 4 (remaining number of

Buffer Directories = 4, 8, 12, …, 28). When 000 is written into this field, this

function is disabled and no notification is posted to the V

R

4120A.

27:16

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

15:0

RNOD

R

0

Remaining Number of Buffer Directory:

Indicates the number of Buffer Directories remaining in Pool0. The V

R

4120A

can only read this field.

Buffer Directory addition is performed entirely using the USB Command

Register.