Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_cks.h File Reference
#include "bflb_core.h"
Include dependency graph for bflb_cks.h:

Go to the source code of this file.

Macros

#define CKS_LITTLE_ENDIAN   0
 
#define CKS_BIG_ENDIAN   1
 

Functions

void bflb_cks_reset (struct bflb_device_s *dev)
 Reset checksum module. More...
 
void bflb_cks_set_endian (struct bflb_device_s *dev, uint8_t endian)
 Set checksum bitorder. More...
 
uint16_t bflb_cks_compute (struct bflb_device_s *dev, uint8_t *data, uint32_t length)
 Compute data with checksum. More...