LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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: