DWC_ClearDirtyFlag

Syntax

#include <dwc.h>

void DWC_ClearDirtyFlag(DWCUserData *userdata);

Arguments

userdata Pointer to the DWCUserData structure where the user data is stored.

Return Values

None.

Description

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.

Revision History

1.4.20
Mentioned that the CRC value included in user data will be recalculated.

CONFIDENTIAL