Menu

System message bus

Aljaž Srebrnič

The system's message bus

We implemented a message bus in openchronos. All drivers that generate events will automatically have their events broadcast in the message bus. To have your module listening for messages in the bus, you just need to call sys_messagebus_register() (ezchronos.h).

For more information on how to use this function, have a look to module/clock.c.