__CFBDApplication¶
Module: Application Management
Application descriptor. More...
#include <app.h>
Public Attributes¶
| Name | |
|---|---|
| CFBD_BootStrapFunc | selfBootFunc Optional bootstrap function for the application. |
| CFBD_BootArgs | bootargs Opaque pointer passed to selfBootFunc when invoked. |
| CFBD_ClockFreqProvider | freq_provider Provider that returns the system clock frequency (Hz). |
| CFBD_ClockTickProvider | tick_provider Provider that returns a monotonically increasing tick value. |
Detailed Description¶
Application descriptor.
See:
Aggregates the bootstrap function and clock providers for an application. Typical usage is to expose a single application instance via [getApp()](Modules/group__Application__Module.md#function-getapp) that other framework components query to obtain boot actions and timing sources.
The application descriptor serves as a central registry for all application-level services, allowing framework components to access initialization routines and timing information without requiring direct coupling to application code.
Public Attributes Documentation¶
variable selfBootFunc¶
Optional bootstrap function for the application.
Note: If NULL, the application framework will skip this step and rely on explicit boot table instead.
When non-NULL, this function will be called during application startup to perform any app-specific initialization. Must match the CFBD_BootStrapFunc signature.
variable bootargs¶
Opaque pointer passed to selfBootFunc when invoked.
Interpretation is defined by the bootstrap function. Common usage includes passing a configuration structure or application-specific context.
variable freq_provider¶
Provider that returns the system clock frequency (Hz).
If NULL, timing calculations will fail. All timing-sensitive operations require this provider to be set.
variable tick_provider¶
Provider that returns a monotonically increasing tick value.
If NULL, interval measurements will be unavailable. Used in conjunction with freq_provider for time calculations.
Updated on 2026-02-03 at 13:21:55 +0000