8.8.1.2.1 Code

Copy-paste the following code to your user application:
while (events_is_busy(&example_event)) {
    /* Wait for channel */
};

events_trigger(&example_event);

while (true) {
    /* Nothing to do */
}