Macros | |
Generic Clock Configuration | |
#define | EXAMPLE_GCLK_ID 0 |
#define | EXAMPLE_GCLK_PIN AVR32_PM_GCLK_0_1_PIN |
#define | EXAMPLE_GCLK_FUNCTION AVR32_PM_GCLK_0_1_FUNCTION |
Functions | |
static void | local_start_gc (void) |
static void | local_start_highfreq_clock (void) |
int | main (void) |
static void | software_delay (void) |
#define EXAMPLE_GCLK_FUNCTION AVR32_PM_GCLK_0_1_FUNCTION |
Referenced by local_start_gc().
#define EXAMPLE_GCLK_ID 0 |
Referenced by local_start_gc().
#define EXAMPLE_GCLK_PIN AVR32_PM_GCLK_0_1_PIN |
Referenced by local_start_gc().
|
static |
References EXAMPLE_GCLK_FUNCTION, EXAMPLE_GCLK_ID, EXAMPLE_GCLK_PIN, gpio_enable_module_pin(), pm_gc_enable(), and pm_gc_setup().
Referenced by main().
|
static |
References flashc_set_wait_state(), FOSC0, opt, pm_cksel(), pm_pll_enable(), pm_pll_set_option(), pm_pll_setup(), pm_switch_to_clock(), pm_switch_to_osc0(), and pm_wait_for_pll0_locked().
Referenced by main().
int main | ( | void | ) |
References gpio_tgl_gpio_pin(), local_start_gc(), local_start_highfreq_clock(), and software_delay().