54
CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
Code Examples
Table 5-2. Bridge Average Icc in Suspend State
5.1.3.8
Interrupt Usage and Timing
The polling method is used for the Bind button.
5.1.3.9
Code Performance Analysis
A keyboard report processing is used to analyze the code performance. A typical keyboard report
processing contains the following steps:
■
The bridge receives the keyboard report packet and process the packet. This step takes 108 µs.
■
MCU calls function handle_keyboard_report() to format USB packet and load this packet into the
endpoint buffer. This function consumes 118 µs.
Therefore, it takes 226 µs for the bridge to process a keyboard report.
5.1.3.10
USB Interface
USB Descriptors.
The USB Descriptors can be viewed/edited with the USB Setup Wizard.
■
Device/Config Descriptors
Parameter
Icc
Units
Bridge Average Suspend Power Consumption -
REMOTE WAKE UP ENABLED
1.44
mA
Bridge Average Suspend Power Consumption -
REMOTE WAKE UP DISABLED
0.3
mA