diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-26 10:21:30 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-05-26 10:21:30 +0900 |
commit | 91823d0fc141232cb7672de7432e05126078b574 (patch) | |
tree | d6e0d23bcd799588a74b196e577917ecd4422c52 /example-fs-bb48 | |
parent | 51cd47c3b76b1b96943ebf4319b9d982d9430521 (diff) |
Move kl_sim.h
Diffstat (limited to 'example-fs-bb48')
-rw-r--r-- | example-fs-bb48/adc_kl27z.c | 2 | ||||
-rw-r--r-- | example-fs-bb48/kl_sim.h | 31 |
2 files changed, 1 insertions, 32 deletions
diff --git a/example-fs-bb48/adc_kl27z.c b/example-fs-bb48/adc_kl27z.c index 56e4acc..515322c 100644 --- a/example-fs-bb48/adc_kl27z.c +++ b/example-fs-bb48/adc_kl27z.c @@ -31,7 +31,7 @@ #include <stdint.h> #include <stdlib.h> #include <chopstx.h> -#include "kl_sim.h" +#include <mcu/kl_sim.h> struct DMAMUX { volatile uint32_t CHCFG0; diff --git a/example-fs-bb48/kl_sim.h b/example-fs-bb48/kl_sim.h deleted file mode 100644 index 368ef30..0000000 --- a/example-fs-bb48/kl_sim.h +++ /dev/null @@ -1,31 +0,0 @@ -/* System Integration Module. */ -struct SIM { - volatile uint32_t SOPT1; /* System Options Register 1 */ - volatile uint32_t SOPT1CFG; /* SOPT1 Configuration Register */ - uint32_t reserved0[1023]; /* */ - volatile uint32_t SOPT2; /* System Options Register 2 */ - uint32_t reserved1[1]; /* */ - volatile uint32_t SOPT4; /* System Options Register 4 */ - volatile uint32_t SOPT5; /* System Options Register 5 */ - uint32_t reserved2[1]; /* */ - volatile uint32_t SOPT7; /* System Options Register 7 */ - uint32_t reserved3[2]; /* */ - volatile uint32_t SDID; /* System Device Identification Register */ - uint32_t reserved4[3]; /* */ - volatile uint32_t SCGC4; /* System Clock Gating Control Register 4 */ - volatile uint32_t SCGC5; /* System Clock Gating Control Register 5 */ - volatile uint32_t SCGC6; /* System Clock Gating Control Register 6 */ - volatile uint32_t SCGC7; /* System Clock Gating Control Register 7 */ - volatile uint32_t CLKDIV1; /* System Clock Divider Register 1 */ - uint32_t reserved5[1]; /* */ - volatile uint32_t FCFG1; /* Flash Configuration Register 1 */ - volatile uint32_t FCFG2; /* Flash Configuration Register 2 */ - uint32_t reserved6[1]; /* */ - volatile uint32_t UIDMH; /* Unique Identification Register Mid-High */ - volatile uint32_t UIDML; /* Unique Identification Register Mid Low */ - volatile uint32_t UIDL; /* Unique Identification Register Low */ - uint32_t reserved7[39]; /* */ - volatile uint32_t COPC; /* COP Control Register */ - volatile uint32_t SRVCOP; /* Service COP */ -}; -static struct SIM *const SIM = (struct SIM *const)0x40047000; |