C API for BALTECH SDK

§ brp_Bat_CheckAny()

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.

Parameters
[in]protocolused to execute the command
[in]CondBitNdxHas to be a value between 0 and 15 that identifies the condition bit that shall be updated.
[in]CondBitsThis bit mask identifies all bits that must be checked (at least one of them has to be true).
[in]InvertIf true , inverts the effect of the bits of the CondBits variable.