<< Previous | Next >>

BitRdPortI

int BitRdPortI( int port, int bitnumber );

Description

Returns 1 or 0 matching the value of the bit read from the specified internal I/O port.

Parameters

port
Address of internal parallel port data register.

bitnumber
Bit to read (0-7).

Return value

0 or 1: The value of the bit read.

Library

SYSIO.LIB

See also

RdPortI, WrPortI, BitWrPortI, BitRdPortE, RdPortE, WrPortE, BitWrPortE


Dynamic C Functions << Previous | Next >> rabbit.com