SAM Event System Driver Quick Start.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
#include "conf_qs_events.h"
Functions | |
static void | configure_event_channel (struct events_resource *resource) |
[setup] More... | |
static void | configure_event_user (struct events_resource *resource) |
int | main (void) |
[setup] More... | |
|
static |
[setup]
[setup_1]
[setup_1]
[setup_2]
[setup_2]
[setup_3]
[setup_3]
[setup_4]
[setup_4]
References events_config::clock_source, events_config::edge_detect, events_allocate(), EVENTS_EDGE_DETECT_RISING, events_get_config_defaults(), EVENTS_PATH_SYNCHRONOUS, GCLK_GENERATOR_0, events_config::generator, and events_config::path.
Referenced by main().
|
static |
int main | ( | void | ) |
[setup]
[events_resource_struct]
[events_resource_struct]
[setup_init]
[setup_init]
[main]
[main_1]
[main_1]
[main_2]
[main_2]
[main]
References configure_event_channel(), configure_event_user(), events_is_busy(), events_trigger(), and system_init().