Cypress CY4672 Espresso Maker User Manual


 
46 CY4672 Reference Design Guide, Document # 001-16968 Revision **
Mouse
3.3.6.5 MOUSE_CONNECT_ATTEMPT_TIMES
This value sets the attempt times for the mouse trying to connect to the bridge before entering the
Briefcase Mode. The default value is 20.
3.3.6.6 PLATFORM_H
This configuration value identifies the header file that has the platform configuration information. The
default value is
pdc9347.h, which is the identifier for the mouse board that is shipped with the RDK.
This macro changes when the code is ported to another platform.
3.3.6.7 MOUSE_800_NOT_400_CPI
This configuration definition is used to select between 800 or 400 counts per inch (cpi) when config-
uring the optical chip. If it is defined then 800 cpi is selected. If it not defined then 400 cpi is selected.
The default is 800 cpi.
3.3.6.8 MOUSE_BATTERY_STATUS
Enabling this feature causes the battery level measurement code to be compiled into the mouse
image. The mouse then measures the battery level and reports any changes to the bridge. Notifica-
tion of the battery level is done at the following events: the battery level changes, the mouse transi-
tions from the idle state to the active state, mouse transitions from the disconnected state to the
connected state.
3.3.6.9 MOUSE_TEST_MODE
This configuration definition is used to selectively compile code for mouse test mode. If this value is
defined, then the test mode is compiled into the executable image.
The test mode moves the mouse in a fashion to repeatedly draw the letters ‘LP’ in a drawing pro-
gram. When performing this test, turn off Mouse acceleration or advanced motion. See the Testmode
Module on page 43 for more information on entering this test mode.
3.3.6.10 MFG_TEST_CODE
This configuration definition is used to selectively compile in the manufacturing test code. The man-
ufacturing test code in this mouse is compatible with the CY3631 Manufacturing Test Kit offered by
Cypress Semiconductor. See Mfgtest Module on page 44 for a description of how this test mode is
executed. See the CY3631 Manufacturing Test Kit documentation for a description of the test opera-
tion.
3.3.6.11 MFG_TX_MODES
When the MFG_TEST_CODE is defined, then the definition of this name adds in a carrier and ran-
dom data TX test option. See Mfgtest Module on page 44 for more information on these TX modes.
3.3.6.12 MASTER_PROTOCOL
This configuration definition is used to select the Master radio protocol or Slave radio protocol. For
the mouse application, it should be undefined.
3.3.6.13 PAYLOAD_LENGTH
This configuration definition is used to define the payload length. For the mouse application, it should
be defined as 3.
[+] Feedback