mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 15:04:19 +00:00
dd988ba449
* nfc_util functions for processing bytes moved into bit_lib * bitlib test update * bit_lib moved from lfrfid to standalone lib * Added bit functions for any supported data types * Error fix and api add * Added test for 64 * Added doc * Testcase for 64 rewrited * Realization error fix * API version bump * sync api version, fix after-merge old libs usage * fix build errors * build fix * fbt format Co-authored-by: assasinfil <nfa57643@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
17 lines
270 B
C
17 lines
270 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
uint8_t nfc_util_even_parity32(uint32_t data);
|
|
|
|
uint8_t nfc_util_odd_parity8(uint8_t data);
|
|
|
|
void nfc_util_odd_parity(const uint8_t* src, uint8_t* dst, uint8_t len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|