3.3.4.26 EMAFE_WriteProtectionGet Function

C

uint32_t EMAFE_WriteProtectionGet(void);

Summary

Get write protection options.

Description

Get write protection options.

Precondition

None.

Parameters

None.

Returns

Bit mask of the protection options.

Example


wpOptions = EMAFE_WriteProtectionGet();

Remarks

ModeDescription If Value = 1
EMAFE_WPMR_WPCFEN_MskEnables the write protection of the configuration registers.
EMAFE_WPMR_WPITEN_MskEnables the write protection of EMAFE_IER and EMAFE_IDR.
EMAFE_WPMR_WPCTRL_MskEnables the write protection of EMAFE_CTRL.