aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/KINETIS/KL2x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-11 13:56:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-11 13:56:55 +0000
commitfa1aeb7e9a376489ba47b04d3aadeb273c7b6b9f (patch)
tree538272aab73f4678c19e563976c3e37df40e87b5 /os/hal/ports/KINETIS/KL2x
parent1979996549d3b0879e3318528dde920009b87331 (diff)
downloadChibiOS-fa1aeb7e9a376489ba47b04d3aadeb273c7b6b9f.tar.gz
ChibiOS-fa1aeb7e9a376489ba47b04d3aadeb273c7b6b9f.tar.bz2
ChibiOS-fa1aeb7e9a376489ba47b04d3aadeb273c7b6b9f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7622 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/KINETIS/KL2x')
-rw-r--r--os/hal/ports/KINETIS/KL2x/hal_lld.c2
-rw-r--r--os/hal/ports/KINETIS/KL2x/hal_lld.h2
-rw-r--r--os/hal/ports/KINETIS/KL2x/kinetis_registry.h104
-rw-r--r--os/hal/ports/KINETIS/KL2x/kinetis_tpm.h240
-rw-r--r--os/hal/ports/KINETIS/KL2x/pal_lld.c2
-rw-r--r--os/hal/ports/KINETIS/KL2x/pal_lld.h2
-rw-r--r--os/hal/ports/KINETIS/KL2x/pwm_lld.c2
-rw-r--r--os/hal/ports/KINETIS/KL2x/pwm_lld.h2
-rw-r--r--os/hal/ports/KINETIS/KL2x/serial_lld.c2
-rw-r--r--os/hal/ports/KINETIS/KL2x/serial_lld.h2
-rw-r--r--os/hal/ports/KINETIS/KL2x/st_lld.c2
-rw-r--r--os/hal/ports/KINETIS/KL2x/st_lld.h2
12 files changed, 182 insertions, 182 deletions
diff --git a/os/hal/ports/KINETIS/KL2x/hal_lld.c b/os/hal/ports/KINETIS/KL2x/hal_lld.c
index 63773936f..fcc198c0b 100644
--- a/os/hal/ports/KINETIS/KL2x/hal_lld.c
+++ b/os/hal/ports/KINETIS/KL2x/hal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/hal_lld.h b/os/hal/ports/KINETIS/KL2x/hal_lld.h
index 4be6a041e..08a73696d 100644
--- a/os/hal/ports/KINETIS/KL2x/hal_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/hal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2014 Fabio Utzig
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
index 8952da0e2..2da08cb38 100644
--- a/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
+++ b/os/hal/ports/KINETIS/KL2x/kinetis_registry.h
@@ -1,52 +1,52 @@
-/*
- ChibiOS/HAL - Copyright (C) 2014 Derek Mulcahy
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file KL2x/kinetis_registry.h
- * @brief KL2x capabilities registry.
- *
- * @addtogroup HAL
- * @{
- */
-
-#ifndef _KINETIS_REGISTRY_H_
-#define _KINETIS_REGISTRY_H_
-
-/*===========================================================================*/
-/* Platform capabilities. */
-/*===========================================================================*/
-
-/**
- * @name KL2x capabilities
- * @{
- */
-
-/* EXT attributes.*/
-#define KINETIS_PORTA_IRQ_VECTOR VectorB8
-#define KINETIS_PORTD_IRQ_VECTOR VectorBC
-
-/* ADC attributes.*/
-#define KINETIS_HAS_ADC0 TRUE
-#define KINETIS_ADC0_IRC_VECTOR Vector7C
-
-/* I2C attributes.*/
-#define KINETIS_I2C0_IRQ_VECTOR Vector60
-
-/** @} */
-
-#endif /* _KINETIS_REGISTRY_H_ */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file KL2x/kinetis_registry.h
+ * @brief KL2x capabilities registry.
+ *
+ * @addtogroup HAL
+ * @{
+ */
+
+#ifndef _KINETIS_REGISTRY_H_
+#define _KINETIS_REGISTRY_H_
+
+/*===========================================================================*/
+/* Platform capabilities. */
+/*===========================================================================*/
+
+/**
+ * @name KL2x capabilities
+ * @{
+ */
+
+/* EXT attributes.*/
+#define KINETIS_PORTA_IRQ_VECTOR VectorB8
+#define KINETIS_PORTD_IRQ_VECTOR VectorBC
+
+/* ADC attributes.*/
+#define KINETIS_HAS_ADC0 TRUE
+#define KINETIS_ADC0_IRC_VECTOR Vector7C
+
+/* I2C attributes.*/
+#define KINETIS_I2C0_IRQ_VECTOR Vector60
+
+/** @} */
+
+#endif /* _KINETIS_REGISTRY_H_ */
+
+/** @} */
diff --git a/os/hal/ports/KINETIS/KL2x/kinetis_tpm.h b/os/hal/ports/KINETIS/KL2x/kinetis_tpm.h
index c29350bba..7455d7609 100644
--- a/os/hal/ports/KINETIS/KL2x/kinetis_tpm.h
+++ b/os/hal/ports/KINETIS/KL2x/kinetis_tpm.h
@@ -1,120 +1,120 @@
-/*
- ChibiOS/HAL - Copyright (C) 2014 Adam J. Porter
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-/**
- * @file KL2x/kinetis_tpm.h
- * @brief Kinetis TPM registers layout header.
- *
- * @addtogroup HAL
- * @{
- */
-
-#ifndef _KINETIS_TPM_H_
-#define _KINETIS_TPM_H_
-
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
-
-/**
- * @name TPM_SC register
- * @{
- */
-#define TPM_SC_CMOD_DISABLE (0 << 3)
-#define TPM_SC_CMOD_LPTPM_CLK (1 << 3)
-#define TPM_SC_CMOD_LPTPM_EXTCLK (2 << 3)
-#define TPM_SC_CPWMS (1 << 5)
-#define TPM_SC_TOIE (1 << 6)
-#define TPM_SC_TOF (1 << 7)
-#define TPM_SC_DMA (1 << 8)
-/** @} */
-
-/**
- * @name TPM_MOD register
- * @{
- */
-#define TPM_MOD_MASK (0xFFFF)
-/** @} */
-
-/**
- * @name TPM_CnSC register
- * @{
- */
-#define TPM_CnSC_DMA (1 << 0)
-#define TPM_CnSC_ELSA (1 << 2)
-#define TPM_CnSC_ELSB (1 << 3)
-#define TPM_CnSC_MSA (1 << 4)
-#define TPM_CnSC_MSB (1 << 5)
-#define TPM_CnSC_CHIE (1 << 6)
-#define TPM_CnSC_CHF (1 << 7)
-/** @} */
-
-/**
- * @name TPM_CnV register
- * @{
- */
-#define TPM_CnV_VAL_MASK (0xFFFF)
-/** @} */
-
-/**
- * @name TPM_STATUS register
- * @{
- */
-#define TPM_STATUS_CH0F (1 << 0)
-#define TPM_STATUS_CH1F (1 << 1)
-#define TPM_STATUS_CH2F (1 << 2)
-#define TPM_STATUS_CH3F (1 << 3)
-#define TPM_STATUS_CH4F (1 << 4)
-#define TPM_STATUS_CH5F (1 << 5)
-#define TPM_STATUS_TOF (1 << 8)
-/** @} */
-
-/**
- * @name TPM_CONF register
- * @{
- */
-#define TPM_CONF_DOZEEN (1 << 5)
-#define TPM_CONF_DBGMODE_CONT (3 << 6)
-#define TPM_CONF_DBGMODE_PAUSE (0 << 6)
-#define TPM_CONF_GTBEEN (1 << 9)
-#define TPM_CONF_CSOT (1 << 16)
-#define TPM_CONF_CSOO (1 << 17)
-#define TPM_CONF_CROT (1 << 18)
-#define TPM_CONF_TRGSEL(n) ((n) << 24)
-/** @{ */
-
-/*===========================================================================*/
-/* Driver pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Driver macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-#endif /* _KINETIS_TPM_H_ */
-
-/** @} */
+/*
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/**
+ * @file KL2x/kinetis_tpm.h
+ * @brief Kinetis TPM registers layout header.
+ *
+ * @addtogroup HAL
+ * @{
+ */
+
+#ifndef _KINETIS_TPM_H_
+#define _KINETIS_TPM_H_
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
+/**
+ * @name TPM_SC register
+ * @{
+ */
+#define TPM_SC_CMOD_DISABLE (0 << 3)
+#define TPM_SC_CMOD_LPTPM_CLK (1 << 3)
+#define TPM_SC_CMOD_LPTPM_EXTCLK (2 << 3)
+#define TPM_SC_CPWMS (1 << 5)
+#define TPM_SC_TOIE (1 << 6)
+#define TPM_SC_TOF (1 << 7)
+#define TPM_SC_DMA (1 << 8)
+/** @} */
+
+/**
+ * @name TPM_MOD register
+ * @{
+ */
+#define TPM_MOD_MASK (0xFFFF)
+/** @} */
+
+/**
+ * @name TPM_CnSC register
+ * @{
+ */
+#define TPM_CnSC_DMA (1 << 0)
+#define TPM_CnSC_ELSA (1 << 2)
+#define TPM_CnSC_ELSB (1 << 3)
+#define TPM_CnSC_MSA (1 << 4)
+#define TPM_CnSC_MSB (1 << 5)
+#define TPM_CnSC_CHIE (1 << 6)
+#define TPM_CnSC_CHF (1 << 7)
+/** @} */
+
+/**
+ * @name TPM_CnV register
+ * @{
+ */
+#define TPM_CnV_VAL_MASK (0xFFFF)
+/** @} */
+
+/**
+ * @name TPM_STATUS register
+ * @{
+ */
+#define TPM_STATUS_CH0F (1 << 0)
+#define TPM_STATUS_CH1F (1 << 1)
+#define TPM_STATUS_CH2F (1 << 2)
+#define TPM_STATUS_CH3F (1 << 3)
+#define TPM_STATUS_CH4F (1 << 4)
+#define TPM_STATUS_CH5F (1 << 5)
+#define TPM_STATUS_TOF (1 << 8)
+/** @} */
+
+/**
+ * @name TPM_CONF register
+ * @{
+ */
+#define TPM_CONF_DOZEEN (1 << 5)
+#define TPM_CONF_DBGMODE_CONT (3 << 6)
+#define TPM_CONF_DBGMODE_PAUSE (0 << 6)
+#define TPM_CONF_GTBEEN (1 << 9)
+#define TPM_CONF_CSOT (1 << 16)
+#define TPM_CONF_CSOO (1 << 17)
+#define TPM_CONF_CROT (1 << 18)
+#define TPM_CONF_TRGSEL(n) ((n) << 24)
+/** @{ */
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+#endif /* _KINETIS_TPM_H_ */
+
+/** @} */
diff --git a/os/hal/ports/KINETIS/KL2x/pal_lld.c b/os/hal/ports/KINETIS/KL2x/pal_lld.c
index 24445efa3..ab0f52386 100644
--- a/os/hal/ports/KINETIS/KL2x/pal_lld.c
+++ b/os/hal/ports/KINETIS/KL2x/pal_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/pal_lld.h b/os/hal/ports/KINETIS/KL2x/pal_lld.h
index 663320152..361e38d4e 100644
--- a/os/hal/ports/KINETIS/KL2x/pal_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/pal_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/pwm_lld.c b/os/hal/ports/KINETIS/KL2x/pwm_lld.c
index 6e953a091..e04eb53b1 100644
--- a/os/hal/ports/KINETIS/KL2x/pwm_lld.c
+++ b/os/hal/ports/KINETIS/KL2x/pwm_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/HAL - Copyright (C) 2014 Adam J. Porter
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/pwm_lld.h b/os/hal/ports/KINETIS/KL2x/pwm_lld.h
index 078f42388..8eb11253d 100644
--- a/os/hal/ports/KINETIS/KL2x/pwm_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/pwm_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/HAL - Copyright (C) 2014 Adam J. Porter
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/serial_lld.c b/os/hal/ports/KINETIS/KL2x/serial_lld.c
index 598b19d5d..af9addd04 100644
--- a/os/hal/ports/KINETIS/KL2x/serial_lld.c
+++ b/os/hal/ports/KINETIS/KL2x/serial_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/serial_lld.h b/os/hal/ports/KINETIS/KL2x/serial_lld.h
index f9db6f129..2a3817aaa 100644
--- a/os/hal/ports/KINETIS/KL2x/serial_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/serial_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/st_lld.c b/os/hal/ports/KINETIS/KL2x/st_lld.c
index b0b731b99..f181b579d 100644
--- a/os/hal/ports/KINETIS/KL2x/st_lld.c
+++ b/os/hal/ports/KINETIS/KL2x/st_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/hal/ports/KINETIS/KL2x/st_lld.h b/os/hal/ports/KINETIS/KL2x/st_lld.h
index 9c548a343..7d8ba412b 100644
--- a/os/hal/ports/KINETIS/KL2x/st_lld.h
+++ b/os/hal/ports/KINETIS/KL2x/st_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.