Prusa MINI Firmware overview
osEvent Struct Reference

#include <cmsis_os.h>

Collaboration diagram for osEvent:

Public Attributes

osStatus status
 status code: event or error information More...
 
union {
   uint32_t   v
 message as 32-bit value More...
 
   void *   p
 message or mail as void pointer More...
 
   int32_t   signals
 signal flags More...
 
value
 event value More...
 
union {
   osMailQId   mail_id
 mail id obtained by osMailCreate More...
 
   osMessageQId   message_id
 message id obtained by osMessageCreate More...
 
def
 event definition More...
 

Detailed Description

Event structure contains detailed information about an event.

Note
MUST REMAIN UNCHANGED: os_event shall be consistent in every CMSIS-RTOS. However the struct may be extended at the end.

Member Data Documentation

◆ status

osStatus osEvent::status

status code: event or error information

◆ v

uint32_t osEvent::v

message as 32-bit value

◆ p

void* osEvent::p

message or mail as void pointer

◆ signals

int32_t osEvent::signals

signal flags

◆ value

union { ... } osEvent::value

event value

◆ mail_id

osMailQId osEvent::mail_id

mail id obtained by osMailCreate

◆ message_id

osMessageQId osEvent::message_id

message id obtained by osMessageCreate

◆ def

union { ... } osEvent::def

event definition