#include <types.h>
Go to the source code of this file.
Defines | |
#define | sw_get() sw |
Enumerations | |
enum | SW { SW_ACCESS_DENIED = 0x6982, SW_AUTH_BLOCKED = 0x6983, SW_AVAILABLE = 0x6100, SW_CHANGE_MEMORY_ERROR = 0x6581, SW_COUNTER = 0x63C0, SW_EOD = 0x6282, SW_FILE_EXISTS = 0x6A89, SW_FILE_FILLED = 0x6381, SW_FILE_NOT_FOUND = 0x6A82, SW_FILE_TO_SHORT = 0x6A84, SW_INCOMPATIBLE_FILE = 0x6981, SW_LC_INCONSISTEND_WITH_P1P2 = 0x6A87, SW_NOT_ALLOWED = 0x6986, SW_NOT_SUPPORTED = 0x6A81, SW_OK = 0x9000, SW_OTHER = 0x6F00, SW_REF_DATA_INVALID = 0x6984, SW_REF_DATA_NOT_FOUND = 0x6A88, SW_VERIFCATION_FAILED = 0x6300, SW_WRONG_CLA = 0x6E00, SW_WRONG_CONDITION = 0x6985, SW_WRONG_DATA = 0x6A80, SW_WRONG_INS = 0x6D00, SW_WRONG_LE = 0x6C00, SW_WRONG_LEN = 0x6700, SW_WRONG_P1P2 = 0x6A86, SW_WRONG_REFERENCE = 0x6B00 } |
Status word values. More... | |
Functions | |
void | sw_set (iu16 value) |
Function for setting sw. More... | |
Variables | |
iu16 | sw |
Status word returned by functions. More... |
See also for the man page of sw.
|
|
|
|
Function for setting sw. This function reduces the code size on the AVR architecture. |
|
Status word returned by functions. The state of sw is undefined, on return value TRUE. The content of this variable is returned at the end of the command interpreter loop. Functions falled from the command interpreter loop should set it to SW_OK if they return without error. |