Home
Prev
Next
Contents
Programming For ISA Hardware
Overview
Programmers Guide
Scenario
I/O Ports control
Single read/write operations
Data array read/write operations
Accessing Physical Memory Addresses
Memory Mapping
Additional Functions
Hardware interrupts handling at user level
Common Functions
OpenRapidIsa
CloseRapidIsa
IsRapidIsaOpened
GetHardwareConfiguration
Direct Port I/O
GetPortByte
GetPortWord
GetPortLong
SetPortByte
SetPortWord
SetPortLong
ReadPortBuffer
WritePortBuffer
Memory Access
MapPhysToLinear
UnmapMemory
GetMem
GetMemW
GetMemL
SetMem
SetMemW
SetMemL
Hardware Interrupts
UnmaskIsaIrq
MaskIsaIrq
GetInterruptCounter
Single read/write operations
Go to RapidDriver Main Page
The following set of functions is used to read/write single values through port. Their assignment is evident from names and requires no comments.
GetPortByte
- read a byte from a port
GetPortWord
- read a word from a port
GetPortLong
- read a double word from a port
SetPortByte
- write a byte to a port
SetPortWord
- write a word to a port
SetPortLong
- write a double word to a port