Trying to encode a configuration file and a set of instructions to be passed to a microcontroller
Dependencies: MODSERIAL Nanopb
LEX_Initialisation.pb.c@5:72408582aadf, 2019-08-18 (annotated)
- Committer:
- omatthews
- Date:
- Sun Aug 18 21:52:33 2019 +0000
- Revision:
- 5:72408582aadf
- Parent:
- 2:89156c267f7a
Can only encode config
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
omatthews | 0:abf096b1334e | 1 | /* Automatically generated nanopb constant definitions */ |
omatthews | 2:89156c267f7a | 2 | /* Generated by nanopb-0.3.9.3 at Sun Aug 18 20:07:09 2019. */ |
omatthews | 0:abf096b1334e | 3 | |
omatthews | 0:abf096b1334e | 4 | #include "LEX_Initialisation.pb.h" |
omatthews | 0:abf096b1334e | 5 | |
omatthews | 0:abf096b1334e | 6 | /* @@protoc_insertion_point(includes) */ |
omatthews | 0:abf096b1334e | 7 | #if PB_PROTO_HEADER_VERSION != 30 |
omatthews | 0:abf096b1334e | 8 | #error Regenerate this file with the current version of nanopb generator. |
omatthews | 0:abf096b1334e | 9 | #endif |
omatthews | 0:abf096b1334e | 10 | |
omatthews | 0:abf096b1334e | 11 | |
omatthews | 0:abf096b1334e | 12 | |
omatthews | 0:abf096b1334e | 13 | const pb_field_t SetPoint_fields[4] = { |
omatthews | 0:abf096b1334e | 14 | PB_FIELD( 1, FLOAT , REQUIRED, STATIC , FIRST, SetPoint, r_set_point, r_set_point, 0), |
omatthews | 0:abf096b1334e | 15 | PB_FIELD( 2, INT32 , REQUIRED, STATIC , OTHER, SetPoint, time_point, r_set_point, 0), |
omatthews | 0:abf096b1334e | 16 | PB_FIELD( 3, INT32 , REQUIRED, STATIC , OTHER, SetPoint, trig_time, time_point, 0), |
omatthews | 0:abf096b1334e | 17 | PB_LAST_FIELD |
omatthews | 0:abf096b1334e | 18 | }; |
omatthews | 0:abf096b1334e | 19 | |
omatthews | 2:89156c267f7a | 20 | const pb_field_t Configuration_fields[2] = { |
omatthews | 2:89156c267f7a | 21 | PB_FIELD( 1, INT32 , REQUIRED, STATIC , FIRST, Configuration, n_set_points, n_set_points, 0), |
omatthews | 2:89156c267f7a | 22 | PB_LAST_FIELD |
omatthews | 2:89156c267f7a | 23 | }; |
omatthews | 2:89156c267f7a | 24 | |
omatthews | 0:abf096b1334e | 25 | |
omatthews | 0:abf096b1334e | 26 | /* @@protoc_insertion_point(eof) */ |