STM32CubeWBA: System Modules

Revision as of 16:34, 6 March 2023 by Registered User (→‎Background process)

1. Introduction

This page regroups the different wiki pages dedicated to systems modules. You will find information about their concepts, how to use them and their APIs.

2. STM32WBA System Modules

Here is the list of the system modules:

3. Background process

Some system modules are based upon a request/callback mechanism. This means that the user request an operation to the module and is notified later on the result.
This is possible due to the "Background process" method. The system modules operations are not executed right after the user request but in the "Background process" function. This means that the system operations are executed asynchronously of the user request.

The typical work flow is like this:

  • The user request is analyzed - i.e.: Parameters check, states check, context check, etc.- and registered. An error code is returned to the user about the result of the request.
  • The system module requests the scheduler for a future execution of its "Background Process" function. This function is in charge of the process of the concrete user operation.
  • The scheduler set active the system "Background Process" function. Once the operation is achieved, the system module notifies the user with his callback.

A typical use case can be represented as follow:

File:Background Process.png
Background process use case

3.1. How to

TBD.