22#ifndef PROTOCORE_INTERBUS_H
23#define PROTOCORE_INTERBUS_H
27#if PROTOCORE_ENABLE_INTERBUS
36#define PROTOCORE_INTERBUS_LOOPBACK 0xFFFF
48 const uint16_t *words;
91 InterbusFcsArgs fcs_args;
92 InterbusBuildArgs build_args;
93 InterbusParseArgs parse_args;
100extern InterbusVars InterbusV;
105 void (*
const fcs)(uint8_t *work);
106 void (*
const build)(uint8_t *work);
107 void (*
const parse)(uint8_t *work);
112void protocore_interbus_fcs(uint8_t *work);
113void protocore_interbus_build(uint8_t *work);
114void protocore_interbus_parse(uint8_t *work);
120static const InterbusNs Interbus __attribute__((unused)) = {
121 .fcs = protocore_interbus_fcs,
122 .build = protocore_interbus_build,
123 .parse = protocore_interbus_parse,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS