BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Bat_CheckAny | ( | brp_protocol | protocol, |
unsigned | CondBitNdx, | ||
unsigned | CondBits, | ||
bool | Invert | ||
) |
This command checks if one or more of a list of condition bits is set.
[in] | protocol | used to execute the command |
[in] | CondBitNdx | Has to be a value between 0 and 15 that identifies the condition bit that shall be updated. |
[in] | CondBits | This bit mask identifies all bits that must be checked (at least one of them has to be true). |
[in] | Invert | If true , inverts the effect of the bits of the CondBits variable. |