Midnight Sun Firmware
Loading...
Searching...
No Matches
ltc_afe_crc15.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file ltc_afe_crc15.h
5
*
6
* @brief Header file to implement CRC15 for the LTC8611 AFE
7
*
8
* @date 2025-04-13
9
* @author Midnight Sun Team #24 - MSXVI
10
************************************************************************************************/
11
12
/* Standard library Headers */
13
#include <stddef.h>
14
#include <stdint.h>
15
16
/* Inter-component Headers */
17
18
/* Intra-component Headers */
19
30
void
crc15_init_table
(
void
);
31
39
uint16_t
crc15_calculate
(uint8_t *data,
size_t
len);
40
crc15_init_table
void crc15_init_table(void)
Initiliaze the CRC15 table for PEC.
Definition:
ltc_afe_crc15.c:27
crc15_calculate
uint16_t crc15_calculate(uint8_t *data, size_t len)
Calculates CRC15 PEC value for given data.
Definition:
ltc_afe_crc15.c:44
libraries
ms-drivers
inc
ltc_afe_crc15.h
Generated by
1.9.5