GetErrorStatus
Get Error Status
Description
This request reads the block dependent status/error information and writes it to the given address (ReqResPtr). The status/error information was set by a former or current asynchronous request. This API can also be requested with the block id 0 (multi block). The multi block status/error information are only set by NvM_ReadAll() and NvM_WriteAll() requests.
| Request Type | 
|---|
| Synchronous | 
Port Description
The following table describes the ports for this block.
| Port | Type | Description | 
|---|---|---|
| ReqResPtr | Output | Pointer to where the result shall be written. | 
| Return | Output | Standard return E_OK or E_NOT_OK for the function call. | 
Mask Description
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 ReqResPtr | Data store name for use in model testing for the result of the argument in the function call. | 
| Data Store for Return | Data store name for use in model testing for the result of the function call. | 
NvM Block Compatibility
The following table describes which NvM block type is compatible with this function.
| NvM Block Type | Compatible | 
|---|---|
| Native | Yes | 
| Redundant | Yes | 
| Data Set | Yes |