summaryrefslogtreecommitdiff
path: root/lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h')
-rw-r--r--lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h b/lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h
new file mode 100644
index 0000000..0a8299e
--- /dev/null
+++ b/lcmodule/source/cnh1605551_ldr_utilities/include/t_serialization.h
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (C) ST-Ericsson SA 2011
+ * License terms: 3-clause BSD license
+ ******************************************************************************/
+#ifndef _T_SERIALIZATION_H_
+#define _T_SERIALIZATION_H_
+
+/**
+ * @addtogroup ldr_utilities
+ * @{
+ * @addtogroup serialization
+ * @{
+ */
+
+/*******************************************************************************
+ * Includes
+ ******************************************************************************/
+#include "t_basicdefinitions.h"
+
+/*******************************************************************************
+ * Types, constants
+ ******************************************************************************/
+
+/** By default we use Little Endian ordering, this macro is declared to simplify
+ the calling of the function. */
+#define get_uint16 get_uint16_le
+/** By default we use Little Endian ordering, this macro is declared to simplify
+ the calling of the function. */
+#define get_uint32 get_uint32_le
+/** By default we use Little Endian ordering, this macro is declared to simplify
+ the calling of the function. */
+#define put_uint16 put_uint16_le
+/** By default we use Little Endian ordering, this macro is declared to simplify
+ the calling of the function. */
+#define put_uint32 put_uint32_le
+
+/** @} */
+/** @} */
+#endif /*T_SERIALIZATION_H_*/