Mcan_Hal_TransferParamsType

Module: HAL (AM13E230X) API / CAN HAL API

CAN Transfer Parameters. More…

#include <Mcan_Hal.h>

Public Attributes

Name

uint8

DataLenBytes
Data length in bytes (number of bytes to transfer from/to DataBufferPtr). Maximum value is MCAN_HAL_MSG_LEN_MAX_FD_BYTES (64).

uint8 *

DataBufferPtr
Pointer to data buffer (must be at least DataLenBytes in size)

Detailed Description

struct Mcan_Hal_TransferParamsType;

CAN Transfer Parameters.

Note: The caller is responsible for ensuring that DataBufferPtr points to a buffer of at least DataLenBytes size. Only DataLenBytes number of bytes will be accessed from DataBufferPtr. Maximum payload is 64 bytes (CAN FD).

Public Attributes Documentation

variable DataLenBytes

uint8 DataLenBytes;

Data length in bytes (number of bytes to transfer from/to DataBufferPtr). Maximum value is MCAN_HAL_MSG_LEN_MAX_FD_BYTES (64).

variable DataBufferPtr

uint8 * DataBufferPtr;

Pointer to data buffer (must be at least DataLenBytes in size)