RKH
rkhevt.h File Reference

Defines event data type and other related macros. More...

#include "rkhtype.h"
#include "rkhcfg.h"
Include dependency graph for rkhevt.h:

Go to the source code of this file.

Data Structures

struct  RKH_EVT_T
 Represents events without parameters. More...
 

Macros

#define RKH_EVT_CAST(_e)   ((RKH_EVT_T *)(_e))
 Perform cast to pointer to RKH event structure (RKH_EVT_T*).
 

Typedefs

typedef rui8_t RKH_SIG_T
  More...
 
typedef rui8_t RKH_ES_T
  More...
 

Detailed Description

Defines event data type and other related macros.

Definition in file rkhevt.h.

Typedef Documentation

◆ RKH_SIG_T

typedef rui8_t RKH_SIG_T

Defines the size of event. The valid values [in bits] are 8, 16 or 32. Default is 8. This type is configurable via the preprocessor switch RKH_CFG_FWK_SIZEOF_EVT.

Definition at line 100 of file rkhevt.h.

◆ RKH_ES_T

typedef rui8_t RKH_ES_T

Defines the data type of event size. The valid values [in bits] are 8, 16 or 32. Default is 8. This type is configurable via the preprocessor switch RKH_CFG_FWK_SIZEOF_EVT_SIZE.

Definition at line 116 of file rkhevt.h.