SAM External Interrupt Driver.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
#include <compiler.h>
Functions | |
Callback Enabling and Disabling (Channel) | |
enum status_code | extint_chan_enable_callback (const uint8_t channel, const enum extint_callback_type type) |
Enables asynchronous callback generation for a given channel and type. More... | |
enum status_code | extint_chan_disable_callback (const uint8_t channel, const enum extint_callback_type type) |
Disables asynchronous callback generation for a given channel and type. More... | |
Callback Configuration and Initialization | |
enum | extint_callback_type { EXTINT_CALLBACK_TYPE_DETECT } |
Enum for the possible callback types for the EXTINT module. More... | |
enum status_code | extint_register_callback (const extint_callback_t callback, const uint8_t channel, const enum extint_callback_type type) |
Registers an asynchronous callback function with the driver. More... | |
enum status_code | extint_unregister_callback (const extint_callback_t callback, const uint8_t channel, const enum extint_callback_type type) |
Unregisters an asynchronous callback function with the driver. More... | |
uint8_t | extint_get_current_channel (void) |
Find what channel caused the callback. More... | |