STMicroelectronics ST40
Manuals and User Guides for STMicroelectronics ST40. We found 2 manuals for free downloads User manual
Below you will find brief information for OS21 ST40. This manual describes the OS21 operating system for the ST40 microcontroller. It covers features such as timers, reset functionality, and the board support package. The user can configure the system stack, use the floating point unit (FPU), and manage interrupts. The document also provides instructions for resetting the CPU and querying the cause of the last reset.
Key Features
Timer functionality
Reset functionality
Board support package
System stack configuration
Floating point unit (FPU) support
Interrupt management
Pages: 25 STMicroelectronics ST40 User manual
Brand: STMicroelectronics Category: Software Size: 161 KB
Languages: English
Table of contents
Open manualOther manuals and documents
Frequently Answers and Questions
What is the default system stack size on the ST40?
If no size is specified for the system stack when kernel_initialize() is called, OS21 assumes a default stack size of 32 Kbytes. However, the debug kernel always checks for a minimum stack size of 16 Kbytes for OS21.
How can I determine the cause of the last reset seen by the CPU?
The reset_reason() function returns the reason for the last CPU reset. Possible values are POWER_ON_RESET (for a power-on reset) and MANUAL_RESET (for a manual reset).
How does OS21 use the ST40 timers?
OS21 utilizes all three ST40 TMU timers: TMU0 (system timer), TMU1 (timeslice timer), and TMU2 (timeout timer). The system timer is responsible for providing the system time, while the timeslice timer handles timeslice events and the timeout timer manages timeouts.
advertisement