diff options
Diffstat (limited to 'os/ports/GCC/PPC/chtypes.h')
-rw-r--r-- | os/ports/GCC/PPC/chtypes.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/os/ports/GCC/PPC/chtypes.h b/os/ports/GCC/PPC/chtypes.h index e6eedbde0..f0be524b6 100644 --- a/os/ports/GCC/PPC/chtypes.h +++ b/os/ports/GCC/PPC/chtypes.h @@ -60,16 +60,33 @@ typedef uint32_t eventmask_t; /**< Events mask. */ typedef uint32_t systime_t; /**< System time. */
typedef int32_t cnt_t; /**< Resources counter. */
-/** Inline function modifier. */
-#define INLINE inline
+/**
+ * @brief Inline function modifier.
+ */
+#define INLINE inline
+
+/**
+ * @brief ROM constant modifier.
+ * @note It is set to use the "const" keyword in this port.
+ */
+#define ROMCONST const
-/** Packed structure modifier (within). */
+/**
+ * @brief Packed structure modifier (within).
+ * @note It uses the "packed" GCC attribute.
+ */
#define PACK_STRUCT_STRUCT __attribute__((packed))
-/** Packed structure modifier (before). */
+/**
+ * @brief Packed structure modifier (before).
+ * @note Empty in this port.
+ */
#define PACK_STRUCT_BEGIN
-/** Packed structure modifier (after). */
+/**
+ * @brief Packed structure modifier (after).
+ * @note Empty in this port.
+ */
#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
|