stm32f4-uart-bootloader

Simple UART bootloader for STM32F4 MCU's
git clone git://git.mdnr.space/stm32f4-uart-bootloader
Log | Files | Refs | Submodules | README | LICENSE

crc16.h (208B)


      1 #ifndef __CRC16_H__
      2 #define __CRC16_H__
      3 #include <stdint.h>
      4 
      5 uint16_t crc16_calculate(const uint8_t *data, uint16_t size);
      6 uint32_t crc32_calculate(const uint8_t *data, uint16_t size);
      7 
      8 #endif // __CRC16_H__