Code Review
/
apps
/
agl-service-can-low-level.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
85a5c1a05ca8b11df24d02389f31d952f958c08d
[apps/agl-service-can-low-level.git]
/
src
/
canutil
/
write.h
1
#ifndef __WRITE_H__
2
#define __WRITE_H__
3
4
#include <stdint.h>
5
#include <stdbool.h>
6
7
uint64_t encodeFloat(float value, float offset, float factor, uint8_t bitPosition,
8
uint8_t bitSize);
9
10
uint64_t encodeBoolean(bool value, float offset, float factor,
11
uint8_t bitPosition, uint8_t bitSize);
12
13
#endif // __WRITE_H__