From 6ef72d92b4490a168644838daec4ede202c8f458 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sat, 4 Mar 2017 22:02:39 +0000 Subject: Change header guards to reflect new structure. --- reg.h | 6 +++--- reg/gpio.h | 6 +++--- reg/mcg.h | 6 +++--- reg/pit.h | 6 +++--- reg/pmc.h | 6 +++--- reg/port.h | 6 +++--- reg/regdefs.h | 6 +++--- reg/sim.h | 6 +++--- reg/usbotg.h | 6 +++--- reg/wdog.h | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/reg.h b/reg.h index 8d316e0..0330eaf 100644 --- a/reg.h +++ b/reg.h @@ -1,5 +1,5 @@ -#ifndef LIB_REG_H -#define LIB_REG_H +#ifndef MK20DX256_REG_H +#define MK20DX256_REG_H #include #include @@ -42,4 +42,4 @@ //#include //#include -#endif /* LIB_REG_H */ +#endif /* MK20DX256_REG_H */ diff --git a/reg/gpio.h b/reg/gpio.h index 6bb8d34..642110f 100644 --- a/reg/gpio.h +++ b/reg/gpio.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 @@ -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 */ diff --git a/reg/mcg.h b/reg/mcg.h index bc1afcf..4b2ab6c 100644 --- a/reg/mcg.h +++ b/reg/mcg.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 @@ -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 */ diff --git a/reg/pit.h b/reg/pit.h index aafe520..db155dc 100644 --- a/reg/pit.h +++ b/reg/pit.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 */ diff --git a/reg/pmc.h b/reg/pmc.h index 4aef0be..3bfa128 100644 --- a/reg/pmc.h +++ b/reg/pmc.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 @@ -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 */ diff --git a/reg/port.h b/reg/port.h index 76b8d9c..55e30bc 100644 --- a/reg/port.h +++ b/reg/port.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 @@ -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 @@ -26,4 +26,4 @@ #define BITS(n) (0xffffffff >> (32 - (n))) -#endif /* LIB_REG_REGDEFS_H */ +#endif /* MK20DX256_REG_REGDEFS_H */ diff --git a/reg/sim.h b/reg/sim.h index 59b9107..a9559b1 100644 --- a/reg/sim.h +++ b/reg/sim.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 @@ -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 */ diff --git a/reg/wdog.h b/reg/wdog.h index a2596c8..8b3b23e 100644 --- a/reg/wdog.h +++ b/reg/wdog.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 @@ -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 */ -- cgit v1.2.3-54-g00ecf