4.16 CLASSB_SRAM_EccInit

Function

void CLASSB_SRAM_EccInit(CLASSB_SRAM_ECC_CALLBACK callback, uintptr_t context);

Summary

Initialize ECC to perform fault detection on SRAM.

Description

This function is used to register the callback and initialize the interrupts for SRAM. Default implementation of this function is available in classb_sram_test.c file.

Precondition

None.

Parameters

callback - Callback function to be called once single fault is detected.

context - Information to be used in the callback.

Returns

None.

Example

CLASSB_SRAM_EccInit(sram_ecc_InterruptCallback, context);

Remarks

None.