gossamer 0.0.1
a very lightweight app framework for SAMD and SAML chips
|
Functions for configuring and using the Event System. More...
Functions | |
void | evsys_configure_channel (uint8_t channel, uint8_t generator, uint8_t user, bool run_in_standby, bool asynchronous) |
Configures an event channel to route an event from a generator to a user. | |
Functions for configuring and using the Event System.
void evsys_configure_channel | ( | uint8_t | channel, |
uint8_t | generator, | ||
uint8_t | user, | ||
bool | run_in_standby, | ||
bool | asynchronous | ||
) |
Configures an event channel to route an event from a generator to a user.
channel | The event channel to configure. The number of channels varies by device, but all should have at least six channels. |
generator | The event generator, or the source of the event. |
user | The event user, or the peripheral that will receive the event. |
run_in_standby | Whether the event channel should run in standby sleep mode. |
asynchronous | Whether the event should use the asynchronous path or the synchronous path. |