CommandListAppendExitList(UInt32, IOPort, Boolean, Boolean, UInt32) Method |
Namespace: RAYLASE.SPICE3.ClientLibAssembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.5.2
Syntax public void AppendExitList(
uint cond,
IOPort port,
bool compareCondAsMask,
bool ifNotTrue = false,
uint mask = 4294967295
)
Parameters
- cond UInt32
- The condition mask. Note that how this value is matched against the I/O port value depends on the compareCondAsMask flag and on mask.
- port IOPort
- The port which is queried to test the condition against.
- compareCondAsMask Boolean
- false
- cond value (cv) must exactly match the I/O port value (pv) read back from port at the time of execution.
Only the bits set in mask are compared.
The condition evaluates to true if (cv & mask) == (pv & mask).
- true
- cond value (cv) itself is applied as a bit mask to the I/O port value (pv) read back from port at the time of execution.
The condition evaluates to true if (cv & pv) != 0.
- ifNotTrue Boolean (Optional)
- false (default)
- the list exits if the condition evaluates to true.
- true
- the list exits if the condition evaluates to false.
- mask UInt32 (Optional)
- This is only used when compareCondAsMask is set to false. Only the bits set to 1 in mask are compared. All bits set to 0 are ignored.
Remarks See Also