CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::core::Event Struct Reference

#include <EventBus.h>

Public Attributes

EventType type
uint32_t timestamp
union { 
   char   key 
   uint8_t   value 
   void *   ptr 
data

Detailed Description

Event data structure

Definition at line 53 of file EventBus.h.

Member Data Documentation

◆ [union]

◆ key

char cdc::core::Event::key

Definition at line 57 of file EventBus.h.

◆ ptr

void* cdc::core::Event::ptr

Definition at line 59 of file EventBus.h.

◆ timestamp

uint32_t cdc::core::Event::timestamp

Definition at line 55 of file EventBus.h.

Referenced by host_event_publish().

◆ type

◆ value

uint8_t cdc::core::Event::value

The documentation for this struct was generated from the following file: