peekIO_bit Function (Macro)

peekpoke.h

short peekIO_bit (unsigned char *port, short bit);

Reads a bit from an I/O port.

This macro exists because peek_bit is not reliable when reading data from memory-mapped I/O ports. See the notes about peekIO if you want to know why.