![]() |
![]() |
Mailbox Driver. More...
#include <drivers/mailbox/include/mailbox_internal.h>
Data Fields | |
| Mailbox_Config | cfg |
| Mailbox Configuration which was used to instantiate the driver. | |
| Mailbox_Type | localEndpoint |
| Local type of Mailbox. | |
| Mailbox_Type | remoteEndpoint |
| Remote type of Mailbox. | |
| SemaphoreP_Handle | readSem |
| Handle to the Read semaphore. | |
| SemaphoreP_Handle | writeSem |
| Handle to the Write semaphore. | |
| Mailbox_TxBoxStatus | txBoxStatus |
| Status of TX box (full or empty) | |
| uint16_t | txCount |
| Number of TX messages successfully sent (acknowledgement has been received) | |
| uint16_t | rxCount |
| Number of RX messages received. | |
| Mailbox_NewMsgFlag | newMessageFlag |
| Flag used for read polling mode. Indicate if a new message has arrived. | |
| uint32_t | numBytesRead |
| Number of bytes already read by past calls to the read API in current message. | |
| Mailbox_HwCfg * | hwCfg |
| Pointer to hardware configuration. | |
| uint16_t | boxFullIsrCount |
| Number of full box isr received. | |
| uint16_t | boxEmptyIsrCount |
| Number of empty box isr received. | |
| uint16_t | readFlushCount |
| Number of times the readFlush API was called. | |
Mailbox Driver.
The structure describes the Mailbox Driver and tracks all the information relevant to the driver instance