aboutsummaryrefslogtreecommitdiff
path: root/inc/platform/mem_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/platform/mem_types.h')
-rw-r--r--inc/platform/mem_types.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/inc/platform/mem_types.h b/inc/platform/mem_types.h
new file mode 100644
index 0000000..508e3f1
--- /dev/null
+++ b/inc/platform/mem_types.h
@@ -0,0 +1,49 @@
+/**
+*****************************************************************************************
+* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved.
+*****************************************************************************************
+ * @file Mem_types.h
+ * @brief define memory types for RAM
+ * @date 2017.6.6
+ * @version v1.0
+ * *************************************************************************************
+ * @attention
+ * <h2><center>&copy; COPYRIGHT 2017 Realtek Semiconductor Corporation</center></h2>
+ * *************************************************************************************
+ */
+
+#ifndef _MEM_TYPES_H_
+#define _MEM_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @defgroup MEM_CONFIG Memory Configure
+ * @{
+ */
+
+/*============================================================================*
+ * Types
+*============================================================================*/
+/** @defgroup MEM_CONFIG_Exported_Types Memory Configure Exported Types
+ * @{
+ */
+
+typedef enum
+{
+ RAM_TYPE_DATA_ON = 0,
+ RAM_TYPE_BUFFER_ON = 1,
+ RAM_TYPE_NUM = 2
+} RAM_TYPE;
+
+/** @} */ /* End of group MEM_TYPES_Exported_Types */
+
+/** @} */ /* End of group MEM_CONFIG */
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _MEM_TYPES_H_ */