次の方法で共有


SpbCx Event Callback Functions

This section describes the event callback functions that are defined by the SPB framework extension (SpbCx). These functions are implemented by your SPB controller driver. SpbCx calls these functions to notify the SPB controller driver of certain events, such as the arrival of an I/O request for a target device on the bus.

In this section

Topic Description

EVT_SPB_CONTROLLER_OTHER

An SPB controller driver's EvtSpbControllerIoOther event callback function handles device I/O control requests that are not handled by other event callback functions or by the SPB framework extension (SpbCx).

EVT_SPB_CONTROLLER_READ

An SPB controller driver's EvtSpbControllerIoRead event callback function reads data from the specified target device into the buffers that are supplied with the read request.

EVT_SPB_CONTROLLER_SEQUENCE

An SPB controller driver's EvtSpbControllerIoSequence event callback function performs a sequence of data transfers between the specified target device and the buffers that are supplied with the sequence request.

EVT_SPB_CONTROLLER_WRITE

An SPB controller driver's EvtSpbControllerIoWrite event callback function writes data to the specified target device from the buffers that are supplied with the write request.

EVT_SPB_CONTROLLER_LOCK

An SPB controller driver's EvtSpbControllerLock event callback function locks the SPB controller for accesses of a single target device on the bus.

EVT_SPB_CONTROLLER_UNLOCK

An SPB controller driver's EvtSpbControllerUnlock event callback function unlocks the SPB controller, which was locked by a previous call to the EvtSpbControllerLock event callback function.

EVT_SPB_TARGET_CONNECT

An SPB controller driver's EvtSpbTargetConnect event callback function opens a connection to a target device on the bus.

EVT_SPB_TARGET_DISCONNECT

An SPB controller driver's EvtSpbTargetDisconnect event callback function closes a connection to a target device that was previously opened by a call to the driver's EvtSpbTargetConnect event callback function.

 

 

 

Send comments about this topic to Microsoft