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... | |
int main | ( | void | ) |
References ast_disable_alarm0(), ast_enable(), ast_enable_alarm0(), ast_get_counter_value(), ast_init_counter(), AST_OSC_RC, AST_PSEL_RC_1_76HZ, ast_set_alarm0_value(), board_init(), cpu_delay_ms(), eic_clear_interrupt_line(), eic_enable_line(), eic_init(), gpio_enable_module_pin(), gpio_enable_pin_pull_up(), gpio_set_pin_high(), gpio_set_pin_low(), SLEEPMGR_ACTIVE, sleepmgr_enter_sleep(), sleepmgr_init(), sleepmgr_lock_mode(), SLEEPMGR_NR_OF_MODES, sleepmgr_unlock_mode(), SYSCLK_AST, SYSCLK_EIC, sysclk_enable_pba_module(), sysclk_get_cpu_hz(), sysclk_init(), UC3L, and UC3L_EK.
|
static |
Structure holding the configuration parameters of the EIC low level driver.