This function writes a byte, starting at the specified offset, to the specified BAR address .
Language
|
Description
|
C/C++
|
void WritePciBarByte ( HANDLE hPci, USHORT BarNumber, USHORT BarOffset, UCHAR bValue );
|
Delphi
|
procedure WritePciBarByte ( hPci: THandle; BarNumber: Word; BarOffset: Word; bValue: Byte); stdcall;
|
VB
|
Sub WritePciBarByte ( ByVal hPci As Long, ByVal BarNumber As Integer, ByVal BarOffset As Integer, ByVal bValue As Byte )
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci
BarNumber - the BaseAddress index (0..5) which must be read
BarOffset - specifies the byte offset in the BAR area, in bytes
bValue - specifies a byte to be written
Return Value : None
Comment:
This function serves all requests regardless of whether the BarNumber is memory address or port I/O address
|