Clock system example 2 configuration for SAM4L-EK.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
Example configuration | |
#define | GCLK_ID 0 |
Generic clock ID. More... | |
#define | GCLK_PIN PIN_PA02A_SCIF_GCLK0 |
Generic clock output GPIO pin. More... | |
#define | GCLK_FUNCTION MUX_PA02A_SCIF_GCLK0 |
Generic clock function for GPIO pin. More... | |
#define | GCLK_SOURCE GENCLK_SRC_CLK_CPU |
Generic clock source. More... | |
#define | GCLK_DIV 1 |
Generic clock divider. More... | |
#define GCLK_DIV 1 |
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 MUX_PA02A_SCIF_GCLK0 |
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 0 |
#define GCLK_PIN PIN_PA02A_SCIF_GCLK0 |
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_CLK_CPU |