Struct iso7816_config_t

ISO7816 configuration structure.

Table 1. Members
Type Name Description
bool enable_inverse

Enable inverse transmission and reception

bool enabled  
enum iso7816_guard_time guard_time

Guard time, which lasts two bit times

enum iso7816_inhibit_nack inhibit_nack
Inhibit Non Acknowledge:
  • 0: the NACK is generated;

  • 1: the NACK is not generated.

uint32_t max_iterations  
enum iso7816_protocol_type protocol_t

ISO7816 protocol type

enum iso7816_successive_recv_nack successive_recv_nack
Disable successive NACKs.
  • 0: NACK is sent on the ISO line as soon as a parity error occurs in the received character. Successive parity errors are counted up to the value in the max_iterations field. These parity errors generate a NACK on the ISO line. As soon as this value is reached, no additional NACK is sent on the ISO line. The ITERATION flag is asserted.