3.8.19.7 SEFC_IsBusy Function

C

bool SEFC_IsBusy(uint32_t address) 

Summary

Returns the current status of SEFCx controller based on the address passed.

Description

This function determines the flash panel that is mapped at the given address. It then returns the status of the SEFCx controller, where x is the SEFC flash controller instance associated with the flash panel mapped at the given address.

Precondition

None.

Parameters

None.

Returns

true - If SEFCx peripheral is busy doing an operation.

false - If SEFCx peripheral is ready to accept new request..

Example

SEFC_SectorErase( 0x500000 );

while(SEFC_IsBusy(0x500000));