Loading...
Searching...
No Matches
System Buses for common events

Detailed Description

Files

file  bus.h
 This provides System Buses for common events.
 

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.
 

Enumeration Type Documentation

◆ sys_bus_power_event_t

Power Bus Events.

Enumerator
SYS_BUS_POWER_EVENT_LOW_VOLTAGE 

Supply voltage fallen below threshold.

Definition at line 45 of file bus.h.

◆ sys_bus_t

enum sys_bus_t

System Bus types.

Enumerator
SYS_BUS_NUMOF 

Number of enabled system buses.

Definition at line 35 of file bus.h.

Function Documentation

◆ sys_bus_get()

static msg_bus_t * sys_bus_get ( sys_bus_t  bus)
inlinestatic

Get a System Bus for a category of events.

Parameters
[in]busThe event category of the the user is interested in
Returns
The message bus for those events

Definition at line 67 of file bus.h.