CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
77
Code Examples
5.3
Project3- LP_RDK_Keyboard
5.3.1
Project Description
This code example demonstrates various features and functions offered by the keyboard. The key-
board is a multimedia keyboard with 18 columns and 6 rows with a total of 101 key inputs.
There are two architectural views of the keyboard. The first is a microcontroller configuration view of
User Modules. This architecture and configuration is best viewed in the PSoC Designer application
when the project is loaded. The second view is a logical organization of the source code modules
that make up the keyboard application code and other support modules.
5.3.1.1
ROM/RAM Usage
The following table shows the ROM/RAM usage. The top part exhibits the total ROM/RAM usage for
basic functions, which disables all the build options below. The bottom part exhibits the ROM/RAM
usage for individual build options.
*The ENCRYPT_DATA option requires 64 bytes extra ROM space to store the non-volatile session
key.
Table 5-11. ROM/RAM Usage
Total ROM (Bytes)
Total RAM (Bytes)
Basic Functions
5550
119
Build Option
ROM Usage (Bytes)
RAM Usage (Bytes)
KEYBOARD_MULTIMEDIA_SUPPORT
755
1
KEYBOARD_TEST_MODES
338
1
KEYBOARD_BATTERY_VOLTAGE_SUPPORT
166
1
KEYBOARD_FAST_SCAN
124
0
ENCRYPT_DATA*
942
1
MOUSE_EMULATION_MODE
610
1
MFG_TEST_CODE
457
0
MFG_TX_MODES
687
3