National Instruments NI-VXI Network Card User Manual


 
Chapter 3 Software Overview
© National Instruments Corporation 3-19 NI-VXI User Manual
GetWSSEcmdHandler ()
GetWSSEcmdHandler
returns the address of the current
WSSEcmd
interrupt handler function. While Word Serial operations are enabled,
the
WSSEcmd
interrupt handler will be called every time an Extended
Longword Serial command is received.
GetWSSLcmdHandler ()
GetWSSLcmdHandler
returns the address of the current
WSSLcmd
interrupt handler function. While Word Serial operations are enabled,
the
WSSLcmd
interrupt handler is called whenever a Longword Serial
command is received.
GetWSSrdHandler ()
GetWSSrdHandler
returns the address of the current
WSSrd
interrupt
handler function. When
WSSrd
reaches the specified count or an END
bit, or an error occurs, it calls the
WSSrd
interrupt handler with the
status of the call.
GetWSSwrtHandler ()
GetWSSwrtHandler
returns the address of the current
WSSwrt
interrupt handler function. When
WSSwrt
reaches the specified count
or an error occurs, it calls the
WSSwrt
interrupt handler with the status
of the call.
RespProtError ()
When the Word Serial Read Protocol Error query is received,
RespProtError
places the saved error response in the Data Low
register, sets the saved error response to ffffh (no error), unasserts
ERR*, and sets RR. If no previous error is pending, the value ffffh
(no error) is returned.
SetWSScmdHandler (func)
SetWSScmdHandler
replaces the current
WSScmd
interrupt handler
with an alternate handler. While Word Serial operations are enabled,
the
WSScmd
interrupt handler is called whenever a Word Serial
command is received (other than BAV if a
WSSrd
call is pending,
or BREQ if a
WSSwrt
call is pending). A default handler,
DefaultWSScmdHandler
, is supplied in source code as an example,
and is automatically installed when
InitVXIlibrary
is called. The