Loading...
Searching...
No Matches
mcg.h File Reference

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

Detailed Description

Interface definition for the Kinetis MCG driver.

Author
Johann Fischer j.fis.nosp@m.cher.nosp@m.@phyt.nosp@m.ec.d.nosp@m.e
Joakim NohlgÄrd joaki.nosp@m.m.no.nosp@m.hlgar.nosp@m.d@ei.nosp@m.stec..nosp@m.se

Definition in file mcg.h.

#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.
 
#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.