Microchip® Advanced Software Framework

conf_extint.h File Reference

SAM D21 External Interrupt Driver Configuration Header.

Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Macros

#define EXTINT_CLOCK_SOURCE   GCLK_GENERATOR_0
 

Functions

static uint8_t button_0_input_level (void)
 Read the current state of the button pin. More...
 
void button_cb (void)
 
static void button_init (void)
 

#define EXTINT_CLOCK_SOURCE   GCLK_GENERATOR_0

static uint8_t button_0_input_level ( void  )
inlinestatic

Read the current state of the button pin.

References BUTTON_0_PIN, and port_pin_get_input_level().

void button_cb ( void  )

Referenced by button_init().