<< Previous | Next >>

BitWrPortI

void BitWrPortI( int port, char * portshadow, int value, int bitcode );

Description

Updates shadow register at position bitcode with value (0 or 1); copies shadow to register.

WARNING! A shadow register is required for this function.

Parameters

port
Address of internal parallel port data register.

portshadow
Reference pointer to a variable to shadow the current value of the register.

value
Value of 0 or 1 to be written to the bit position.

bitcode
Bit position 0-7.

Library

SYSIO.LIB

See also

RdPortI, BitRdPortI, WrPortI, BitRdPortE, RdPortE, WrPortE, BitWrPortE


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