4.8 CLASSB_FLASH_EccInit

Function

void CLASSB_FLASH_EccInit(CLASSB_FLASH_ECC_CALLBACK callback, uintptr_t context);

Summary

Initialize ECC to perform fault detection on FLASH.

Description

This function is used to register the callback and initialize the interrupts for FLASH. Default implementation of this function is available in classb_flash_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_FLASH_EccInit(flash_ecc_InterruptCallback, context);

Remarks

None.