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

IPC Queue Structure used for sync between M0 and M4. More...

#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 reserved [3]
 

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 74 of file ipc_msg.h.

Field Documentation

int32_t count

Toal number of elements that can be stored in the queue

Definition at line 76 of file ipc_msg.h.

uint8_t* data

Pointer to the data

Definition at line 79 of file ipc_msg.h.

volatile uint32_t head

Head index of the queue

Definition at line 77 of file ipc_msg.h.

uint32_t reserved[3]

Reserved entry to keep the structure aligned

Definition at line 80 of file ipc_msg.h.

int32_t size

Size of a single item in queue

Definition at line 75 of file ipc_msg.h.

volatile uint32_t tail

Tail index of the queue

Definition at line 78 of file ipc_msg.h.


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