Code from liamg with few edits to init seria comml and output counter.
Fork of MKL05CLK by
head.h
- Committer:
- donoman
- Date:
- 2014-04-12
- Revision:
- 3:985a40825e8d
- Parent:
- 2:1328c14aca66
File content as of revision 3:985a40825e8d:
//#head.h #define SIM_SDID (*(volatile unsigned long *)(0x40048024)) // Kinetis ID register #define PORTC_PCR3 (*(volatile unsigned long *)(0x4004B00C)) // PORTC_PCR3 Mux #define SIM_SOPT2 (*(volatile unsigned long *)(0x40048004)) // SIM Option Mux #define SIM_SCGC5 (*(volatile unsigned long *)(0x40048038)) // SIM Option Mux #define MCG_C1 (*(volatile unsigned char *)(0x40064000)) // MCG Register #define MCG_C2 (*(volatile unsigned char *)(0x40064001)) #define MCG_SC (*(volatile unsigned char *)(0x40064008))