Cypress CY7C67200 manual Device n Address Register W, Device n Status Register R/W

Models: CY7C67200

1 78
Download 78 pages 5 Kb
Page 36
Image 36
Device n Address Register [W]

CY7C67200

Device n Address Register [W]

Device 1 Address Register 0xC08E

Device 2 Address Register 0xC0AE

Figure 36. Device n Address Register

Bit #

15

14

13

12

 

11

10

9

8

Field

 

 

 

 

Reserved...

 

 

 

Read/Write

-

-

-

-

 

-

-

-

-

Default

0

0

0

0

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

3

2

1

0

Field

...Reserved

 

 

 

Address

 

 

 

Read/Write

-

W

W

W

W

W

W

W

Default

0

0

0

0

0

0

0

0

 

 

 

 

 

 

 

 

 

Register Description

The Device n Address register holds the device address assigned by the host. This register initializes to the default address 0 at reset but must be updated by firmware when the host assigns a new address. Only USB data sent to the address contained in this register will be responded to, all others are ignored.

Address (Bits [6:0])

The Address field contains the USB address of the device assigned by the host.

Reserved

All reserved bits must be written as ‘0’.

Device n Status Register [R/W]

Device 1 Status Register 0xC090

Device 2 Status Register 0xC0B0

Figure 37. Device n Status Register

Bit #

15

14

13

12

 

11

10

9

8

Field

VBUS

ID Interrupt

 

 

Reserved

 

SOF/EOP

Reset

Interrupt Flag

Flag

 

 

 

 

 

Interrupt Flag

Interrupt Flag

Read/Write

R/W

R/W

-

-

 

-

-

R/W

R/W

Default

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

3

2

1

0

Field

EP7 Interrupt

EP6 Interrupt

EP5 Interrupt

EP4 Interrupt

EP3 Interrupt

EP2 Interrupt

EP1 Interrupt

EP0 Interrupt

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Default

X

X

X

X

X

X

X

X

 

 

 

 

 

 

 

 

 

Register Description

The Device n Status register provides status information for device operation. Pending interrupts can be cleared by writing a ‘1’ to the corresponding bit. This register can be accessed by the HPI interface.

VBUS Interrupt Flag (Bit 15)

The VBUS Interrupt Flag bit indicates the status of the OTG VBUS interrupt (only for Port 1A). When enabled this interrupt triggers on both the rising and falling edge of VBUS at 4.4V. This bit is only available for Device 1 and is a reserved bit in Device 2.

1:Interrupt triggered

0:Interrupt did not trigger

ID Interrupt Flag (Bit 14)

The ID Interrupt Flag bit indicates the status of the OTG ID interrupt (only for Port 1A). When enabled this interrupt triggers on both the rising and falling edge of the OTG ID pin. This bit is only available for Device 1 and is a reserved bit in Device 2.

1:Interrupt triggered

0:Interrupt did not trigger

SOF/EOP Interrupt Flag (Bit 9)

The SOF/EOP Interrupt Flag bit indicates if the SOF/EOP received interrupt has triggered.

1:Interrupt triggered

0:Interrupt did not trigger

Document #: 38-08014 Rev. *G

Page 36 of 78

[+] Feedback

Page 36
Image 36
Cypress CY7C67200 manual Device n Address Register W, Device n Status Register R/W