aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC564Axx/spc564a_registry.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-13 12:55:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-13 12:55:10 +0000
commit68c2e740e88734e275daa219ff786fc221a456f9 (patch)
tree73228aca5ba4e290b67a99a0830e951b1fd72dde /os/hal/platforms/SPC564Axx/spc564a_registry.h
parent1a9fd1ee48e30d0db5a5323fe222214c354aa397 (diff)
downloadChibiOS-68c2e740e88734e275daa219ff786fc221a456f9.tar.gz
ChibiOS-68c2e740e88734e275daa219ff786fc221a456f9.tar.bz2
ChibiOS-68c2e740e88734e275daa219ff786fc221a456f9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5422 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC564Axx/spc564a_registry.h')
-rw-r--r--os/hal/platforms/SPC564Axx/spc564a_registry.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC564Axx/spc564a_registry.h b/os/hal/platforms/SPC564Axx/spc564a_registry.h
new file mode 100644
index 000000000..a879ae012
--- /dev/null
+++ b/os/hal/platforms/SPC564Axx/spc564a_registry.h
@@ -0,0 +1,62 @@
+/*
+ * Licensed under ST Liberty SW License Agreement V2, (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.st.com/software_license_agreement_liberty_v2
+ *
+ * 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 SPC564Axx/spc564a_registry.h
+ * @brief SPC564Axx capabilities registry.
+ *
+ * @addtogroup HAL
+ * @{
+ */
+
+#ifndef _SPC563M_REGISTRY_H_
+#define _SPC563M_REGISTRY_H_
+
+/*===========================================================================*/
+/* Platform capabilities. */
+/*===========================================================================*/
+
+/**
+ * @name SPC564Axx capabilities
+ * @{
+ */
+/* eDMA attributes.*/
+#define SPC5_HAS_EDMAA TRUE
+#define SPC5_EDMA_NCHANNELS 64
+#define SPC5_EDMA_HAS_MUX FALSE
+
+/* eQADC attributes.*/
+#define SPC5_HAS_EQADC TRUE
+
+/* eSCI attributes.*/
+#define SPC5_HAS_ESCIA TRUE
+#define SPC5_ESCIA_HANDLER vector146
+#define SPC5_ESCIA_NUMBER 146
+
+#define SPC5_HAS_ESCIB TRUE
+#define SPC5_ESCIB_HANDLER vector149
+#define SPC5_ESCIB_NUMBER 149
+
+#define SPC5_HAS_ESCIC TRUE
+#define SPC5_ESCIB_HANDLER vector473
+#define SPC5_ESCIB_NUMBER 473
+
+/* SIU attributes.*/
+#define SPC5_HAS_SIU TRUE
+#define SPC5_SIU_SUPPORTS_PORTS FALSE
+/** @} */
+
+#endif /* _SPC563M_REGISTRY_H_ */
+
+/** @} */