Enumerations | |
enum | cy_en_msclp_status_t { CY_MSCLP_SUCCESS = 0x00u, CY_MSCLP_BAD_PARAM = CY_MSCLP_ID | CY_PDL_STATUS_ERROR | 0x01u, CY_MSCLP_BUSY = CY_MSCLP_ID | CY_PDL_STATUS_ERROR | 0x02u, CY_MSCLP_LOCKED = CY_MSCLP_ID | CY_PDL_STATUS_ERROR | 0x03u, CY_MSCLP_TIMEOUT = CY_MSCLP_ID | CY_PDL_STATUS_ERROR | 0x04u, CY_MSCLP_MRSS_DISABLED = CY_MSCLP_ID | CY_PDL_STATUS_ERROR | 0x05u } |
MSCLP status definitions. More... | |
enum | cy_en_msclp_key_t { CY_MSCLP_NONE_KEY = 0u, CY_MSCLP_USER_DEFINED_KEY = 1u, CY_MSCLP_CAPSENSE_KEY = 2u } |
Definitions of upper level keys that use the driver. More... | |
enum cy_en_msclp_status_t |
MSCLP status definitions.
enum cy_en_msclp_key_t |
Definitions of upper level keys that use the driver.
Each middleware has a unique key assigned. When middleware successfully captures the MSCLP HW block, this key is placed into the MSCLP driver context structure. All attempts to capture the MSCLP HW block by other middleware are rejected. When the first middleware releases the MSCLP HW block, CY_MSCLP_NONE_KEY is written to the lockKey variable of the MSCLP driver context structure and any other middleware can capture the MSCLP HW block.