CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
HID Functions for Button Controls
Cypress’s CY7C68320C/CY7C68321C has the capability of supporting Human Interface Device (HID) signaling to the host.
If there is a HID descriptor in the configuration data, the GPIO pins that are set as inputs are polled by the AT2LP logic approximately every 17 ms (depending on other internal interrupt routines). If a change is detected in the state of any
The ability to add buttons to a mass storage solution opens new applications for data backup and other
Table 5. HID Data Bitmap
CY4615C files, provides an easy way to enable and modify the HID features of the AT2LP.
GPIO pins can be individually set as inputs or outputs, with byte 0x09 of the configuration data, allowing for a mix of HID and general purpose outputs. GPIOs that are not configured as inputs are reported with a value of ‘0’ in the HID data. The RESERVED bits’ values must be ignored, and Cypress recom- mends using a bitmask in software to filter out unused HID data.
Note that if using the
|
| USB Interrupt Data Byte 1 |
|
|
|
| USB Interrupt Data Byte 0 |
|
| ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | RESERVED | USB | VBUS Powered | RESERVED | RESERVED | GPIO[5] | GPIO[4] | GPIO[3] | GPIO[2] | GPIO[1] | GPIO[0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Functional Overview
Chip functionally is described in the subsequent sections.
USB Signaling Speed
AT2LP operates at the following two rates defined in the USB Specification Revision 2.0 dated April 27, 2000:
•
•
AT2LP does not operate at the
ATA Interface
The ATA/ATAPI port on the AT2LP is compatible with the Infor- mation
Additionally, the AT2LP translates ATAPI
ATA Command Block (ATACB)
The ATA Command Block (ATACB) functionality provides a means of passing ATA commands and ATA register accesses to the attached device for execution. ATACB commands are transferred in the Command Block Wrapper Command Block (CBWCB) portion of the Command Block Wrapper (CBW). The ATACB is distinguished from other command blocks by having the first two bytes of the command block match the bVSCBSignature and bVSCBSubCommand values that are defined in Table 6. Only command blocks that have a valid bVSCBSignature and bVSCBSubCommand are interpreted as ATA Command Blocks. All other fields of the CBW and restrictions on the CBWCB remain as defined in the USB Mass Storage Class
Document | Page 15 of 42 |
[+] Feedback