Code Review
/
apps
/
low-level-can-service.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Initial commit, pulled from openxc/vi-firmware.
[apps/low-level-can-service.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__