Atmel Software Framework

sleepmgr_example_uc3_rtc.c File Reference

Sleep manager example for AVR UC3 A0/A1/A3/A4 & AVR UC3 B series.

Copyright (C) 2010-2014 Atmel Corporation. All rights reserved.

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

Functions

 ISR (rtc_irq_handler, AVR32_RTC_IRQ_GROUP, 3)
 
int main (void)
 

Variables

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

ISR ( rtc_irq_handler  ,
AVR32_RTC_IRQ_GROUP  ,
 
)

References rtc_clear_interrupt().

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:122
#define EIC_FILTER_ENABLED
Definition: eic.h:114
#define EIC_LEVEL_LOW_LEVEL
Definition: eic.h:107
#define EIC_MODE_LEVEL_TRIGGERED
Definition: eic.h:94

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