3.3.8.3 NVMCTRL_IsBusy

Returns the current status of NVM controller.

This function returns the busy status of the NVM Controller. This function should be called to check for module readiness before initiating a Erase or a Write operation. The controller becomes busy on a NVM Write, Erase or an EEPROM Write, Erase operation. Once initiated, this function can be called to poll the completion of the Erase or Write operation. This function can be used as an alternative to the callback function. In that, the application can call this function periodically to check for operation completion instead of waiting for callback to be called.

bool  
NVMCTRL_IsBusy
(
    void
);

Precondition

  • none

Parameters

  • void

Returns

  • bool true - NVM controller is busy, otherwise false if NVM controller is ready for a new operation.