#include <usart.h>
Definition at line 150 of file usart.h.
Data Fields | |
int | bit_order |
Bit order in transmitted characters:
| |
int | dis_suc_nack |
Disable successive NACKs. | |
unsigned short | fidi_ratio |
The number of ISO7816 clock ticks in every bit period (1 to 2047, 0 = disable clock). | |
int | inhibit_nack |
Inhibit Non Acknowledge:
| |
unsigned long | iso7816_hz |
Set the frequency of the ISO7816 clock. | |
unsigned char | max_iterations |
Max number of repetitions (0 to 7). | |
unsigned char | paritytype |
How to calculate the parity bit: USART_EVEN_PARITY for normal mode or USART_ODD_PARITY for inverse mode. |
Bit order in transmitted characters:
Definition at line 182 of file usart.h.
Referenced by usart_init_iso7816().
Disable successive NACKs.
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 addititional NACK is sent on the ISO line. The ITERATION flag is asserted.
Definition at line 174 of file usart.h.
Referenced by usart_init_iso7816().
unsigned short usart_iso7816_options_t::fidi_ratio |
The number of ISO7816 clock ticks in every bit period (1 to 2047, 0 = disable clock).
Bit rate = iso7816_hz / fidi_ratio.
Definition at line 157 of file usart.h.
Referenced by usart_init_iso7816().
Inhibit Non Acknowledge:
Definition at line 168 of file usart.h.
Referenced by usart_init_iso7816().
unsigned long usart_iso7816_options_t::iso7816_hz |
Set the frequency of the ISO7816 clock.
Definition at line 153 of file usart.h.
Referenced by usart_init_iso7816().
unsigned char usart_iso7816_options_t::max_iterations |
Max number of repetitions (0 to 7).
Definition at line 177 of file usart.h.
Referenced by usart_init_iso7816().
unsigned char usart_iso7816_options_t::paritytype |
How to calculate the parity bit: USART_EVEN_PARITY for normal mode or USART_ODD_PARITY for inverse mode.
Definition at line 161 of file usart.h.
Referenced by usart_init_iso7816().