LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipc_example.h File Reference

Go to the source code of this file.

Data Structures

struct  ipcex_msg_t
 

Macros

#define IPCEX_QUEUE_SZ   64
 
#define IPCEX_MAX_IDS   20
 
#define IPCEX_ID_BLINKY   1
 
#define IPCEX_ID_USBHOST   2
 
#define IPCEX_ID_USBDEVICE   3
 
#define IPCEX_ID_LWIP   4
 
#define IPCEX_ID_EMWIN   5
 
#define IPCEX_ID_USER1   10
 
#define IPCEX_ID_USER2   11
 

Functions

int ipcex_register_callback (uint32_t id, void(*func)(uint32_t))
 IPC register callback function pointer.
 
int ipcex_msgPush (uint32_t id, uint32_t data)
 Push data on the queue.