beautypg.com

Host n interrupt enable register [r/w – Cypress EZ-OTG CY7C67200 User Manual

Page 25

background image

CY7C67200

Document #: 38-08014 Rev. *G

Page 25 of 78

Host n Interrupt Enable Register [R/W]

• Host 1 Interrupt Enable Register 0xC08C

• Host 2 Interrupt Enable Register 0xC0AC

Figure 25. Host n Interrupt Enable Register

Register Description

The Host n Interrupt Enable register allows control over
host-related interrupts.

In this register a bit set to ‘1’ enables the corresponding
interrupt while ‘0’ disables the interrupt.

VBUS Interrupt Enable (Bit 15)

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

1: Enable VBUS interrupt

0: Disable VBUS interrupt

ID Interrupt Enable (Bit 14)

The ID Interrupt Enable bit enables or disables the OTG ID
interrupt. When enabled this interrupt triggers on both the
rising and falling edge of the OTG ID pin (only supported in
Port 1A). This bit is only available for Host 1 and is a reserved
bit in Host 2.

1: Enable ID interrupt

0: Disable ID interrupt

SOF/EOP Interrupt Enable (Bit 9)

The SOF/EOP Interrupt Enable bit enables or disables the
SOF/EOP timer interrupt.

1: Enable SOF/EOP timer interrupt

0: Disable SOF/EOP timer interrupt

Port A Wake Interrupt Enable (Bit 6)

The Port A Wake Interrupt Enable bit enables or disables the
remote wakeup interrupt for Port A.

1: Enable remote wakeup interrupt for Port A

0: Disable remote wakeup interrupt for Port A

Port A Connect Change Interrupt Enable (Bit 4)

The Port A Connect Change Interrupt Enable bit enables or
disables the Connect Change interrupt on Port A. This
interrupt triggers when either a device is inserted (SE0 state
to J state) or a device is removed (J state to SE0 state).

1: Enable Connect Change interrupt

0: Disable Connect Change interrupt

Done Interrupt Enable (Bit 0)

The Done Interrupt Enable bit enables or disables the USB
Transfer Done interrupt. The USB Transfer Done triggers
when either the host responds with an ACK, or a device
responds with any of the following: ACK, NAK, STALL, or
Timeout. This interrupt is used for both Port A and Port B.

1: Enable USB Transfer Done interrupt

0: Disable USB Transfer Done interrupt

Reserved

All reserved bits must be written as ‘0’.

Bit #

15

14

13

12

11

10

9

8

Field

VBUS

Interrupt Enable

ID Interrupt

Enable

Reserved

SOF/EOP

Interrupt Enable

Reserved

Read/Write

R/W

R/W

-

-

-

-

R/W

-

Default

0

0

0

0

0

0

0

0

Bit #

7

6

5

4

3

2

1

0

Field

Reserved

Port A

Wake Interrupt Enable

Reserved

Port A Connect

Change

Interrupt Enable

Reserved

Done

Interrupt Enable

Read/Write

-

R/W

-

R/W

-

-

-

R/W

Default

0

0

0

0

0

0

0

0

[+] Feedback