aboutsummaryrefslogtreecommitdiffstats
path: root/ports/MSP430
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-19 10:41:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-19 10:41:54 +0000
commitf8b4fca89a8dd31989a3d21e4c6fb4175aba4110 (patch)
treeef434d3f17fdacc2db73bff3d8bc3ca62a1f0c19 /ports/MSP430
parentde5e04fc611f3b5cd5c16f39d1063c37110a9467 (diff)
downloadChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.tar.gz
ChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.tar.bz2
ChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@642 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/MSP430')
-rw-r--r--ports/MSP430/chcore.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h
index 642e53286..08240835a 100644
--- a/ports/MSP430/chcore.h
+++ b/ports/MSP430/chcore.h
@@ -50,6 +50,7 @@ typedef uint16_t stkalign_t;
*/
typedef void *regmsp_t;
+/** @cond never */
/**
* Interrupt saved context.
*/
@@ -61,9 +62,10 @@ struct extctx {
regmsp_t sr;
regmsp_t pc;
};
+/** @endcond */
+/** @cond never */
/**
- * System saved context.
* This structure represents the inner stack frame during a context switching.
*/
struct intctx {
@@ -77,15 +79,17 @@ struct intctx {
regmsp_t r11;
regmsp_t pc;
};
+/** @endcond */
+/** @cond never */
/**
- * Platform dependent part of the @p Thread structure.
* In the MSP430 port this structure just holds a pointer to the @p intctx
* structure representing the stack pointer at the time of the context switch.
*/
-typedef struct {
+struct context {
struct intctx *sp;
-} Context;
+};
+/** @endcond */
/**
* Platform dependent part of the @p chThdInit() API.