1.26.6.18 1.27.9.18 1.28.10.18 1.34.7.18 1.41.8.18 1.42.6.18 MCANx_MessageRAMConfigSet Function

C

void MCANx_MessageRAMConfigSet(uint8_t *msgRAMConfigBaseAddress) // x - Instance of the MCAN peripheral

Summary

Set the Message RAM Configuration.

Precondition

MCANx_Initialize must have been called for the associated MCAN instance.

Parameters

Param Description
msgRAMConfigBaseAddress Pointer to application allocated buffer base address.Application must allocate buffer from non-cached contiguous memory and buffer size must be MCANx_MESSAGE_RAM_CONFIG_SIZE

Returns

None

Example

uint8_t messageRAMConfig[MCAN0_MESSAGE_RAM_CONFIG_SIZE]__attribute__((aligned (32))) __attribute__((__section__(".region_nocache")));
MCAN0_MessageRAMConfigSet(&messageRAMConfig);

Remarks

None.