SS_ResetSocket (Windows CE 5.0)
This function is used only to power up a socket after a reset.
STATUS (*SS_ResetSocket)(HANDLEhSocket);
Parameters
- hSocket
[in] Handle passed during the card detect event notification.
Return Values
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 the offset 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
OS Versions: Windows CE 5.0 and later
Header: Socksv2.h
Link Library: Pcc_serv.dll
See Also
Send Feedback on this topic to the authors