STMicroelectronics ST40

Handbücher und Benutzerhandbücher für STMicroelectronics ST40. Wir haben 2 handbücher zum kostenlosen Download 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.

Hauptfunktionen

  • Timer functionality

  • Reset functionality

  • Board support package

  • System stack configuration

  • Floating point unit (FPU) support

  • Interrupt management

Andere Handbücher und Dokumente

328 Seiten

User manual

Sprachen: English

Häufige Antworten und Fragen

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.

Werbung