PIC24 Support Libraries
Data Structures | Macros | Functions
esos_mail.h File Reference
#include "esos.h"
#include "esos_cb.h"

Go to the source code of this file.

Data Structures

struct  MAILBOX
 

Macros

#define __MAIL_MSG_MAX_DATA_LEN   16
 
#define ESOS_TASK_HAS_MAIL(pstTask)
 
#define ESOS_TASK_IS_WAITING_MAIL_DELIVERY(TaskHandle)
 
#define ESOS_TASK_IVE_GOT_MAIL()
 
#define ESOS_TASK_WAIT_FOR_MAIL()
 
#define ESOS_TASK_WAIT_ON_TASKS_MAILBOX_HAS_AT_LEAST(pstTask, x)
 
#define ESOS_TASK_WAIT_ON_TASKS_MAILBOX_HAS_ROOM_MESSAGE(pstTask, pstMsg)
 
#define ESOS_TASK_MAILBOX_GET_AVAILABLE_LEN(pstTask)
 
#define ESOS_TASK_MAILBOX_GOT_EXACTLY_DATA_BYTES(pstTask, x)
 
#define ESOS_TASK_MAILBOX_GOT_AT_LEAST_DATA_BYTES(pstTask, x)
 
#define ESOS_TASK_FLUSH_TASK_MAILBOX(pstTask)
 

Functions

void __esos_SendMailUint8 (struct stTask *pst_Task, MAILBOX *pst_Mailbox, uint8_t *pau8_data, uint8_t u8_len)
 

Detailed Description

This file contains macros, prototypes, and definitions for mail services for ESOS tasks.

Note
For now, these routines are safe from data corruption because mailboxes are modified only in the task context.

Definition in file esos_mail.h.