Fix example-fsm-55 and documentation.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
This manual is for Chopstx (version @value{VERSION}).
|
||||
|
||||
@noindent
|
||||
Copyright @copyright{} 2013, 2015, 2016 Flying Stone Technology @*
|
||||
Copyright @copyright{} 2013, 2015, 2016, 2017 Flying Stone Technology @*
|
||||
|
||||
@quotation
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
@@ -59,6 +59,7 @@ section entitled ``Copying''.
|
||||
|
||||
@menu
|
||||
* Introduction:: What is Chopstx.
|
||||
* Use of sleep mode:: Use it carefully.
|
||||
* API:: API.
|
||||
|
||||
Appendix
|
||||
@@ -83,9 +84,9 @@ Indexes
|
||||
@node Introduction
|
||||
@chapter Introduction
|
||||
|
||||
Chopstx is an RT thread library for ARM Cortex-M0, Cortex-M0plus and
|
||||
Cortex-M3. Specifically, it is used for STM32F030, MKL27Z and
|
||||
STM32F103.
|
||||
Chopstx is an RT thread library for ARM Cortex-M0, Cortex-M0plus,
|
||||
Cortex-M3 and GNU/Linux emulation. Specifically, it is used for
|
||||
STM32F030, MKL27Z and STM32F103.
|
||||
|
||||
While most RTOSes come with many features, drivers, and stacks,
|
||||
Chopstx just offers a RT thread library.
|
||||
@@ -93,6 +94,16 @@ Chopstx just offers a RT thread library.
|
||||
With Chopstx, interrupt handling is also done by a thread. This
|
||||
enables coherent code for ease of maintenance.
|
||||
|
||||
@node Use of sleep mode
|
||||
Calling the chopstx_conf_idle function with 1 to allow the idle thread
|
||||
going to sleep. MCU will be in sleep mode when no threads are
|
||||
running. By setting relevant system registers, MCU will be able to be
|
||||
into deep sleep or stand-by mode.
|
||||
|
||||
If you use this sleep feature, please consider and implement
|
||||
carefully. Enabling sleep, it may result bricked board; A board with
|
||||
no RESET pin cannot be debugged by JTAG/SWD.
|
||||
|
||||
|
||||
@node API
|
||||
@chapter API
|
||||
|
||||
Reference in New Issue
Block a user