22#ifndef PROTOCORE_SERCOS_H
23#define PROTOCORE_SERCOS_H
27#if PROTOCORE_ENABLE_SERCOS
36#define SERCOS_TEL_MDT 0x00
37#define SERCOS_TEL_AT 0x01
38#define SERCOS_HDR_LEN 4
117 SercosIdnArgs idn_args;
118 SercosIdnParseArgs idn_parse_args;
119 SercosBuildArgs build_args;
120 SercosParseArgs parse_args;
127extern SercosVars SercosV;
132 void (*
const idn)(uint8_t *work);
133 void (*
const idn_parse)(uint8_t *work);
134 void (*
const build)(uint8_t *work);
135 void (*
const parse)(uint8_t *work);
140void protocore_sercos_idn(uint8_t *work);
141void protocore_sercos_idn_parse(uint8_t *work);
142void protocore_sercos_build(uint8_t *work);
143void protocore_sercos_parse(uint8_t *work);
149static const SercosNs Sercos __attribute__((unused)) = {
150 .idn = protocore_sercos_idn,
151 .idn_parse = protocore_sercos_idn_parse,
152 .build = protocore_sercos_build,
153 .parse = protocore_sercos_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