English
Language : 

SMCXXXAF Datasheet, PDF (41/82 Pages) Numonyx B.V – 32 Mbyte, 64 Mbyte, 128 Mbyte, 256 Mbyte and 512 Mbyte 3.3 V / 5 V supply CompactFlash™ card
SMCxxxAF
Software interface
7.3
Contiguous I/O mapped addressing (conf = 1)
When the system decodes a contiguous block of I/O registers to select the card, the
registers are accessed in the block of I/O space decoded by the system as shown in
Table 37.
As for the memory mapped addressing, register 0 is accessed with –CE1 Low and –CE2
Low (and A0 Don’t care) as a word register on the combined odd and even data bus (D15 to
D0). This register may also be accessed with –CE1 Low and –CE2 High, by a pair of byte
accesses to offset 0. The address space of this word register overlaps the address space of
the error and feature bytewide registers at offset 1. When accessed twice as byte register
with –CE1 Low, the first byte is the even byte of the word and the second is the odd byte. A
byte access to register 0 with –CE1 High and –CE2 Low accesses the error (read) or feature
(write) register.
Registers at offset 8, 9 and D are non-overlapping duplicates of the registers at offset 0 and
1. Register 8 is equivalent to register 0, while register 9 accesses the odd byte. Therefore, if
the registers are byte accessed in the order 9 then 8 the data will be transferred odd byte
then even byte. Repeated byte accesses to register 8 or 0 will access consecutive (even
than odd) bytes from the data buffer. Repeated word accesses to register 8, 9 or 0 will
access consecutive words from the data buffer, however repeated byte accesses to register
9 are not supported. Repeated alternating byte accesses to registers 8 then 9 will access
consecutive (even then odd) bytes from the data buffer.
Table 37. Contiguous I/O decoding
–REG A10 to A4 A3 A2 A1 A0 Offset
–IORD=0
0
X
0 0 0 0 0h
Even Data register
0
X
0 0 0 1 1h
Error register
0
X
0 0 1 0 2h
Sector Count register
0
X
0 0 1 1 3h
Sector Number register
0
X
0 1 0 0 4h
Cylinder Low register
0
X
0 1 0 1 5h
Cylinder High register
0
X
0 1 1 0 6h Select Card/Head register
0
X
0 1 1 1 7h
Status register
0
X
1000
8h
Dup. Even Data register
0
X
1 0 0 1 9h
Dup. Odd Data register
0
X
1 1 0 1 Dh
Dup. Error register
0
X
1 1 1 0 Eh Alternate Status register
0
X
1 1 1 1 Fh
Drive Address register
–IOWR=0
Even Data register
Feature register
Sector Count register
Sector Number register
Cylinder Low register
Cylinder High register
Select Card/Head register
Command register
Dup. Even Data register
Dup. Odd Data register
Dup. Feature register
Device Control register
Reserved
41/82