class documentation
ATR class.
Method | __checksyncbyte__ |
Check validity of TS. |
Method | __init__ |
Construct a new atr from atr. |
Method | __init |
Parse ATR and initialize members: |
Method | __str__ |
Returns a string representation of the ATR as a stream of bytes. |
Method | dump |
Dump the details of an ATR. |
Method | get |
Return bit rate factor. |
Method | get |
Return the checksum of the ATR. Checksum is mandatory only for T=1. |
Method | get |
Return clock rate conversion. |
Method | get |
Return extra guard time. |
Method | get |
Return historical bytes. |
Method | get |
Return count of historical bytes. |
Method | get |
Return count of interface bytes. |
Method | get |
Return maximum programming current. |
Method | get |
Return programming voltage. |
Method | get |
Returns a dictionary of supported protocols. |
Method | get |
Return TA1 byte. |
Method | get |
Return TB1 byte. |
Method | get |
Return TC1 byte. |
Method | get |
Return TD1 byte. |
Method | is |
Return True if T=0 is supported. |
Method | is |
Return True if T=15 is supported. |
Method | is |
Return True if T=1 is supported. |
Class Variable | bitratefactor |
Undocumented |
Class Variable | clockrateconversion |
Undocumented |
Class Variable | currenttable |
Undocumented |
Instance Variable | atr |
Undocumented |
Instance Variable | checksum |
Undocumented |
Instance Variable | DI |
Undocumented |
Instance Variable | FI |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | has |
Undocumented |
Instance Variable | historical |
Undocumented |
Instance Variable | II |
Undocumented |
Instance Variable | interface |
Undocumented |
Instance Variable | K |
Undocumented |
Instance Variable | N |
Undocumented |
Instance Variable | PI1 |
Undocumented |
Instance Variable | T0 |
Undocumented |
Instance Variable | TA |
Undocumented |
Instance Variable | TB |
Undocumented |
Instance Variable | TC |
Undocumented |
Instance Variable | TCK |
Undocumented |
Instance Variable | TD |
Undocumented |
Instance Variable | TS |
Undocumented |
Instance Variable | Y |
Undocumented |
Parse ATR and initialize members:
- TS: initial character
- T0: format character
- TA[n], TB[n], TC[n], TD[n], for n=0,1,...: protocol parameters
Note | |
protocol parameters indices start at 0, e.g. TA[0], TA[1] correspond to the ISO standard TA1, TA2 parameters
|