Miscellaneous macros.
Macros | |
#define | CY_CAPSENSE_TU_CMD_COMPLETE_BIT (0x8000u) |
Defines the communication command complete bit mask. | |
#define | CY_CAPSENSE_STATUS_RESTART_NONE (0x00u) |
Defines the status if restart was not performed in Cy_CapSense_RunTuner() | |
#define | CY_CAPSENSE_STATUS_RESTART_DONE (0x01u) |
Defines the status if restart was done in Cy_CapSense_RunTuner() | |
#define | CY_CAPSENSE_IDAC_GAIN_TABLE_SIZE (7u) |
The size of the idac gain look-up table. | |
#define | CY_CAPSENSE_IDAC_GAIN_NUMBER (6u) |
Defines the number of supported idac gains for the CSDv2_ver1-based devices. | |
#define | CY_CAPSENSE_PERCENTAGE_100 (100u) |
100% value | |
#define | CY_CAPSENSE_APPROX_LOOP_DURATION (5u) |
An approximate duration in CPU cycles of the check loop with the software watchdog timer. | |
#define | CY_CAPSENSE_SCAN_SCOPE_SNGL_SNS (0x0u) |
Widget scanning scope is a single sensor. | |
#define | CY_CAPSENSE_SCAN_SCOPE_ALL_SNS_MASK (0x01u) |
Sensor scanning scope is a single widget. | |
#define | CY_CAPSENSE_SCAN_SCOPE_ALL_WD_MASK (0x02u) |
Widget scanning scope is all widgets. | |
#define | CY_CAPSENSE_SCAN_SNGL_SLOT (0x1u) |
Single slot scanning. | |
#define | CY_CAPSENSE_SCAN_MULTIPLE_SLOT (0x0u) |
Multiple slot scanning. | |
#define | CY_CAPSENSE_HW_CONFIG_UNDEFINED (0u) |
CAPSENSE™ related HW state is undefined. | |
#define | CY_CAPSENSE_HW_CONFIG_CAPTURED_DEFAULT (1u) |
CAPSENSE™ related HW is captured and configured to the default state. | |
#define | CY_CAPSENSE_HW_CONFIG_REGULAR_SCANNING (2u) |
CAPSENSE™ related HW is configured to the standard regular scanning. | |
#define | CY_CAPSENSE_HW_CONFIG_BIST_FUNCTIONALITY (3u) |
CAPSENSE™ related HW is configured to execute the BIST functions. | |
#define | CY_CAPSENSE_HW_CONFIG_MPSC_SCANNING (4u) |
CAPSENSE™ related HW is configured to the MPSC scanning. | |
#define | CY_CAPSENSE_HW_CONFIG_CHANNEL_SATURATION (5u) |
CAPSENSE™ related HW is configured to execute a scan with the saturated channel. | |
#define | CY_CAPSENSE_HW_CONFIG_SMARTSENSE (6u) |
CAPSENSE™ related HW is configured to the smart sense. | |
#define | CY_CAPSENSE_HW_CONFIG_AUTO_DITHERING (7u) |
CAPSENSE™ related HW is configured to execute a scan to define CDAC dither parameters. | |