Microchip® Advanced Software Framework

sleepmgr_example_uc3_ast.c File Reference

Sleep manager example for AVR UC3 C & AVR UC3 L series.

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

#include <ast.h>
#include <eic.h>
#include <gpio.h>
#include <board.h>
#include <sysclk.h>
#include <compiler.h>
#include <sleepmgr.h>
#include <conf_example.h>
#include <cycle_counter.h>

Functions

int main (void)
 

Variables

static const eic_options_t eic_options
 Structure holding the configuration parameters of the EIC low level driver. More...
 

const eic_options_t eic_options
static
Initial value:
=
{
.eic_line = WAKE_BUTTON_EIC_LINE,
.eic_edge = 0,
.eic_level = EIC_LEVEL_LOW_LEVEL,
.eic_filter = EIC_FILTER_ENABLED,
.eic_async = EIC_ASYNCH_MODE
}
#define EIC_ASYNCH_MODE
Definition: eic.h:115
#define EIC_FILTER_ENABLED
Definition: eic.h:107
#define EIC_LEVEL_LOW_LEVEL
Definition: eic.h:100
#define EIC_MODE_LEVEL_TRIGGERED
Definition: eic.h:87

Structure holding the configuration parameters of the EIC low level driver.