diff options
Diffstat (limited to 'ports/MSP430')
-rw-r--r-- | ports/MSP430/chcore.c | 2 | ||||
-rw-r--r-- | ports/MSP430/chcore.h | 2 | ||||
-rw-r--r-- | ports/MSP430/chtypes.h | 22 |
3 files changed, 16 insertions, 10 deletions
diff --git a/ports/MSP430/chcore.c b/ports/MSP430/chcore.c index 2f147c2fc..4a9857494 100644 --- a/ports/MSP430/chcore.c +++ b/ports/MSP430/chcore.c @@ -18,6 +18,8 @@ */
/**
+ * @file ports/MSP430/chcore.c
+ * @brief MSP430 architecture port code.
* @addtogroup MSP430_CORE
* @{
*/
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index 9c42487f2..dd0fbc3fb 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -18,6 +18,8 @@ */
/**
+ * @file ports/MSP430/chcore.h
+ * @brief MSP430 architecture port macros and structures.
* @addtogroup MSP430_CORE
* @{
*/
diff --git a/ports/MSP430/chtypes.h b/ports/MSP430/chtypes.h index 218617cfe..f8d7c944a 100644 --- a/ports/MSP430/chtypes.h +++ b/ports/MSP430/chtypes.h @@ -18,7 +18,9 @@ */
/**
- * @addtogroup Core
+ * @file ports/MSP430/chtypes.h
+ * @brief MSP430 architecture port system types.
+ * @addtogroup MSP430_CORE
* @{
*/
@@ -34,15 +36,15 @@ #include <stdint.h>
#endif
-typedef int16_t bool_t; /* Signed boolean. */
-typedef uint8_t tmode_t; /* Thread mode flags, uint8_t is ok. */
-typedef uint8_t tstate_t; /* Thread state, uint8_t is ok. */
-typedef uint16_t tprio_t; /* Priority, use the fastest unsigned type. */
-typedef int16_t msg_t; /* Message, use signed pointer equivalent.*/
-typedef int16_t eventid_t; /* Event Id, use fastest signed.*/
-typedef uint16_t eventmask_t;/* Event Mask, recommended fastest unsigned.*/
-typedef uint16_t systime_t; /* System Time, recommended fastest unsigned.*/
-typedef int16_t cnt_t; /* Counter, recommended fastest signed.*/
+typedef int16_t bool_t; /**< Fast boolean type. */
+typedef uint8_t tmode_t; /**< Thread flags. */
+typedef uint8_t tstate_t; /**< Thread state. */
+typedef uint16_t tprio_t; /**< Thread priority. */
+typedef int16_t msg_t; /**< Inter-thread message. */
+typedef int16_t eventid_t; /**< Event Id. */
+typedef uint16_t eventmask_t; /**< Events mask. */
+typedef uint16_t systime_t; /**< System time. */
+typedef int16_t cnt_t; /**< Resources counter. */
#define INLINE inline
#define PACK_STRUCT_STRUCT __attribute__((packed))
|