StatusType

Used for an agrument to the TE_status_change functions to define the operation to be used for the new Status value with respect to the existing value.

Metadata

  • Underlying type: u8

Values

KeyValueDescription
Replace0
Or1
And2
AndNot3

Referenced by

Messages

MessageFieldDescription
StatusSetTypeThe way in which the Status value provided in this transaction, should be combined with the existing value of the Status field in the instance selected in this transaction. The values have the following effect; - 0 - Replace the existing value with the value in this transaction - 1 - Add the bits of this value to the values already set in the existing value (a bitwise OR) - 2 - Keep only the bits that are set in this transaction and already set in the existing value (a bitwise AND) - 3 - Keep only the bits that are not set in this transaction and set in the existing value. This can be useful for easily turning off one or two bits in isolation.