<< Previous | Next >>

WrPortE

void WrPortE( unsigned int port, char * portshadow, int data_value);

Description

Writes an external I/O register with 8 bits and updates shadow for that register. The variable names must be of the form port and portshadow for the most efficient operation. A null pointer may be substituted if shadow support is not desired or needed.

Parameters

port
Address of external data register.

portshadow
Reference pointer to a variable shadowing the register data. Substitute with null pointer (or 0) if shadowing is not required.

data_value
Value to be written to the data register

Library

SYSIO.LIB

See also

RdPortI, BitRdPortI, WrPortI, BitWrPortI, RdPortE, BitRdPortE, BitWrPortE


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