4#ifndef PROTOCORE_DATALINK_H
5#define PROTOCORE_DATALINK_H
42 embed_bool (*
init)(
const uint8_t *);
embed_bool protocore_datalink_init(const uint8_t *work)
Bring the layer up: sets ok. The platform's link driver performs.
#define PROTOCORE_UNUSED
Suppress the unused warning. Every module ends in a namespace most callers only partly use.
#define PROTOCORE_NS_LAYOUT(T,...)
Pin every dispatch slot of a table that is nothing but function pointers.
#define PROTOCORE_NS
Storage for a dispatch table. The const is load bearing.
Dispatch table. Addressed by offset, so the layout is asserted below.
embed_bool(* init)(const uint8_t *)