int RdPortI( int port );
Description
- Reads an internal I/O port specified by the argument (use
RdPortE() for external port).
- All of the Rabbit internal registers have predefined macros corresponding to the name of the
register. PADR is #defined to be 0x30, etc.
Parameters
- port
- Address of internal I/O port
Return value
- Returns an integer, the lower 8 bits of which contain the result of reading the port specified by
the argument. Upper byte contains zero.
Library
- SYSIO.LIB
See also
- RdPortE, BitRdPortI, WrPortI, BitWrPortI, BitRdPortE, WrPortE,
BitWrPortE