
Mouse
3.3.6.5MOUSE_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.6PLATFORM_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.7MOUSE_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.8MOUSE_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.9MOUSE_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.10MFG_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.11MFG_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.12MASTER_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.13PAYLOAD_LENGTH
This configuration definition is used to define the payload length. For the mouse application, it should be defined as 3.
46 | CY4672 Reference Design Guide, Document # |
[+] Feedback