mcCCPGetActiveCalPage
- Updated2023-02-21
- 1 minute(s) read
mcCCPGetActiveCalPage
Purpose
Retrieves the ECU Memory Transfer Address pointer to the calibration data page (CCP only).
Format
mcTypeStatus | mcCCPGetActiveCalPage(
|
Input
ECURefNum
ECURefNum is the task reference which links to the selected ECU. This reference is originally returned from mcECUSelectEx.
Output
Address
Returns the address for the active calibration page in the ECU. mcAddress is a C struct consisting of:
Address
Specifies the address part of the address.
Extension
Extension contains the extension part of the address.
Return Value
The return value indicates the status of the function call as a signed 32-bit integer. Zero means the function executed successfully. A negative value specifies an error, which means the function did not perform the expected behavior. A positive value specifies a warning, which means the function performed as expected, but a condition arose that may require attention.
Use the mcStatusToString function of the ECU M&C API to obtain a descriptive string for the return value.
Description
mcCCPGetActiveCalPage retrieves the start address of the active calibration data page in the ECU memory.