mcg.h File Reference

Interface definition for the Kinetis MCG driver. More...

Detailed Description

#include "periph_conf.h"
+ Include dependency graph for mcg.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. More...
 
#define CLOCK_BUSCLOCK   (CLOCK_CORECLOCK / x)
 Bus clock frequency, used by several hardware modules in Kinetis CPUs. More...
 

Functions

int kinetis_mcg_set_mode (kinetis_mcg_mode_t mode)
 Switch the MCG to the specified clocking mode. More...
 
void kinetis_mcg_init (void)
 Initialize the MCG. More...