17 #define CKS_LITTLE_ENDIAN 0 18 #define CKS_BIG_ENDIAN 1 void bflb_cks_reset(struct bflb_device_s *dev)
Reset checksum module.
void bflb_cks_set_endian(struct bflb_device_s *dev, uint8_t endian)
Set checksum bitorder.
uint16_t bflb_cks_compute(struct bflb_device_s *dev, uint8_t *data, uint32_t length)
Compute data with checksum.