Enumerated Types¶
-
group
group_ipc_sema_enums
Enumerations are used in the driver.
Enums
-
enum
cy_en_ipcsema_status_t
cy_en_ipcsema_status_t: Return constants for IPC semaphores functions.
Values:
-
enumerator
CY_IPC_SEMA_SUCCESS
No error has occurred.
-
enumerator
CY_IPC_SEMA_ERROR_LOCKED
Semaphores IPC channel has already been locked.
-
enumerator
CY_IPC_SEMA_ERROR_UNLOCKED
Semaphores IPC channel is unlocked.
-
enumerator
CY_IPC_SEMA_BAD_PARAM
Semaphore API bad parameter.
-
enumerator
CY_IPC_SEMA_OUT_OF_RANGE
Semaphore API return when semaphore number is out of the range.
-
enumerator
CY_IPC_SEMA_NOT_ACQUIRED
Semaphore API return when IPC channel was not acquired.
-
enumerator
CY_IPC_SEMA_LOCKED
Semaphore API return status when semaphore channel is busy or locked by another process.
-
enumerator
CY_IPC_SEMA_STATUS_LOCKED
Semaphore status return that the semaphore is set.
-
enumerator
CY_IPC_SEMA_STATUS_UNLOCKED
Semaphore status return that the semaphore is cleared.
-
enumerator
-
struct
cy_stc_ipc_sema_t
- #include <>
IPC semaphore control data structure.
Public Members
-
uint32_t
maxSema
Maximum semaphores in system.
-
uint32_t *
arrayPtr
Pointer to semaphores array.
-
uint32_t
-
enum