• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テスト用のあれこれ共用フォルダ


Commit MetaInfo

修订版1d277c4c9a15d2a7c34daace6108529ba2a724c2 (tree)
时间2018-02-03 23:02:33
作者takemasa <suikan@user...>
Commitertakemasa

Log Message

Editing doxygen comment. Add the structure to User's guide by page and
supage command.

更改概述

差异

--- a/stm32_development/murasaki/murasaki/murasaki_ug.hpp
+++ b/stm32_development/murasaki/murasaki/murasaki_ug.hpp
@@ -9,13 +9,19 @@
99 #ifndef MURASAKI_UG_HPP_
1010 #define MURASAKI_UG_HPP_
1111
12-
1312 /**
1413 * \page murasaki_ug A user's guide of Murasaki Class Library
14+ * \subpage murasaki_ug_design
15+ * \subpage murasaki_ug_usage
16+ * \subpage murasaki ug_configration
17+ */
18+
19+/**
20+ * \page murasaki_ug_design Design Philosophy
1521 * Murasaki, is a class library on the STM32 HAL and FreeRTOS. By using murasaki,
1622 * you can program STM32 series quickly and easily.
1723 *
18- * \section sec1 Design hilosophy
24+ * \section sec1 Overview
1925 * Murasaki has following design philosophy.
2026 *
2127 * \li Simplified IO
@@ -95,8 +101,16 @@
95101 * \li none-blocking logging by internal buffer.
96102 * \li user configurable output port
97103 *
98- * These features allow programmer to do the printf() debug not only
99- * todo
104+ * These features allow programmer to do the printf() debug not only in the task context
105+ * but also in the interrupt context.
106+ *
107+ * \subsection sec1_6 Guard by assertion
108+ * In addition to the murasaki::debugger->printf(), programmer can use MURASAKI_ASSERT macro.
109+ * This allows easy assertion and logging. This macro uses the murasaki::debugger->printf()
110+ * internally.
111+ *
112+ * This assertion is used inside murasaki class library. Then, the wrong context,
113+ * wrong parameter, etc will be reported to the debugger output.
100114 *
101115 *
102116 * Each classes are the components to control the each peripherals of the STM32 microcomputer.
@@ -106,17 +120,6 @@
106120 * what STM32 HAL or each peripheral can provide. Alternatively, interface is easy to use.
107121 *
108122 *
109- * The FreeRTOS is required to implement the blocking IOs. During the waiting for the completion
110- * of the IO activity, each interface
111- * function yields the execusion to other tasks, rather than poling IO. Also, each IO communication
112- * functions are internaly guarded
113- * by semaphore. Thus, the transmission / receiving member functions must be invoked from the task context.
114- *
115- * The murasaki::Debug is a dedicated for the printf debug. This class has a member function named printf.
116- * This function works like system's printf() and output the formatted string to the specified logging object.
117- * The biggest advantage of this class is, its bi-modal operation on both task and interrupt context. In other
118- * word, programmer can call the \ref murasaki::Debug::printf member function from both context. This is quite
119- * usuful to the debug code.
120123 *
121124 * There are several directory and files to use Murasaki class library.
122125 *
@@ -137,6 +140,12 @@
137140 * included by other murasaki files. The proposed directory of this file is Inc.
138141 */
139142
143+/**
144+ * \page murasaki_ug_usage Usage Introduction
145+ */
140146
147+/**
148+ * \page murasaki_ug_configuration Configuration
149+ */
141150
142151 #endif /* MURASAKI_UG_HPP_ */