This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the flush was successful.
The appropriate code based on the error.