lib: crc: Add CRC4
Add two new functions: crc4 for generic calculations of CRC4, and crc4_ti which use look-up table for faster calculations of CRC4 algortihms that base on 0x03 polynomial. Signed-off-by: Michal Morsisko <morsisko@gmail.com>
This commit is contained in:
parent
d118ef5fde
commit
39aa2ad719
3 changed files with 95 additions and 0 deletions
|
@ -6,5 +6,6 @@ zephyr_sources_ifdef(CONFIG_CRC
|
|||
crc16_sw.c
|
||||
crc8_sw.c
|
||||
crc7_sw.c
|
||||
crc4_sw.c
|
||||
)
|
||||
zephyr_sources_ifdef(CONFIG_CRC_SHELL crc_shell.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue