Developer World
Spresense Arduino Library v3.2.0-77d75a4
MP.h File Reference

Spresense Arduino Multi-Processer Communication library. More...

#include <Arduino.h>
#include <sdk/config.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <asmp/asmp.h>
#include <asmp/mptask.h>
#include <asmp/mpshm.h>
#include <asmp/mpmq.h>
#include <asmp/mpmutex.h>
#include <multi_print.h>
Include dependency graph for MP.h:

Go to the source code of this file.

Classes

class  MPClass
 This is the interface for MP (Multi-Processor). More...
 

Macros

#define MPDBG(format, ...)
 
#define MPERR(format, ...)   printf("ERROR: " format, ##__VA_ARGS__)
 
#define KEY_SHM   1
 
#define KEY_MQ   2
 
#define MP_RECV_BLOCKING   (0)
 
#define MP_RECV_POLLING   (MPMQ_NONBLOCK)
 
#define MP_GET_CPUID()   (*(volatile int *)0x4e002040)
 
#define MP_MAX_SUBID   6
 
#define MPLOG_PREFIX   "[Main] "
 
#define MPLog(fmt, ...)
 

Variables

MPClass MP
 

Detailed Description

Spresense Arduino Multi-Processer Communication library.

Author
Sony Semiconductor Solutions Corporation

The MP library can manage the Multi-processor communication.