Files
chopstx/doc/chopstx.texi
2017-11-15 10:46:49 +09:00

129 lines
2.9 KiB
Plaintext

\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename chopstx.info
@set VERSION 1.5
@settitle Chopstx Reference Manual
@c Unify some of the indices.
@syncodeindex tp fn
@syncodeindex pg fn
@c %**end of header
@copying
This manual is for Chopstx (version @value{VERSION}).
@noindent
Copyright @copyright{} 2013, 2015, 2016, 2017 Flying Stone Technology @*
@quotation
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. The text of the license can be found in the
section entitled ``Copying''.
@end quotation
@end copying
@c ********************************************
@dircategory Development
@direntry
* chopstx: (chopstx). Chopstx, the thread library for embedded system.
@end direntry
@c
@c Titlepage
@c
@setchapternewpage odd
@titlepage
@title Chopstx Reference Manual
@subtitle Version @value{VERSION}
@author NIIBE Yutaka (@email{gniibe@@fsij.org})
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage
@ifnothtml
@summarycontents
@contents
@page
@end ifnothtml
@ifnottex
@node Top
@top Chopstx, The Thread Library
@insertcopying
@end ifnottex
@menu
* Introduction:: What is Chopstx.
* Use of sleep mode:: Use it carefully.
* API:: API.
Appendix
* Copying:: The GNU General Public License says how you
can copy and share the program.
Indexes
* Concept Index:: Index of concepts and programs.
* Function and Data Index:: Index of functions, variables and data types.
@end menu
@ifhtml
@page
@summarycontents
@contents
@end ifhtml
@c ********************************************
@node Introduction
@chapter Introduction
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.
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
@include chopstx-api.texi
@c ********************************************
@include gpl.texi
@node Concept Index
@unnumbered Concept Index
@printindex cp
@node Function and Data Index
@unnumbered Function and Data Index
@printindex fn
@bye