11 /* Public: Parse a CAN signal from a message and apply required transformation.
13 * signal - The details of the signal to decode and forward.
14 * data - The raw bytes of the CAN message that contains the signal, assumed
15 * to be in big-endian byte order from CAN.
17 * Returns the final, transformed value of the signal.
19 float bitfield_parse_float(uint64_t data, uint8_t bit_offset, uint8_t bit_size,
20 float factor, float offset);
22 bool bitfield_parse_bool(uint64_t data, uint8_t bit_offset, uint8_t bit_size,
23 float factor, float offset);