#include "compiler.h"
#include "preprocessor.h"
#include "board.h"
#include "pm.h"
#include "gpio.h"
Macros | |
#define | INSERT_GPIO_LOCAL_TGL_GPIO_PIN(idx, pin) gpio_local_tgl_gpio_pin(pin); |
Pin Configuration | |
#define | GPIO_PIN_EXAMPLE AVR32_PIN_PA10 |
Functions | |
static void | clockfrequencies_configure (void) |
static void | init_hmatrix (void) |
Initializes the HSB bus matrix (use last master as default for the flash controller) More... | |
int | main (void) |
This is an example showing how to toggle a GPIO pin at high speed. More... | |
#define GPIO_PIN_EXAMPLE AVR32_PIN_PA10 |
Referenced by main().
#define INSERT_GPIO_LOCAL_TGL_GPIO_PIN | ( | idx, | |
pin | |||
) | gpio_local_tgl_gpio_pin(pin); |
Referenced by main().
|
static |
References FOSC0, gc_dfllif_ref_opt, opt, pcl_configure_clocks(), pcl_dfll_freq_param, pcl_freq_param_t, PCL_MC_DFLL0, 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().
|
static |
Initializes the HSB bus matrix (use last master as default for the flash controller)
int main | ( | void | ) |
This is an example showing how to toggle a GPIO pin at high speed.
References clockfrequencies_configure(), gpio_local_enable_pin_output_driver(), gpio_local_init(), GPIO_PIN_EXAMPLE, init_hmatrix(), INSERT_GPIO_LOCAL_TGL_GPIO_PIN, and MREPEAT().