SAM Event System Driver.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "events.h"
Enumerations | |
enum | events_interrupt_source { EVENTS_INTERRUPT_OVERRUN, EVENTS_INTERRUPT_DETECT } |
Interrupt source enumerator. More... | |
Functions | |
enum status_code | events_ack_interrupt (struct events_resource *resource, enum events_interrupt_source source) |
Acknowledge an interrupt source. More... | |
enum status_code | events_add_hook (struct events_resource *resource, struct events_hook *hook) |
Insert hook into the event drivers interrupt hook queue. More... | |
enum status_code | events_create_hook (struct events_hook *hook, events_interrupt_hook hook_func) |
Initializes an interrupt hook for insertion in the event interrupt hook queue. More... | |
enum status_code | events_del_hook (struct events_resource *resource, struct events_hook *hook) |
Remove hook from the event drivers interrupt hook queue. More... | |
enum status_code | events_disable_interrupt_source (struct events_resource *resource, enum events_interrupt_source source) |
Disable interrupt source. More... | |
enum status_code | events_enable_interrupt_source (struct events_resource *resource, enum events_interrupt_source source) |
Enable interrupt source. More... | |
bool | events_is_interrupt_set (struct events_resource *resource, enum events_interrupt_source source) |
Check if interrupt source is set. More... | |