Code from liamg with few edits to init seria comml and output counter.

Dependencies:   mbed

Fork of MKL05CLK by Liam G

Committer:
donoman
Date:
Sat Apr 12 00:54:25 2014 +0000
Revision:
3:985a40825e8d
Parent:
2:1328c14aca66
YEAH BOYEE;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
donoman 3:985a40825e8d 1 //#head.h
liamg 0:0d020b1f3308 2
donoman 2:1328c14aca66 3 #define SIM_SDID (*(volatile unsigned long *)(0x40048024)) // Kinetis ID register
donoman 2:1328c14aca66 4 #define PORTC_PCR3 (*(volatile unsigned long *)(0x4004B00C)) // PORTC_PCR3 Mux
donoman 3:985a40825e8d 5 #define SIM_SOPT2 (*(volatile unsigned long *)(0x40048004)) // SIM Option Mux
donoman 3:985a40825e8d 6 #define SIM_SCGC5 (*(volatile unsigned long *)(0x40048038)) // SIM Option Mux
donoman 3:985a40825e8d 7
donoman 3:985a40825e8d 8 #define MCG_C1 (*(volatile unsigned char *)(0x40064000)) // MCG Register
donoman 3:985a40825e8d 9 #define MCG_C2 (*(volatile unsigned char *)(0x40064001))
donoman 3:985a40825e8d 10 #define MCG_SC (*(volatile unsigned char *)(0x40064008))