#include "compiler.h"
#include "preprocessor.h"
#include "board.h"
#include "gpio.h"
#include "scif_uc3l.h"
#include "power_clocks_lib.h"
Macros | |
Generic Clock Configuration | |
#define | EXAMPLE_GCLK_ID AVR32_SCIF_GCLK_DFLL0_SSG |
#define | EXAMPLE_GCLK_PIN AVR32_SCIF_GCLK_1_0_PIN |
#define | EXAMPLE_GCLK_FUNCTION AVR32_SCIF_GCLK_1_0_FUNCTION |
Functions | |
static void | local_start_gc (void) |
Set-up a generic clock at 32kz with the OSC32 as a source, output the generic clock to a pin. More... | |
int | main (void) |
#define EXAMPLE_GCLK_FUNCTION AVR32_SCIF_GCLK_1_0_FUNCTION |
Referenced by local_start_gc().
#define EXAMPLE_GCLK_ID AVR32_SCIF_GCLK_DFLL0_SSG |
Referenced by local_start_gc().
#define EXAMPLE_GCLK_PIN AVR32_SCIF_GCLK_1_0_PIN |
Referenced by local_start_gc().
|
static |
Set-up a generic clock at 32kz with the OSC32 as a source, output the generic clock to a pin.
References EXAMPLE_GCLK_FUNCTION, EXAMPLE_GCLK_ID, EXAMPLE_GCLK_PIN, gpio_enable_module_pin(), gpio_tgl_gpio_pin(), LED3_GPIO, SCIF_GCCTRL_OSC32K, and scif_start_gclk().
Referenced by main().
int main | ( | void | ) |
OSC32K config.
References gpio_tgl_gpio_pin(), LED0_GPIO, LED1_GPIO, LED2_GPIO, LED3_GPIO, local_start_gc(), OSC32_STARTUP, PASS, SCIF_OSC_MODE_2PIN_CRYSTAL_HICUR, scif_start_osc32(), and SLEEP.