Clock system example 2 configuration for AT32EVK1105.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | AVR32_PM_GCLK_GCLK2 2 |
Example configuration | |
#define | GCLK_ID AVR32_PM_GCLK_GCLK2 |
Generic clock ID. More... | |
#define | GCLK_PIN AVR32_PM_GCLK_2_1_PIN |
Generic clock output GPIO pin. More... | |
#define | GCLK_FUNCTION AVR32_PM_GCLK_2_1_FUNCTION |
Generic clock function for GPIO pin. More... | |
#define | GCLK_SOURCE GENCLK_SRC_PLL0 |
Generic clock source. More... | |
#define | GCLK_DIV 2 |
Generic clock divider. More... | |
#define AVR32_PM_GCLK_GCLK2 2 |
#define GCLK_DIV 2 |
Generic clock divider.
This is how much the generic clock should divide the frequency of the configured clock source by.
Referenced by main().
#define GCLK_FUNCTION AVR32_PM_GCLK_2_1_FUNCTION |
Generic clock function for GPIO pin.
This is the GPIO function for output of the generic clock with the configured ID on the GPIO pin.
Referenced by main().
#define GCLK_ID AVR32_PM_GCLK_GCLK2 |
#define GCLK_PIN AVR32_PM_GCLK_2_1_PIN |
Generic clock output GPIO pin.
This is the GPIO pin on which the generic clock signal will be output.
Referenced by main().
#define GCLK_SOURCE GENCLK_SRC_PLL0 |