0ch word expected Card Services Version (0210h For V2.10)


Bitfields for Card Services client event codes:
Bit(s) Description (Table 0638)
0 change in write-protect status
1 change in card lock
2 ejection request
3 insertion request
4 battery is dead
5 battery low
6 change in Ready
7 change in Card Detect
8 power management change
9 reset
10 Socket Services updated
11 extended status change

See Also: #0637

Format of Card Services ReleaseIRQ record:
Offset Size Description (Table 0639)
00h WORD logical socket number
02h WORD attributes (see #0632)
04h BYTE assigned IRQ number to be released

Format of Card Services Release Configuration record:
Offset Size Description (Table 0640)
00h WORD logical socket number

Format of Card Services Request I/O record:
Offset Size Description (Table 0641)
00h WORD logical socket number
02h WORD base port 1
04h BYTE size of port range 1
05h BYTE attributes for port range 1 (see #0633)
06h WORD base port 2
08h BYTE size of port range 2
09h BYTE attributes for port range 2 (see #0633)
0Ah BYTE number of address lines (typically 16)

See Also: #0642,#0640

Format of Card Services Request IRQ record:
Offset Size Description (Table 0642)
00h WORD logical socket number
02h WORD attributes (see #0632)
04h BYTE (ret) assigned IRQ number, if successful
05h BYTE IRQ info (see #0643)
06h WORD bitmap of available IRQs (bit 0 = IRQ0, etc.)
(only if bit 4 of IRQ info set)

See Also: #0641,#0640

Bitfields for Card Services Request IRQ info flags:
Bit(s) Description (Table 0643)
7 IRQ is shared
6 pulse (edge-triggered) interrupt
5 level interrupt
4 use IRQ bitmap
--- bit 4 set ---
3 vendor-specific interrupt
2 bus error
1 I/O check interrupt
0 NMI
--- bit 4 clear ---
3-0 IRQ number

See Also: #0642

Format of Card Services Request Window record:
Offset Size Description (Table 0644)
00h WORD logical socket number
02h WORD attributes (see #0645)
04h DWORD system base adress
08h DWORD size of memory window
0Ch BYTE additional info
if attributes bit ??? is set, this is the address-lines field
otherwise, this is the access-speed field (see #0646)

Bitfields for Card Services Request Window attributes:
Bit(s) Description (Table 0645)
0 I/O window instead of memory window
1 attribute memory instead of normal memory (16-bit PC Cards only)
2 window enabled
3 16-bit data path instead of 8-bit path (16-bit PC Cards only, v2.10+)
(ignored if bit 9 set)
4 size is given in 16K pages (invalid for CardBus PC Cards)
5 shared (invalid for CardBus)
6 first shared (invalid for CardBus)
7 "CS_BindingSpecific" (memory window only)
8 card offsets are window-size granular (16-bit PC Card memory window)
9 32-bit data path (CardBus only)
10 reserved (0)
12-11 prefetch/cache
00 neither prefetchable nor cacheable
01 prefetchable but not cacheable
10 prefetchable and cachable
11 reserved
15-13 decoded base address register number (CardBus only)

See Also: #0644,#0646

Bitfields for Card Services Request Window access-speed:
Bit(s) Description (Table 0646)
6-3 mantissa
0000 use device speed code
0001 1.0
0010 1.2
0011 1.2 ???
0100 1.5
0101 2.0
0110 2.5
0111 3.0
1000 3.5
1001 4.0
1010 4.5
1011 5.0
1100 5.5
1101 6.0
1110 7.0
1111 8.0
--- if mantissa==0 ---
2-0 device speed code
000 reserved
001 250 ns
010 200 ns
011 150 ns
100 100 ns
101-111 reserved
--- if mantissa<>0 ---
2-0 speed exponent
000 1 ns
001 10 ns
010 100 ns
011 1 us
100 10 us
101 100 us
110 1 ms
111 10 ms

See Also: #0644,#0645

Format of Card Services Request/Release Exclusive Access record:
Offset Size Description (Table 0647)
00h WORD logical socket number
02h WORD attributes (currently all reserved, must be 0000h)

Format of Card Services Request Configuration record:
Offset Size Description (Table 0648)
00h WORD socket (usually 0000h)
02h WORD attributes (see #0629)
04h BYTE Vcc value
05h BYTE Vpp1 value
06h BYTE Vpp2 value
07h BYTE interface type (see #0630)
08h DWORD base address of configuration registers
0Ch BYTE card's Status register setting (if present)
0Dh BYTE card's Pin register setting (if present)
0Eh BYTE card's Socket/Copy register setting (if present)
0Fh BYTE card's Option register setting (if present)
10h BYTE bitmap of present card configuration registers
11h BYTE extended status register setting (if present)

See Also: #0628