SAMV71 Xplained Ultra Software Package 1.5

main.c File Reference

#include "board.h"
#include <string.h>

Go to the source code of this file.

Defines

#define MAX_ANSWER_SIZE   10
#define MAX_ATR_SIZE   55
#define USART   USART0
#define ID_USART   ID_USART0

Functions

int main (void)

Detailed Description

This file contains all the specific code for the usart_iso7816 example.

Definition in file main.c.


Define Documentation

#define MAX_ANSWER_SIZE   10

Maximum ucSize in bytes of the smart card answer to a command.

Definition at line 111 of file main.c.

#define MAX_ATR_SIZE   55

Maximum ATR ucSize in bytes.

Definition at line 114 of file main.c.

#define USART   USART0

Register base for USART

Definition at line 117 of file main.c.


Function Documentation

int main ( void   ) 

Initializes the DBGU and ISO7816 driver, and starts some tests.

Returns:
Unused (ANSI-C compatibility)

Definition at line 273 of file main.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines