beautypg.com

13 u_ep5cr (usb ep5 control register), 14 u_ep6cr (usb ep6 control register) – NEC Network Controller uPD98502 User Manual

Page 324

background image

CHAPTER 6 USB CONTROLLER

324

Preliminary User’s Manual S15543EJ1V0UM

6.2.13

U_EP5CR (USB EP5 Control Register)

This register is used for setting the operation of EndPoint5.

If the value in the MAXP field is rewritten during transmitting operation, the operation of USB Controller may

become unpredictable. Therefore, the MAXP can be written only when initial setting is being performed.

Bits

Field

R/W

Default

Description

31

EP5EN

R/W

0

EndPoint Enable:

When the V

R

4120A sets this bit to a ‘1’, EndPoint5 is enabled to transmit

data.

30:20

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

19

FM

R/W

0

Feedback Mode:

When the V

R

4120A sets this bit to a ‘1’, EndPoint5 performs in feedback

mode.

(For further information about Feedback mode, please refer to USB

Specification 1.1)

18

SS5

R/W

0

Transmit Stall:

When the V

R

4120A sets this bit to a ‘1’, a STALL handshake is performed at

EndPoint5.

17

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

16

NAK5

R/W

0

When the V

R

4120A sets this bit to a ‘1’, a NAK Handshake is performed at

EndPoint5.

15:7

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

6:0

MAXP5

R/W

0

MAX Packet size:

The Max Packet Size for EndPoint5. Prior to the start of a USB transaction,

the V

R

4120A must set an appropriate value into this register.

6.2.14

U_EP6CR (USB EP6 Control Register)

This register is used for setting the operation of EndPoint6.

If the value in the MAXP field is rewritten during receiving operation, the operation of USB Controller may become

unpredictable. Therefore, the MAXP can be written only when initial setting is being performed.

Bits

Field

R/W

Default

Description

31

EP6EN

R/W

0

EndPoint Enable:

When the V

R

4120A sets this bit to a ‘1’, EndPoint6 is enabled to receive data.

30:19

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

18

SS6

R/W

0

Transmit Stall:

When the V

R

4120A sets this bit to a ‘1’, a STALL handshake is performed at

EndPoint6.

17

NHSK6

R/W

0

No Handshake:

When the V

R

4120A sets this bit to a ‘1’, No Handshake is performed at

EndPoint6.

16

NAK6

R/W

0

When the V

R

4120A sets this bit to a ‘1’, a NAK Handshake is performed at

EndPoint6.

15:7

Reserved

R/W

0

Reserved for future use. Writes ‘0’s.

6:0

MAXP6

R/W

0

MAX Packet size:

The Max Packet Size for EndPoint6. Prior to the start of a USB transaction,

the V

R

4120A must set an appropriate value into this register.