diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-04 20:52:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-04 20:52:54 +0000 |
commit | 28c01b87044331834e27db841f11e440f658c263 (patch) | |
tree | 6ea4642d398c5f258ceb470c9eece20d8d5f4c3f /ports/ARMCM3 | |
parent | 37f18c5818832fe6d9e8389bea01ecd13598668a (diff) | |
download | ChibiOS-28c01b87044331834e27db841f11e440f658c263.tar.gz ChibiOS-28c01b87044331834e27db841f11e440f658c263.tar.bz2 ChibiOS-28c01b87044331834e27db841f11e440f658c263.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@717 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3')
-rw-r--r-- | ports/ARMCM3/chcore.c | 2 | ||||
-rw-r--r-- | ports/ARMCM3/chcore.h | 2 | ||||
-rw-r--r-- | ports/ARMCM3/chtypes.h | 27 | ||||
-rw-r--r-- | ports/ARMCM3/crt0.s | 9 |
4 files changed, 29 insertions, 11 deletions
diff --git a/ports/ARMCM3/chcore.c b/ports/ARMCM3/chcore.c index 8edbb658a..5f4b87dee 100644 --- a/ports/ARMCM3/chcore.c +++ b/ports/ARMCM3/chcore.c @@ -18,6 +18,8 @@ */
/**
+ * @file ports/ARMCM3/chcore.c
+ * @brief ARM Cortex-M3 architecture port code.
* @addtogroup ARMCM3_CORE
* @{
*/
diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h index 638995f1c..b45da04bb 100644 --- a/ports/ARMCM3/chcore.h +++ b/ports/ARMCM3/chcore.h @@ -18,6 +18,8 @@ */
/**
+ * @file ports/ARMCM3/chcore.h
+ * @brief ARM Cortex-M3 architecture port macros and structures.
* @addtogroup ARMCM3_CORE
* @{
*/
diff --git a/ports/ARMCM3/chtypes.h b/ports/ARMCM3/chtypes.h index 4f00eb65f..7373b9823 100644 --- a/ports/ARMCM3/chtypes.h +++ b/ports/ARMCM3/chtypes.h @@ -17,6 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * @file ports/ARMCM3/chtypes.h
+ * @brief ARM Cortex-M3 architecture port system types.
+ * @addtogroup ARMCM3_CORE
+ * @{
+ */
+
#ifndef _CHTYPES_H_
#define _CHTYPES_H_
@@ -29,15 +36,15 @@ #include <stdint.h>
#endif
-typedef int32_t bool_t;
-typedef uint8_t tmode_t;
-typedef uint8_t tstate_t;
-typedef uint32_t tprio_t;
-typedef int32_t msg_t;
-typedef int32_t eventid_t;
-typedef uint32_t eventmask_t;
-typedef uint32_t systime_t;
-typedef int32_t cnt_t;
+typedef int32_t bool_t; /**< Fast boolean type. */
+typedef uint8_t tmode_t; /**< Thread flags. */
+typedef uint8_t tstate_t; /**< Thread state. */
+typedef uint32_t tprio_t; /**< Thread priority. */
+typedef int32_t msg_t; /**< Inter-thread message. */
+typedef int32_t eventid_t; /**< Event Id. */
+typedef uint32_t eventmask_t; /**< Events mask. */
+typedef uint32_t systime_t; /**< System time. */
+typedef int32_t cnt_t; /**< Resources counter. */
#define INLINE inline
#define PACK_STRUCT_STRUCT __attribute__((packed))
@@ -45,3 +52,5 @@ typedef int32_t cnt_t; #define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
+
+/** @} */
diff --git a/ports/ARMCM3/crt0.s b/ports/ARMCM3/crt0.s index d31b36475..72b104a0c 100644 --- a/ports/ARMCM3/crt0.s +++ b/ports/ARMCM3/crt0.s @@ -17,8 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* - * Generic ARM-CortexM3 startup file for ChibiOS/RT. +/** + * @file ports/ARMCM3/crt0.s + * @brief Generic ARM Xortex-M3 startup file for ChibiOS/RT. + * @addtogroup ARMCM3_CORE + * @{ */ .set CONTROL_MODE_PRIVILEGED, 0 @@ -111,3 +114,5 @@ hwinit0: .weak hwinit1 hwinit1: bx lr + +/** @} */ |