Enumerations | |
enum | cy_en_csd_status_t { CY_CSD_SUCCESS = 0x00U, CY_CSD_BAD_PARAM = CY_CSD_ID | CY_PDL_STATUS_ERROR | 0x01U, CY_CSD_BUSY = CY_CSD_ID | CY_PDL_STATUS_ERROR | 0x02U, CY_CSD_LOCKED = CY_CSD_ID | CY_PDL_STATUS_ERROR | 0x03U } |
CSD status definitions. More... | |
enum | cy_en_csd_key_t { CY_CSD_NONE_KEY = 0U, CY_CSD_USER_DEFINED_KEY = 1U, CY_CSD_CAPSENSE_KEY = 2U, CY_CSD_ADC_KEY = 3U, CY_CSD_IDAC_KEY = 4U, CY_CSD_CMP_KEY = 5U } |
Definitions of upper level keys that use the driver. More... | |
enum cy_en_csd_status_t |
enum cy_en_csd_key_t |
Definitions of upper level keys that use the driver.
Each middleware has a unique key assigned. When middleware successfully captures the CSD HW block, this key is placed into the CSD driver context structure. All attempts to capture the CSD HW block by other middleware are rejected. When the first middleware releases the CSD HW block, CY_CSD_NONE_KEY is written to the lockKey variable of the CSD driver context structure and any other middleware can capture the CSD HW block.