| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ipc_queue Struct Reference
LPC43xx Inter Processor Communication(IPC) functions

## Detailed Description

IPC Queue Structure used for sync between M0 and M4.

This structure provides head and tail indexes to the uint32_t array of messages.

Definition at line 78 of file ipc_msg.h.

`#include "ipc_msg.h"`

## Data Fields
int32_t | size
int32_t | count
volatile uint32_t | head
volatile uint32_t | tail
uint8_t * | data
uint32_t | valid
uint32_t | reserved [2]

## Field Documentation

int32_t count

Toal number of elements that can be stored in the queue

Definition at line 80 of file ipc_msg.h.

uint8_t* data

Pointer to the data

Definition at line 83 of file ipc_msg.h.

volatile uint32_t head

Head index of the queue

Definition at line 81 of file ipc_msg.h.

uint32_t reserved[2]

Reserved entry to keep the structure aligned

Definition at line 85 of file ipc_msg.h.

int32_t size

Size of a single item in queue

Definition at line 79 of file ipc_msg.h.

volatile uint32_t tail

Tail index of the queue

Definition at line 82 of file ipc_msg.h.

uint32_t valid

Queue is valid only if this is QUEUE_MAGIC_VALID

Definition at line 84 of file ipc_msg.h.

The documentation for this struct was generated from the following file:

- C:/nxp/v1.03/lpcopen_v1.03/lpcopen/applications/lpc18xx_43xx/examples/dualcore_43xx/common/ipc_msg.h