Midnight Sun Firmware
Loading...
Searching...
No Matches
tcixtma1_crc16.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file tcixtma1_crc16.h
5
*
6
* @brief Header file to implement CRC-16/CCITT-FALSE for the TCIXTMA1
7
*
8
* @date 2026-06-07
9
* @author Midnight Sun Team #24 - MSXVI
10
************************************************************************************************/
11
/* Standard library Headers */
12
#include <stddef.h>
13
#include <stdint.h>
14
15
/* Inter-component Headers */
16
17
/* Intra-component Headers */
18
29
void
tcixtma1_crc16_init_table
(
void
);
30
38
uint16_t
tcixtma1_crc16_calculate
(uint8_t *data,
size_t
len);
39
tcixtma1_crc16_calculate
uint16_t tcixtma1_crc16_calculate(uint8_t *data, size_t len)
Calculates CRC16 value for given data.
Definition:
tcixtma1_crc16.c:41
tcixtma1_crc16_init_table
void tcixtma1_crc16_init_table(void)
Initiliaze the CRC16 table.
Definition:
tcixtma1_crc16.c:25
libraries
ms-drivers
inc
tcixtma1_crc16.h
Generated by
1.9.5