SS_ResetSocket
Other versions of this page are also available for the following:
8/28/2008
This function is used only to power up a socket after a reset.
Syntax
STATUS (*SS_ResetSocket)(
HANDLE hSocket
);
Parameters
- hSocket
[in] Handle passed during the card detect event notification.
Return Value
Returns one of the return codes defined in the Cardsv2.h header file.
Remarks
A socket driver should detect the initial voltage that should apply to the specified card. The initial voltage should then be applied to the socket by following the power-up sequence. The following list shows the PC Card power-up sequence.
- Power off the socket.
- Wait 300 milliseconds (ms).
- Power up the socket to the desired voltage.
- Wait 100 ms.
- Send assert reset signal to the PC Card bus.
- Wait for 20 ms.
- Send de-assert reset signal to the PC Card bus.
- Wait for the ready signal to complete.
Requirements
Header | socksv2.h |
Library | Pcc_serv.dll |
Windows Embedded CE | Windows CE 5.0 and later |