PDCARD_SOCKET_STATE

This structure is used by the PDCardGetSocket and PDCardSetSocket functions to retrieve or change the specified socket’s characteristics.

Syntax

typedef struct {
UINT8 fSocketCaps;
UINT8 fInterruptEvents;
UINT8 fNotifyEvents;
UINT8 fControlCaps;
UINT8 fInterfaceType;
UINT8 fIREQRouting;
UINT8 fVcc;
UINT8 uVpp1;
UINT8 uVpp2;
} PDCARD_SOCKET_STATE;

Members

fSocketCaps
Specifies socket capabilities.
fInterruptEvents
Specifies status change interrupt mask. The initial state of this member indicates which events can cause a status change interrupt.
fNotifyEvents
Specifies latched socket state.
fControlCaps
Control capabilities.
fInterfaceType
Specifies memory-only or memory and I/O.
fIREQRouting
Enable or disable IREQ.
fVcc
Vcc power entry index and status.
uVpp1
Vpp1 power entry index.
uVpp2
Vpp2 power entry index.

Remarks

This structure PDCARD_SOCKET_STATE is declared in the Sockserv.h header file. It supports the implementation of the driver described in sample PC Card socket driver.