Out8, Out16, and Out32

Takes a bus identifier, a value, and an I/O address in that bus's I/O address space and performs whatever operations are necessary to deliver the value to the specified place.

Thread Context:Non-Blocking

Syntax

    void Out8 (
       LONG   busTag,
       void  *ioAddress,
       BYTE   outputValue
    );
    
    
    void Out16 (
       LONG   busTag,
       void  *ioAddress,
       WORD   outputValue );
    
    
    void Out32 (
       LONG   busTag,
       void  *ioAddress,
       LONG   outputValue
    );
    
    

Parameters

busTag
A value returned by NPAB_Search_Adapter or by parsing the Product ID option of the NPAOptionStruct. This value specifies the bus on which the operation is to be performed.
ioAddress
The I/O address in the bus architecture of the adapter where the output is to occur.
outputValue
The value to be sent to the specified I/O address on the specified bus. The type of this value must correspond with the function being called.

Remarks

These functions are used only by HAMs written for adapters intended for bus architectures that have an I/O address space. The HAM is expected to use the function appropriate to the data width of the port where the output is to occur.

The value of ioAddress should be the port address the HAM would normally expect for the given bus architecture. For example, if an ISA board with a base port address of 300h is placed on an EISA bus, the HAM sets ioAddress to 300h when it wants to output to that base port.