SPRUJB8 April 2024
Issues a command to the Flash State Machine. See the description for the list of commands that can be issued by this function.
Fapi_StatusType Fapi_issueAsyncCommand(
Fapi_FlashStateCommandsType oCommand
)
oCommand [in] | Command to issue to the FSM. Use Fapi_ClearStatus command. |
This function issues a command to the Flash State Machine for commands not requiring any additional information (such as address). On this device, Fapi_ClearStatus command should be issued to the Flash State Machine using this function. Note that Fapi_ClearStatus command should be issued (only if STATCMD is not zero) before each program and erase command as shown in the flash programming example provided in C2000Ware. A new program or erase command can be given only when the STATCMD is zero (achieved by issuing the Fapi_ClearStatus command).
Fapi_Status_Success (success)
Fapi_Status_FsmBusy (FSM busy)
Fapi_Error_FeatureNotAvailable (failure: User passed a command that is not supported)
(Please refer to the flash programming example provided in C2000Ware at “C2000Ware_.....\driverlib\F28P65x\examples\....\flash\flashapi_128bit_programming\flashapi_cpu1_128bitprogramming.c”)