aboutsummaryrefslogtreecommitdiffstats
path: root/ports/AVR
diff options
context:
space:
mode:
Diffstat (limited to 'ports/AVR')
-rw-r--r--ports/AVR/chcore.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h
index a03e58acc..141255d8b 100644
--- a/ports/AVR/chcore.h
+++ b/ports/AVR/chcore.h
@@ -45,6 +45,7 @@
*/
typedef uint8_t stkalign_t;
+/** @cond never */
/**
* Interrupt saved context.
* @note The field @p _next is not part of the context, it represents the
@@ -69,7 +70,9 @@ struct extctx {
uint8_t r0;
uint16_t pc;
};
+/** @endcond */
+/** @cond never */
/**
* System saved context.
* @note The field @p _next is not part of the context, it represents the
@@ -100,15 +103,17 @@ struct intctx {
uint8_t pcl;
uint8_t pch;
};
+/** @endcond */
+/** @cond never */
/**
- * Platform dependent part of the @p Thread structure.
* In the AVR 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.