Cypress CY4672 Espresso Maker User Manual


 
CY4672 Reference Design Guide, Document # 001-16968 Revision ** 85
Bridge
5.3.6 Configuration Options
All configuration options for the application can be found in the config.h file, and some of them are
defined in the Project > Setting > Compiler > Macro defines. Each option is explained below and can
be changed to values that meet the developer’s needs.
5.3.6.1 MFG_TEST_CODE
This configuration definition is used to selectively compile in the manufacturing test code. The man-
ufacturing test code in this bridge is compatible with the CY3631 Manufacturing Test Kit offered by
Cypress Semiconductor. See Mfgtest Module on page 84 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.
5.3.6.2 MFG_TX_MODES
When the MFG_TEST_CODE is defined, the definition of this name adds a carrier and random data
TX test option. See Mfgtest Module on page 84 for more information on these TX modes.
5.3.6.3 MFG_ENTER_BY_PIN
This configuration definition is used to selectively compile in a method to enter the manufacturing
test code. When this value is defined, the manufacturing test code may be executed by grounding a
specific pin during insertion of the PRoC LP RDK bridge into a powered USB port or applying exter-
nal power.
5.3.6.4 MFG_ENTER_BY_BUTTON
This configuration definition is used to selectively compile in a method to enter the manufacturing
test code. When this value is defined, the manufacturing test code may be executed by holding the
Bind button during insertion of the PRoC LP RDK bridge into a powered USB port or applying exter-
nal power.
5.3.6.5 MFG_ENTER_BY_USBSE1
This configuration definition is used to selectively compile in a method to enter the manufacturing
test code. When this value is defined, the manufacturing test code may be executed by causing a
USB SE1 condition on the D+ and D– signals during insertion of the PRoC LP RDK bridge into a
powered USB port or applying external power.
5.3.6.6 ENCRYPT_TEA
This configuration definition is used to selectively compile in TEA encryption for the bridge. Contact
Cypress Applications support for the encryption source code.
5.3.6.7 ENCRYPT_AES
This configuration definition is used to selectively compile in AES encryption for the bridge. Contact
Cypress Applications support for the encryption source code.
5.3.6.8 GREEN_LED_ON_TIME
This configuration definition defines the number of milliseconds the Green LED stays on after a valid
USB report is loaded in an endpoint.
5.3.6.9 DOWNKEY_TIME_OUT
This configuration definition defines the number of milliseconds before upkey reports are generated
by the bridge in the absence of valid packets from an attached keyboard device.
[+] Feedback