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
26
static
mdl_app_context_t
*
s_app_ctx
=
nullptr
;
27
28
void
mdl_app_bind
(
mdl_app_context_t
* ctx)
29
{
30
s_app_ctx
= ctx;
31
}
32
33
RA8_PRIV
mdl_app_context_t
*
priv_mdl_app_context
(
void
)
34
{
35
return
s_app_ctx
;
36
}
priv_mdl_app_context
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
s_app_ctx
static mdl_app_context_t * s_app_ctx
The one context every application mode currently reads.
Definition
mdl_app.c:26
mdl_app_bind
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
mdl_app.h
The downloader's portable application layer: one run mode, one call.
mdl_app_internal.h
Module-private contract shared by the application-mode translation units.
RA8_PRIV
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
Definition
ra8_attributes.h:219
mdl_app_context_t
The one bounded working set every application mode shares.
Definition
mdl_app.h:162
apps
shared_libs
mdl
src
mdl_app.c
Generated by
1.16.1