
CY7C68310
Document 38-08030 Rev. *H
Page 12 of 34
5.2.3
Vendor-specific EVENT_NOTIFY Command
The vendor-specific EVENT_NOTIFY command enables the
CY7C68310 to communicate the occurrence of certain USB
and system events to the attached device if the device’s
firmware supports the EVENT_NOTIFY command. The
command code is specified by configuration address 0x02.
Setting this byte to 0x00 disables the EVENT_NOTIFY
feature.
The nSTATE0 and nSTATE1 values are read from the device
and stored for use as the STATE0 and STATE1 values during
the next execution of the event notification command. The
nSTATE0 and nSTATE1 values provide temporary non-volatile
storage for devices whose power is controlled by nPWR500
(typically bus-powered systems). This allows the device to
store information prior to entering a USB Suspend state for
retrieval after resuming from the USB Suspend state. Note that
a USB Reset from the host may interrupt the collection of data.
The device must accommodate the potential for this occur-
rence. The BSY and DRQ bits must be cleared by the device
upon the completion of an event notification command.
The STATE0 and STATE1 values are written with the value of
nSTATE0 and nSTATE1 obtained from the previously
completed event notification command. Assertion of nRESET
resets STATE0 and STATE1 to 0x00.
6.0
Configuration
Certain timing parameters and operational modes for the
CY7C68310 are configurable. Some USB configuration and
descriptor values are also configurable. CY7C68310 configu-
ration data should not be confused with the USB Configuration
Descriptor data.
6.1
CY7C68310 Configuration and USB Descrip-
tor Sources
CY7C68310 configuration and USB descriptor data can be
retrieved from three sources. Table 6-1 indicates the method
of determining which data source is used.
Table 5-3. Notification Register Read Values
Register
7
6
5
4
3
2
1
0
Error
N/A
Sector Count
N/A
LBA Low (Sector Number)
N/A
LBA Mid (Cylinder Low)
nSTATE0
LBA High (Cylinder High)
nSTATE1
Device/Head
N/A
Status
BUSY
N/A
N/A
N/A
DRQ
N/A
N/A
N/A
Table 5-4. Notification Register Write Values
Register
7
6
5
4
3
2
1
0
Features
USB
Reset
Class
Specific
Reset
USB
Suspend
USB
Resume
Reserved
Reserved
Eject Button
Pressed
Eject
Button
Released
Sector Count
Reserved Reserved Reserved Reserved
Self-
Powered
Bus-
Powered
USB
High-Speed
USB
Full-Speed
LBA Low (Sector Number)
N/A
LBA Mid (Cylinder Low)
STATE0
LBA High (Cylinder High)
STATE1
Device/Head
N/A
Command
Specified in Configuration byte 0x02