Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
indent20px

...

Several constants are available to customize the demo application on both device and host (Windows) side. Table - Device Side Demo Application’s Configuration Constants describe device side constants that are located in the app_cfg.h or  app_usbd_cfg.h file. Table - Host Side (Windows) Demo Application’s Configuration Constants describe host side constants that are located in the app_phdc.c file.

...

Anchor
Table - Host Side (Windows) Demo Application’s Configuration Constants
Table - Host Side (Windows) Demo Application’s Configuration Constants

Panel
borderWidth0
titleTable - Host Side (Windows) Demo Application’s Configuration Constants


ConstantDescription
APP_ITEM_DATA_LEN_MAXSet this constant to the maximum number of bytes that can be transferred as data. Must be >= 5.
APP_ITEM_DATA_OPAQUE_LEN_MAXSet this constant to the maximum number of bytes that can be transferred as opaque data. Must be <= (MaxPacketSize - 21).
APP_ITEM_NBR_MAXSet this constant to the maximum number of items that the application should support. Must be >= 1.
APP_STAT_COMP_PERIODSet this constant to the period (in ms) on which the statistic of each transfer (mean and standard deviation) should be computed.
APP_ITEM_PERIOD_MINSet this constant to the minimum period (in ms) that a user can specify for an item.
APP_ITEM_PERIOD_MAXSet this constant to the maximum period (in ms) that a user can specify for an item.
APP_ITEM_PERIOD_MULTIPLESet this constant to a multiple (in ms) that periodicity of items specified by the user must comply.


...