diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-04 22:02:39 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-04 22:02:39 +0000 |
commit | 6ef72d92b4490a168644838daec4ede202c8f458 (patch) | |
tree | a0df16eb695be18c8febac7bc9375d4a38c7d19f | |
parent | 7c6c15e2fe40b1d793616d26c148e4e3a08df879 (diff) | |
download | mk20dx256-6ef72d92b4490a168644838daec4ede202c8f458.tar.gz mk20dx256-6ef72d92b4490a168644838daec4ede202c8f458.tar.xz mk20dx256-6ef72d92b4490a168644838daec4ede202c8f458.zip |
Change header guards to reflect new structure.
-rw-r--r-- | reg.h | 6 | ||||
-rw-r--r-- | reg/gpio.h | 6 | ||||
-rw-r--r-- | reg/mcg.h | 6 | ||||
-rw-r--r-- | reg/pit.h | 6 | ||||
-rw-r--r-- | reg/pmc.h | 6 | ||||
-rw-r--r-- | reg/port.h | 6 | ||||
-rw-r--r-- | reg/regdefs.h | 6 | ||||
-rw-r--r-- | reg/sim.h | 6 | ||||
-rw-r--r-- | reg/usbotg.h | 6 | ||||
-rw-r--r-- | reg/wdog.h | 6 |
10 files changed, 30 insertions, 30 deletions
@@ -1,5 +1,5 @@ -#ifndef LIB_REG_H -#define LIB_REG_H +#ifndef MK20DX256_REG_H +#define MK20DX256_REG_H #include <reg/port.h> #include <reg/sim.h> @@ -42,4 +42,4 @@ //#include <reg/tsi.h> //#include <reg/jtagc.h> -#endif /* LIB_REG_H */ +#endif /* MK20DX256_REG_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_GPIO_H -#define LIB_REG_GPIO_H +#ifndef MK20DX256_REG_GPIO_H +#define MK20DX256_REG_GPIO_H #include <reg/regdefs.h> @@ -38,4 +38,4 @@ #define GPIOE_PDIR REG_32(0x400FF110) /* Port Data Input Register */ #define GPIOE_PDDR REG_32(0x400FF114) /* Port Data Direction Register */ -#endif /* LIB_REG_GPIO_H */ +#endif /* MK20DX256_REG_GPIO_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_MCG_H -#define LIB_REG_MCG_H +#ifndef MK20DX256_REG_MCG_H +#define MK20DX256_REG_MCG_H #include <reg/regdefs.h> @@ -53,4 +53,4 @@ #define MCG_C7 REG_8(0x4006400C) /* MCG Control 7 Register */ #define MCG_C8 REG_8(0x4006400D) /* MCG Control 8 Register */ -#endif /* LIB_REG_MCG_H */ +#endif /* MK20DX256_REG_MCG_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_PIT_H -#define LIB_REG_PIT_H +#ifndef MK20DX256_REG_PIT_H +#define MK20DX256_REG_PIT_H #include "regdefs.h" @@ -28,4 +28,4 @@ #define PIT_TFLG(n) REG_32(0x4003710C + 16 * (n)) #define TFLG_TIF 0 // Timer Interrupt Flag -#endif /* LIB_REG_PIT_H */ +#endif /* MK20DX256_REG_PIT_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_PMC_H -#define LIB_REG_PMC_H +#ifndef MK20DX256_REG_PMC_H +#define MK20DX256_REG_PMC_H #include <reg/regdefs.h> @@ -24,4 +24,4 @@ #define REGSC_REGONS 2 /* Regulator In Run Regulation Status */ #define REGSC_BGBE 1 /* Bandgap Buffer Enable */ -#endif /* LIB_REG_PMC_H */ +#endif /* MK20DX256_REG_PMC_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_PORT_H -#define LIB_REG_PORT_H +#ifndef MK20DX256_REG_PORT_H +#define MK20DX256_REG_PORT_H #include <reg/regdefs.h> @@ -39,4 +39,4 @@ #define PORTD_ISFR REG_32(0x4004C0A0) /* Interrupt Status Flag Register */ #define PORTE_ISFR REG_32(0x4004D0A0) /* Interrupt Status Flag Register */ -#endif /* LIB_REG_PORT_H */ +#endif /* MK20DX256_REG_PORT_H */ diff --git a/reg/regdefs.h b/reg/regdefs.h index fa14689..802d7c0 100644 --- a/reg/regdefs.h +++ b/reg/regdefs.h @@ -1,5 +1,5 @@ -#ifndef LIB_REG_REGDEFS_H -#define LIB_REG_REGDEFS_H +#ifndef MK20DX256_REG_REGDEFS_H +#define MK20DX256_REG_REGDEFS_H #include <stdint.h> @@ -26,4 +26,4 @@ #define BITS(n) (0xffffffff >> (32 - (n))) -#endif /* LIB_REG_REGDEFS_H */ +#endif /* MK20DX256_REG_REGDEFS_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_SIM_H -#define LIB_REG_SIM_H +#ifndef MK20DX256_REG_SIM_H +#define MK20DX256_REG_SIM_H #include <reg/regdefs.h> @@ -108,4 +108,4 @@ // Unique Identification Register Low #define SIM_UIDL REG_32(0x40048060) -#endif /* LIB_REG_SIM_H */ +#endif /* MK20DX256_REG_SIM_H */ diff --git a/reg/usbotg.h b/reg/usbotg.h index 1343581..a806cbf 100644 --- a/reg/usbotg.h +++ b/reg/usbotg.h @@ -1,5 +1,5 @@ -#ifndef LIB_REG_USBOTG_H -#define LIB_REG_USBOTG_H +#ifndef MK20DX256_REG_USBOTG_H +#define MK20DX256_REG_USBOTG_H #include "regdefs.h" @@ -230,4 +230,4 @@ struct usb0_bd { #define BD_TOK_PID_TIMEOUT 0x0 #define BD_TOK_PID_ERROR 0xf -#endif /* LIB_REG_USBOTG_H */ +#endif /* MK20DX256_REG_USBOTG_H */ @@ -1,5 +1,5 @@ -#ifndef LIB_REG_WDOG_H -#define LIB_REG_WDOG_H +#ifndef MK20DX256_REG_WDOG_H +#define MK20DX256_REG_WDOG_H #include <reg/regdefs.h> @@ -34,4 +34,4 @@ #define WDOG_RSTCNT REG_16(0x40052014) /* Watchdog Reset Count register */ #define WDOG_PRESC REG_16(0x40052016) /* Watchdog Prescaler register */ -#endif /* LIB_REG_WDOG_H */ +#endif /* MK20DX256_REG_WDOG_H */ |