![]() |
S2-LP Low Level API
v. 1.3.0
|
Functions | |
uint16_t | crcCalc (uint16_t crcReg, uint8_t crcData) |
Calculates the 16-bit CRC. The function requires that the CRC_POLYNOM is defined, which gives the wanted CRC polynom. More... | |
uint16_t | computeCrc (uint8_t *pStart, uint8_t cNBytes) |
void | fitTxBuffer () |
void | HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin) |
int | main (void) |
System main function. More... | |
uint16_t computeCrc | ( | uint8_t * | pStart, |
uint8_t | cNBytes | ||
) |
Definition at line 199 of file SDK_WMbusStd_A.c.
uint16_t crcCalc | ( | uint16_t | crcReg, |
uint8_t | crcData | ||
) |
Calculates the 16-bit CRC. The function requires that the CRC_POLYNOM is defined, which gives the wanted CRC polynom.
Input | Param:uint8 crcData - Data to perform the CRC-16 operation on. uint16 crcReg - Current or initial value of the CRC calculation |
LINK_STATUS | : LINK_STATUS_SUCCESS LINK_STATUS_INVALID_SIZE - The data-field buffer is too large |
Definition at line 181 of file SDK_WMbusStd_A.c.
void fitTxBuffer | ( | ) |
Definition at line 212 of file SDK_WMbusStd_A.c.
void HAL_GPIO_EXTI_Callback | ( | uint16_t | GPIO_Pin | ) |
Definition at line 257 of file SDK_WMbusStd_A.c.
int main | ( | void | ) |
System main function.
None |
None |
Definition at line 404 of file SDK_WMbusStd_A.c.