Cypress CY4672 Espresso Maker User Manual


 
CY4672 Reference Design Guide, Document # 001-16968 Revision ** 65
Keyboard
manufacturing test code may be executed by holding the system sleep key and the Bind button
when the batteries are inserted into the keyboard.
4.3.6.16 MFG_TX_MODES
When the MFG_TEST_CODE is defined, the definition of this name adds in a carrier and random
data TX test option. See the mfgtest module for more information on these TX modes.
4.3.6.17 MOUSE_EMULATION_MODE
This configuration definition is used to selectively compile in the mouse Emulation mode. The Scroll
Lock key is used to toggle this mode on/off. Once in this mode, the arrow keys are used to move the
mouse. The Delete key is the left mouse button, the End key is the right mouse button, and Page Up
and Page Down emulate the scroll wheel.
4.3.6.18 BACK_CHANNEL_SUPPORT
This configuration definition is used to selectively compile in the Back Channel Data Support feature.
See section Back Channel Data Support on page 20 for a description of Back Channel Data Sup-
port.
4.3.6.19 MASTER_PROTOCOL
This configuration definition is used to select the Master radio protocol or Slave radio protocol. For
the keyboard application, it should be undefined.
4.3.6.20 PAYLOAD_LENGTH
This configuration definition is used to define the payload length. For the keyboard application, it
should be defined as 8.
4.3.6.21 KISS_BIND
This configuration definition is used to selectively compile in the Enhanced KissBind feature. See
section Enhanced KISSBind™ on page 18 for a description of Enhanced KissBind.
The keyboard can be un-bound by holding the ‘Esc’ key and ‘Delete’ key. After being un-bound, the
keyboard enters an infinite loop until a POR.
After being un-bound, the keyboard can be bound to a bridge by KissBind.
4.3.6.22 RSSI_QUALIFY
This configuration definition is used to enable the RSSI qualification for the Enhanced KissBind.
Only if the RSSI reading is above KISS_BIND_RSSI_THRESHOLD, can the KissBind request/
response be accepted by the Bridge/Devices.
4.3.6.23 PLATFORM_H
This configuration value identifies the header file that has the platform configuration information. The
default value is
pdc9265.h, which is identifier for the keyboard board that is shipped with the RDK. It
is anticipated that this macro will change when the code is ported to another platform.
4.3.7 Platform and Architecture Portability
The keyboard firmware was designed to be easily ported from one hardware platform to another
platform with a simple re-mapping of pins on the enCoRe II LV. The file
pdc9265.h maintains the pin
mapping definitions that are used throughout the code and is included in about every file by using
the macro PLATFORM_H that is defined in
config.h.
[+] Feedback