Table of Contents |
---|
maxLevel | 3 |
---|
minLevel | 2 |
---|
indent | 20px |
---|
|
...
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 |
---|
borderWidth | 0 |
---|
title | Table - Host Side (Windows) Demo Application’s Configuration Constants |
---|
|
Constant | Description |
---|
APP_ITEM_DATA_LEN_MAX | Set this constant to the maximum number of bytes that can be transferred as data. Must be >= 5. | APP_ITEM_DATA_OPAQUE_LEN_MAX | Set this constant to the maximum number of bytes that can be transferred as opaque data. Must be <= (MaxPacketSize - 21). | APP_ITEM_NBR_MAX | Set this constant to the maximum number of items that the application should support. Must be >= 1. | APP_STAT_COMP_PERIOD | Set this constant to the period (in ms) on which the statistic of each transfer (mean and standard deviation) should be computed. | APP_ITEM_PERIOD_MIN | Set this constant to the minimum period (in ms) that a user can specify for an item. | APP_ITEM_PERIOD_MAX | Set this constant to the maximum period (in ms) that a user can specify for an item. | APP_ITEM_PERIOD_MULTIPLE | Set this constant to a multiple (in ms) that periodicity of items specified by the user must comply. |
|
...