<< Previous | Next >>

BitWrPortE

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

Description

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

WARNING! A shadow register is required for this function.

Parameters

port
Address of external 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, BitWrPortI, BitRdPortE, RdPortE, WrPortE


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