Interface definition for the Kinetis MCG driver. More...
Interface definition for the Kinetis MCG driver.
Definition in file mcg.h.
#include "periph_conf.h"
Go to the source code of this file.
Macros | |
#define | CLOCK_CORECLOCK (MCGOUTCLK) |
Core clock frequency, used by the ARM core and certain hardware modules in Kinetis CPUs. | |
#define | CLOCK_BUSCLOCK (CLOCK_CORECLOCK / x) |
Bus clock frequency, used by several hardware modules in Kinetis CPUs. | |
Functions | |
int | kinetis_mcg_set_mode (kinetis_mcg_mode_t mode) |
Switch the MCG to the specified clocking mode. | |
void | kinetis_mcg_init (void) |
Initialize the MCG. | |