|
cocoOS
4.1.0
|
#include "os_defines.h"Go to the source code of this file.
Data Structures | |
| struct | Msg_t |
Macros | |
| #define | OS_MSG_Q_POST(task, msg, delay, period, async) |
| #define | OS_MSG_Q_RECEIVE(task, pMsg, async) |
Typedefs | |
| typedef uint8_t | MsgQ_t |
Enumerations | |
| enum | { MSG_QUEUE_UNDEF, MSG_QUEUE_DEF, MSG_QUEUE_EMPTY, MSG_QUEUE_FULL, MSG_QUEUE_RECEIVED, MSG_QUEUE_POSTED } |
Functions | |
| void | os_msgQ_init () |
| MsgQ_t | os_msgQ_create (Msg_t *buffer, uint8_t nMessages, uint16_t msgSize, taskproctype taskproc) |
| MsgQ_t | os_msgQ_find (taskproctype taskproc) |
| Evt_t | os_msgQ_event_get (MsgQ_t queue) |
| void | os_msgQ_tick (MsgQ_t queue) |
| uint8_t | os_msg_post (Msg_t *msg, MsgQ_t queue, uint16_t delay, uint16_t period) |
| uint8_t | os_msg_receive (Msg_t *msg, MsgQ_t queue) |
Message queue header file
| #define OS_MSG_Q_POST | ( | task, | |
| msg, | |||
| delay, | |||
| period, | |||
| async | |||
| ) |
| #define OS_MSG_Q_RECEIVE | ( | task, | |
| pMsg, | |||
| async | |||
| ) |