File nut/include/sys/msg.h


Included Files


Preprocessor definitions

#define _SYS_MSG_H

#define MSG_TIMER 0xfe

#define MSG_NULL 0xff


Typedef NUTMSG

typedef struct _NUTMSG NUTMSG
See: Type struct _NUTMSG

Type struct _NUTMSG

struct _NUTMSG
struct _NUTMSG  
   {  
      uint8_t id;  
      int param;  
      void* data;  
   }  

Typedef NUTMSGTMR

typedef struct _NUTMSGTMR NUTMSGTMR
See: Type struct _NUTMSG

Typedef NUTMSGQ

typedef struct _NUTMSGQ NUTMSGQ
See: Type struct _NUTMSGQ

Type struct _NUTMSGQ

struct _NUTMSGQ
struct _NUTMSGQ  
   {  
      HANDLE mq_wait;  
      NUTMSGTMR* mq_timers;  
      NUTMSGQ* mq_next;  
      uint8_t mq_read;  
      uint8_t mq_write;  
      uint8_t mq_mask;  
      NUTMSG mq_que[1];  
   }