2.102.23 SEFCx_WriteProtectionSet Function

C

void SEFCx_WriteProtectionSet(uint32_t mode);

Summary

Writes the write protection mode

Description

This function writes the write protection mode

Precondition

None.

Parameters

ParamDescription
modewrite protection mode

Returns

None.

Example

            uint32_t wp = SEFC0_WriteProtectionGet();
            wp &= ~SEFC_EEFC_WPMR_USRWP_Msk;
            SEFC0_WriteProtectionSet(wp);

Remarks

None.