![Advanced Card ACR20 Program Reference Manual Download Page 21](http://html1.mh-extra.com/html/advanced-card/acr20/acr20_program-reference-manual_2855845021.webp)
Smart Card Reader Driver Program Reference Manual
rev 1.1 Sept, 2003
Advanced Card Systems Ltd.
Page 21 of 34
2.3.3.10 ACI_CardOptions
The ACI_CardOptions command is available for the IIC card and the XIIC card only. It can be
used to change the page size and the chip select address bits. The parameter structure is
defined as follow:
Field
Value
Description
CLA 0x00
Instruction
class
INS ACI_CardOptions
Instruction
code
P1
Bitmap for this byte
is:
xAAAxPPP
AAA = Chip select address bits.
PPP = Page size where
000 = 4 bytes
001 = 8 bytes
010 = 16 bytes
011 = 32 bytes
100 = 64 bytes
101 = 64 bytes
110 = 64 bytes
111 = 64 bytes
P2 -
Don't
care
Lc
0x00
No input data for this command
DataIn
-
No input data
Le
0x00
No output data expected from this command
2.3.3.11 ACI_ReadProtect
The ACI_ReadProtect command is available for the XIIC card, the AM256 card, the AM2KS,
the AM4KP card and the X76F041 card. It can be used to read the block security status and
the block number of the high endurance memory block from the XIIC card or it can be used to
read the write protection register for the AM256 card and the AM4KP card or it can be used to
read the configuration register for the X76F041 card or it can be used to read the security
memory for the AM2KS card. The parameter structure is defined as follow:
Field
Value
Description
CLA 0x00
Instruction
class
INS
ACI_ReadProtect
Instruction code
P1 -
Don’t
care
P2 -
Don't
care
Lc
0x00
No input data for this command
DataIn
-
No input data
Le
variable
Case when : -
XIIC : Le = 3
AM256 : Le = 1
AM4KP : Le = 1
X76F041 : Le = 5
AM2KS : Le=4
AM8KS : Le=3