Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2019-06-10 13:59:54 +0300
committerKarl Palsson <karlp@etactica.com>2019-06-10 13:59:54 +0300
commitd66c8677dfc0526722209455453c45a920552355 (patch)
tree122e49a3b15dfbec4c4abcb7d70289d0e4179018
parent9e42251d6fae9007766d024b92970aa1afe8c2ef (diff)
doc: fix example syntax
@example is for including a file containing the example code.
-rw-r--r--include/libopencm3/cm3/cortex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libopencm3/cm3/cortex.h b/include/libopencm3/cm3/cortex.h
index cca18b38..7065c2bd 100644
--- a/include/libopencm3/cm3/cortex.h
+++ b/include/libopencm3/cm3/cortex.h
@@ -186,7 +186,7 @@ static inline uint32_t __cm_atomic_set(uint32_t *val)
* @note It is safe to use this block inside normal code and in interrupt
* routine.
*
- * @example 1: Basic usage of atomic block
+ * Basic usage of atomic block
*
* @code
* uint64_t value; // This value is used somewhere in interrupt
@@ -198,7 +198,7 @@ static inline uint32_t __cm_atomic_set(uint32_t *val)
* } // interrupts is restored automatically
* @endcode
*
- * @example 2: Use of return inside block:
+ * Use of return inside block
*
* @code
* uint64_t value; // This value is used somewhere in interrupt
@@ -237,7 +237,7 @@ static inline uint32_t __cm_atomic_set(uint32_t *val)
* @note It is safe to use this block inside normal code and in interrupt
* routine.
*
- * @example 1: Basic usage of atomic context
+ * Basic usage of atomic context
*
* @code
* uint64_t value; // This value is used somewhere in interrupt
@@ -253,7 +253,7 @@ static inline uint32_t __cm_atomic_set(uint32_t *val)
* } // interrupts is restored automatically
* @endcode
*
- * @example 2: Usage of atomic context inside atomic reader fcn.
+ * Usage of atomic context inside atomic reader fcn.
*
* @code
* uint64_t value; // This value is used somewhere in interrupt