• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

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


Commit MetaInfo

修訂81581ebb803e0b60e871bed1a642c54f5729cf47 (tree)
時間2018-09-23 16:32:00
作者takemasa <suikan@user...>
Commitertakemasa

Log Message

Updated documents for the DebuggerUart class.

Change Summary

差異

--- a/stm32_development/murasaki/murasaki/debuggeruart.hpp
+++ b/stm32_development/murasaki/murasaki/debuggeruart.hpp
@@ -19,15 +19,15 @@
1919 namespace murasaki {
2020
2121 /**
22- * \ingroup MURASAKI_GROUP
23- * \brief Concrete implementation of UART controller. Based on the STM32 HAL DMA Transfer.
22+ * @ingroup MURASAKI_HELPER_GROUP
23+ * \brief Logging dedicated UART class
2424 * \details
2525 *
26- * The Uart class is the wrapper of the UART controller. To use the Uart class,
26+ * The Uart class is the wrapper of the UART controller. To use the DebuggerUart class,
2727 * make an instance with UART_HandleTypeDef * type pointer. For example, to create
2828 * an instance for the UART3 peripheral :
2929 * \code
30- * my_uart3 = new murasaki::Uart(&huart3);
30+ * my_uart3 = new murasaki::DebuggerUart(&huart3);
3131 * \endcode
3232 * Where huart3 is the handle generated by CubeMX for UART3 peripheral. To use this class,
3333 * the UART peripheral have to be configured to use the DMA functionality. The baud rate,
--- a/stm32_development/murasaki/murasaki/murasaki_ug.hpp
+++ b/stm32_development/murasaki/murasaki/murasaki_ug.hpp
@@ -233,7 +233,7 @@
233233 * {
234234 * counter = 0;
235235 *
236- * murasaki::platform.uart_console = new murasaki::Uart(uart_handle);
236+ * murasaki::platform.uart_console = new murasaki::DebuggerUart(uart_handle);
237237 * murasaki::platform.logger = new murasaki::UartLogger(murasaki::platform.uart_console);
238238 *
239239 * murasaki::debugger = new murasaki::Debugger(murasaki::platform.logger);
@@ -315,11 +315,13 @@
315315 * }
316316 * \endcode
317317 *
318- * Above example is basic setup of Uart class. But common among the peripheral encapsulating class in Murasaki.
318+ * Above example is basic setup of DebuggerUart class. But common among the peripheral encapsulating class in Murasaki.
319319 *
320+ * Note that it is strongly recommended to use the @ref DebuggerUart class as base of the debugger. But for
321+ * the normal use, the @ref Uart class is provided better class.
320322 *
321323 * \section sec_us_4 Test run
322- * The murasaki::Uart type object can transmit or receive data in task context.
324+ * The murasaki::Uart ( and muraski::DebuggerUart ) type object can transmit or receive data in task context.
323325 * Both transmission and receive are independent. Then, 2 independent tasks can
324326 * call each member function simultaneously.
325327 *