ccIN

Syntax

CHAR = ccINb(Port:WORD)
WORD = ccINw(Port:WORD)
UINT = ccINd(Port:WORD)

Description

Read from the 'Port'

Parameters

Port - Address of a port.

Return value

Char,Word or Uint value read from the 'Port'

Remarks

You have to get permission by calling ccAllowIO() for the port(s) or ccSetIOPLto3() to avoid GP error!
Think on get 1,2 or 4 I/O address permited for Byte,Word or Dword access accordingly!

Example usage

ccAllowIO("0x61")
ccINb(0x61)

See
OI_Demo.eba
ccAllowIO()
ccSetIOPLto3()
ccOut()