Board specific code for low power example.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "board.h"
#include "pio.h"
#include "pio_handler.h"
#include "pmc.h"
#include "adc.h"
#include "low_power_board.h"
Macros | |
#define | IRQ_PRIOR_PIO 0 |
IRQ priority for PIO (The lower the value, the greater the priority) More... | |
Functions | |
void | init_specific_board (void) |
Initialize SAM3N_EK board for low power test. More... | |
Variables | |
uint32_t | g_fastrc_clock_list [][3] |
Clock list from fast RC. More... | |
uint32_t | g_pll_clock_list [][4] |
Clock list from PLL. More... | |
#define IRQ_PRIOR_PIO 0 |
IRQ priority for PIO (The lower the value, the greater the priority)
Referenced by init_specific_board().
void init_specific_board | ( | void | ) |
Initialize SAM3N_EK board for low power test.
References ADC_CHANNEL_4, adc_enable_channel(), IRQ_PRIOR_PIO, pio_handler_set_priority(), pio_pull_up(), PIO_PULLUP, pio_set_input(), pmc_disable_udpck(), and pmc_enable_periph_clk().
Referenced by init_chip().
uint32_t g_fastrc_clock_list[][3] |
Clock list from fast RC.
Referenced by user_change_clock().
uint32_t g_pll_clock_list[][4] |
Clock list from PLL.
Referenced by user_change_clock().