The request sets the write protection for the NvM block. Any further write, erase, and invalidate requests to the block is rejected synchronously if the NvM block-write protection is set. The data area of the RAM block remains writeable in any case.
Request Type |
---|
Synchronous |
The following table describes the ports for this block.
Port | Type | Description |
---|---|---|
ProtectionEnabled | Input | True: Protection Enabled. |
Return | Output | Standard return E_OK or E_NOT_OK for the function call. |
The following table describes the parameters for this mask.
Parameter | Description |
---|---|
NvM Block Name | The block name defined in the m-file with the NVM class. |
Cast Function Return to Void | True: Function will be cast as a 'void' function and the return value is ignored. |
Data Store for Protection Enabled | Data store name for use in model testing for the input argument in the function call. |
Data Store for Return | Data store name for use in model testing for the result of the function call. |
The following table describes which NvM block type is compatible with this function.
NvM Block Type | Compatible |
---|---|
Native | Yes |
Redundant | Yes |
Data Set | Yes |