Loading...
Searching...
No Matches
bus.h File Reference

This provides System Buses for common events. More...

Detailed Description

This provides System Buses for common events.

Warning
Bus Events will be lost if receiver message queue is full.
Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file bus.h.

#include <assert.h>
#include "msg_bus.h"
+ Include dependency graph for bus.h:

Go to the source code of this file.

Enumerations

enum  sys_bus_t { SYS_BUS_NUMOF }
 System Bus types. More...
 
enum  sys_bus_power_event_t { SYS_BUS_POWER_EVENT_LOW_VOLTAGE }
 Power Bus Events. More...
 

Functions

static msg_bus_tsys_bus_get (sys_bus_t bus)
 Get a System Bus for a category of events.
 

Variables

msg_bus_t _sys_bus [SYS_BUS_NUMOF]
 The System Bus array - do not use directly.