aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SPC5/SPC560Bxx/typedefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/SPC5/SPC560Bxx/typedefs.h')
-rw-r--r--os/hal/ports/SPC5/SPC560Bxx/typedefs.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/os/hal/ports/SPC5/SPC560Bxx/typedefs.h b/os/hal/ports/SPC5/SPC560Bxx/typedefs.h
new file mode 100644
index 000000000..b798a3b5c
--- /dev/null
+++ b/os/hal/ports/SPC5/SPC560Bxx/typedefs.h
@@ -0,0 +1,38 @@
+/*
+ SPC5 HAL - Copyright (C) 2013 STMicroelectronics
+
+ 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 SPC560Bxx/typedefs.h
+ * @brief Dummy typedefs file.
+ */
+
+#ifndef _TYPEDEFS_H_
+#define _TYPEDEFS_H_
+
+#include <stdint.h>
+
+/*
+ * Derived generic types.
+ */
+typedef volatile int8_t vint8_t; /**< Volatile signed 8 bits. */
+typedef volatile uint8_t vuint8_t; /**< Volatile unsigned 8 bits. */
+typedef volatile int16_t vint16_t; /**< Volatile signed 16 bits. */
+typedef volatile uint16_t vuint16_t; /**< Volatile unsigned 16 bits. */
+typedef volatile int32_t vint32_t; /**< Volatile signed 32 bits. */
+typedef volatile uint32_t vuint32_t; /**< Volatile unsigned 32 bits. */
+typedef volatile uint64_t vuint64_t; /**< Volatile unsigned 64 bits. */
+
+#endif /* _TYPEDEFS_H_ */