ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_app.c
Go to the documentation of this file.
1
11#include "mdl_app.h"
12
13#include "mdl_app_internal.h"
14
26static mdl_app_context_t* s_app_ctx = nullptr;
27
29{
30 s_app_ctx = ctx;
31}
32
mdl_app_context_t * priv_mdl_app_context(void)
The working set the composition root bound with mdl_app_bind.
Definition mdl_app.c:33
static mdl_app_context_t * s_app_ctx
The one context every application mode currently reads.
Definition mdl_app.c:26
void mdl_app_bind(mdl_app_context_t *ctx)
Bind the caller-owned working set every application mode will use.
Definition mdl_app.c:28
The downloader's portable application layer: one run mode, one call.
Module-private contract shared by the application-mode translation units.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
The one bounded working set every application mode shares.
Definition mdl_app.h:162