#include <dwc.h>void DWC_ClearDirtyFlag(DWCUserData *userdata);| userdata | Pointer to the DWCUserData structure where the user data is stored. |
None.
Clears the dirty flag for user data and recalculates the CRC value included in the data.
The dirty flag is found in the DWCUserData structure. It is set when user data is changed.
The CRC value is used by the DWC_CheckUserData function, which checks the validity of saved user data when the data is loaded into memory.
CONFIDENTIAL