Checks if a bit is set.
#include <smsutapi.h> int SMDFBitNIsSet ( unsigned char c);
(IN) Specifies the bit to test.
The following table lists the return values associated with the function.
SMDFBitNIsSet is actually a set of macros where N stands for the bit to be tested. N ranges from 1 to 6 as shown below:
SMDFBit1IsSet Checks if bit 0 is set SMDFBit6IsSet Checks if bit 6 is set