summaryrefslogtreecommitdiffstats
path: root/src/canutil/read.h
blob: 815f26b04922868f3498ed94d06dcae01223f60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __READ_H__
#define __READ_H__

#include <stdint.h>
#include <stdbool.h>

float parseFloat(uint64_t data, uint8_t bitPosition, uint8_t bitSize,
        float factor, float offset);

bool parseBoolean(uint64_t data, uint8_t bitPosition, uint8_t bitSize,
        float factor, float offset);

#endif // __READ_H__