MTB IPC Library

| MTB IPC Library

Macros
IPC Results
IPC (Inter-Processor Communication)

## General Description

IPC specific return codes.

## Macros
#define | MTB_IPC_RSLT_ERR_NOT_INITIALIZED (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 0))
| IPC library Driver not initialized.
#define | MTB_IPC_RSLT_ERR_INVALID_PARAMETER (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 1))
| Invalid parameter error.
#define | MTB_IPC_RSLT_ERR_TIMEOUT (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 2))
| Timeout Occurred.
#define | MTB_IPC_RSLT_ERR_SEMA_NUM_IN_USE (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 3))
| Provided semaphore number already used.
#define | MTB_IPC_RSLT_ERR_SEMA_TAKEN (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 4))
| Provided semaphore number already taken.
#define | MTB_IPC_RSLT_ERR_SEMA_FAIL (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 5))
| Failed to take the semaphore.
#define | MTB_IPC_RSLT_ERR_NO_SEMA_AVAILABLE (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 6))
| Can't get the semaphore handle, possibly bad number.
#define | MTB_IPC_RSLT_ERR_QUEUE_NUM_IN_USE (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 7))
| Provided queue number already used.
#define | MTB_IPC_RSLT_ERR_QUEUE_FULL (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 8))
| Queue is full.
#define | MTB_IPC_RSLT_ERR_QUEUE_EMPTY (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 9))
| Queue is empty.
#define | MTB_IPC_RSLT_ERR_QUEUE_NOT_FOUND (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 10))
| Queue object is not found.
#define | MTB_IPC_RSLT_ERR_CANT_OPERATE_IN_ISR (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 11))
| Operation can't be performed in ISR context.
#define | MTB_IPC_RSLT_ERR_CANT_OPERATE_IN_ISR_W_TIMEOUT (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 12))
| Operation can't be performed in ISR context with timeout != 0.
#define | MTB_IPC_RSLT_ERR_INVALID_IRQ_CHANNEL (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 13))
| IRQ is already being used by another core.
#define | MTB_IPC_RSLT_ERR_MBOX_IDX_IN_USE (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 14))
| Provided mailbox index already used.
#define | MTB_IPC_RSLT_ERR_MBOX_FULL (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 15))
| Mailbox is full. More...
#define | MTB_IPC_RSLT_ERR_MBOX_EMPTY (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 16))
| Mailbox is empty. More...
#define | MTB_IPC_RSLT_ERR_MBOX_NOT_FOUND (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 17))
| Mailbox object with specified index is not found.

## Macro Definition Documentation

## ◆ MTB_IPC_RSLT_ERR_MBOX_FULL

#define MTB_IPC_RSLT_ERR_MBOX_FULL (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 15))

Mailbox is full.

Cannot write to a mailbox that is full

## ◆ MTB_IPC_RSLT_ERR_MBOX_EMPTY

#define MTB_IPC_RSLT_ERR_MBOX_EMPTY (CY_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_MIDDLEWARE_IPC, 16))

Mailbox is empty.

Cannot read from a mailbox that is empty