msbIsSet
Short summary
This assertion method checks if the most significant bit of current value is set
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| currentValue | BYTE | current value to check | input |
| message | AssertMessage | message if the assertion is false | input |
Code
Declaration
METHOD msbIsSet
VAR_INPUT
(* current value to check *)
currentValue :BYTE;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR