comparison Lib/mk20dx.h @ 333:772f9bea482b

Adding 72 MHz clock support for mk20dx256vlh7
author Jacob Alexander <haata@kiibohd.com>
date Mon, 20 Apr 2015 00:55:58 -0700
parents 9e31d92caf12
children 66eccdd9ced5
comparison
equal deleted inserted replaced
332:2e0074f75855 333:772f9bea482b
33 #define _mk20dx_h_ 33 #define _mk20dx_h_
34 34
35 // ----- Defines ----- 35 // ----- Defines -----
36 36
37 #if (F_CPU == 96000000) 37 #if (F_CPU == 96000000)
38 #define F_BUS 48000000 38 #define F_BUS 48000000
39 #define F_MEM 24000000 39 #define F_MEM 24000000
40 #elif (F_CPU == 72000000)
41 #define F_BUS 36000000
42 #define F_MEM 24000000
40 #elif (F_CPU == 48000000) 43 #elif (F_CPU == 48000000)
41 #define F_BUS 48000000 44 #define F_BUS 48000000
42 #define F_MEM 24000000 45 #define F_MEM 24000000
43 #elif (F_CPU == 24000000) 46 #elif (F_CPU == 24000000)
44 #define F_BUS 24000000 47 #define F_BUS 24000000
45 #define F_MEM 24000000 48 #define F_MEM 24000000
46 #endif 49 #endif
47 50
48 51
49 #ifndef NULL 52 #ifndef NULL
50 #define NULL ((void *)0) 53 #define NULL ((void *)0)