Data Fields
rlCrcCbs_t Struct Reference

mmWaveLink CRC callback function More...

#include <control/mmwavelink/mmwavelink.h>

Data Fields

rlInt32_t(* rlComputeCRC )(rlUInt8_t *data, rlUInt32_t dataLen, rlUInt8_t crcType, rlUInt8_t *crc)
 Compute CRC on the input message. More...
 

Detailed Description

mmWaveLink CRC callback function

Definition at line 1167 of file mmwavelink.h.

Field Documentation

rlInt32_t(* rlCrcCbs_t::rlComputeCRC)(rlUInt8_t *data, rlUInt32_t dataLen, rlUInt8_t crcType, rlUInt8_t *crc)

Compute CRC on the input message.

Parameters
[in]data- input message
[in]dataLen- size of input message in bytes
[in]crcType- CRC type (0:RL_CRC_TYPE_16BIT_CCITT, 1:RL_CRC_TYPE_32BIT, 2:RL_CRC_TYPE_64BIT_ISO)
[out]crc- Computed CRC
Returns
rlInt32_t Success - 0, Failure - Error code

Compute CRC on the input message

Definition at line 1185 of file mmwavelink.h.


The documentation for this struct was generated from the following file:

Copyright 2018, Texas Instruments Incorporated