1.3.3.16 CANx_MessageRAMConfigSet Function

C

void CANx_MessageRAMConfigSet(uint8_t *msgRAMConfigBaseAddress) // x - Instance of the CAN peripheral

Summary

Set the Message RAM Configuration.

Precondition

CANx_Initialize must have been called for the associated CAN 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 CANx_MESSAGE_RAM_CONFIG_SIZE

Returns

None

Example

uint8_t messageRAMConfig[CAN0_MESSAGE_RAM_CONFIG_SIZE]__attribute__((aligned (32))) __attribute__((__section__(".region_nocache")));
CAN0_MessageRAMConfigSet(&messageRAMConfig);

Remarks

None.