#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 scif_pll_opt_t::div, gc_dfllif_ref_opt, scif_pll_opt_t::lockcount, scif_pll_opt_t::mul, opt, scif_pll_opt_t::osc, pcl_configure_clocks(), pcl_dfll_freq_param, pcl_freq_param_t, PCL_MC_DFLL0, scif_pll_opt_t::pll_div2, scif_pll_opt_t::pll_freq, scif_pll_opt_t::pll_wbwdisable, PM_CLK_DOMAIN_0, PM_CLK_DOMAIN_1, PM_CLK_DOMAIN_2, PM_CLK_DOMAIN_3, PM_CLK_DOMAIN_4, PM_CLK_SRC_OSC0, PM_CLK_SRC_PLL0, pm_set_clk_domain_div(), pm_set_mclk_source(), scif_configure_osc_crystalmode(), scif_enable_osc(), SCIF_GCCTRL_SLOWCLOCK, SCIF_OSC0, SCIF_PLL0, scif_pll_enable(), scif_pll_setup(), and scif_wait_for_pll_locked().
Referenced by main().
|
static |
Initializes the HSB bus matrix (use last master as default for the flash controller)
Referenced by main().
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().