mostGetNceType
Valid for: CANoe DEFunction Syntax
Description
Returns the type of network change event (NCE) (when changing the MPR register). Note: This function can only be called within the OnMostMPR() event procedure.Parameters
—Return Values
- < 0: NCE-. The absolute value corresponds to the number of devices which closed their bypass.
- 0: No information available (e.g. first MPR register event, the function was not called in the OnMostMPR() event procedure).
- > 0: NCE+. The value corresponds to the number of devices which opened their bypass.