Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains PC Card configuration information. It is passed to the CardRequestConfigurationfunction. All members are input only.
typedef struct { CARD_SOCKET_HANDLE hSocket; UINT16 fAttributes; UINT8 fInterfaceType; UINT8 uVcc; UINT8 uVpp1; UINT8 uVpp2; UINT8 fRegisters; UINT8 uConfigReg; UINT8 uStatusReg; UINT8 uPinReg; UINT8 uCopyReg; UINT8 uExtendedStatus; } CARD_CONFIG_INFO, *PCARD_CONFIG_INFO;
Members
Value | Description |
---|---|
CFG_ATTR_IRQ_STEERING | Enables IRQ steering in the socket controller. |
CFG_ATTR_ENABLE_DMA | Enables DMA. |
CFG_ATTR_IRQ_WAKEUP | Allow PCMCIA interrupts to wake the system. |
CFG_ATTR_KEEP_POWERED | Keep the PCMCIA bus powered during suspend. |
Value | Description |
---|---|
CFG_IFACE_MEMORY | Puts socket controller in memory-only interface mode. |
CFG_IFACE_MEMORY_IO | Puts the socket controller in memory mode and I/O interface mode. |
Value | Description |
---|---|
CFG_REGISTER_CONFIG | Indicates that the configuration option register ( uConfigReg) contains data. |
CFG_REGISTER_STATUS | Indicates that the function configuration and status register ( uStatusReg) contains data. |
CFG_REGISTER_PIN | Indicates that the pin replacement register ( uPinReg) contains data. |
CFG_REGISTER_COPY | Indicates that the socket and copy register ( uCopyReg) contains data. |
CFG_REGISTER_EXSTATUS | Indicates that the extended status register ( uExtendedStatus) contains data. |
The lower 6 bits of the configuration option register specify which configuration number to use for single function cards.
Value | Description |
---|---|
FCR_COR_LEVEL_IREQ | 1 = level mode interrupts, 0 = pulse mode. |
FCR_COR_SRESET | 1 = soft reset. |
Value | Description |
---|---|
FCR_FCSR_INTR_ACK | Acknowledge interrupt. |
FCR_FCSR_INTR | Interrupt pending. |
FCR_FCSR_PWR_DOWN | Place PC Card in off mode. |
FCR_FCSR_AUDIO | Enable audio signal on BVD2 (pin 62). |
FCR_FCSR_IO_IS_8 | Used by the host to indicate 8-bit-only I/O. |
FCR_FCSR_STSCHG | Enable status change (STSCHG, pin 63) from PC Card. |
FCR_FCSR_CHANGED | Specifies whether one of the status-changed bits is set in the pin replacement register. |
Remarks
Card Services remembers the base address of the configuration registers, so there is no need for a uConfigBasemember.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004