Enumerations | |
enum | cy_en_msc_status_t { CY_MSC_SUCCESS = 0x00u, CY_MSC_BAD_PARAM = CY_MSC_ID | CY_PDL_STATUS_ERROR | 0x01u, CY_MSC_BUSY = CY_MSC_ID | CY_PDL_STATUS_ERROR | 0x02u, CY_MSC_LOCKED = CY_MSC_ID | CY_PDL_STATUS_ERROR | 0x03u } |
MSC status definitions. More... | |
enum | cy_en_msc_key_t { CY_MSC_NONE_KEY = 0u, CY_MSC_USER_DEFINED_KEY = 1u, CY_MSC_CAPSENSE_KEY = 2u } |
Definitions of upper level keys that use the driver. More... | |
enum cy_en_msc_status_t |
enum cy_en_msc_key_t |
Definitions of upper level keys that use the driver.
Each middleware has a unique key assigned. When middleware successfully captures the MSC HW block, this key is placed into the MSC driver context structure. All attempts to capture the MSC HW block by other middleware are rejected. When the first middleware releases the MSC HW block, CY_MSC_NONE_KEY is written to the lockKey variable of the MSC driver context structure and any other middleware can capture the MSC HW block.