repo.or.cz
/
inav.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #10592 from iNavFlight/MrD_Update-parameter-description
[inav.git]
/
src
/
main
/
drivers
/
1-wire
/
ds_crc.h
blob
839a3e1e1079dd4592ace89d217d619642080362
1
2
#pragma once
3
4
#include <stdint.h>
5
6
uint8_t
ds_crc8_bit_update
(
uint8_t
crc
,
uint8_t
bit
);
7
uint8_t
ds_crc8_byte_update
(
uint8_t
crc
,
uint8_t
byte
);
8
uint8_t
ds_crc8
(
const uint8_t
*
addr
,
uint8_t
len
);