BIT_TEST

 

This standard bit manipulation function contained in the <BIT_UTIL> library reads the value of a particular bit in the bit string applied at input IN.

Parameter

Data type

Description

IN

ANY_BIT

Input bit string

BIT_NO

BYTE

Number (position) of the bit to be read

OUT

BOOL

Value of the read (tested) bit

ANY_BIT contains the data types DWORD, WORD, BYTE and BOOL.