BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
tftp.c File Reference
#include "includes.h"

Go to the source code of this file.

Macros

#define TftpIdleState   0
#define TftpCs8900InitialState0   1
#define TftpCs8900InitialState1   2
#define TftpCs8900DownloadState0   3
#define TftpCs8900FinishState   4
#define TftpDm9000InitialState0   5
#define TftpDm9000InitialState1   6
#define TftpDm9000DownloadState0   7
#define TftpDm9000FinishState   8
#define Tftp_DOWNLOAD_ADDRESS   IMAGE_ADDRESS

Functions

void F_TftpInit (void)
void F_TftpSvc (void)
void F_TftpPlay (void)
INT8U F_TftpStatusCheck (void)

Variables

INT8U EthernetMacAddress [ETHERNET_MAC_LENGTH] = {0x00,0x80,0x48,0x12,0x34,0x56}
INT8U EthernetIpAddress [ETHERNET_IP_LENGTH] = {192,168,2,2}
TFTP_CONTROL TftpCtrl

Macro Definition Documentation

#define Tftp_DOWNLOAD_ADDRESS   IMAGE_ADDRESS

Definition at line 21 of file tftp.c.

#define TftpCs8900DownloadState0   3

Definition at line 14 of file tftp.c.

#define TftpCs8900FinishState   4

Definition at line 15 of file tftp.c.

#define TftpCs8900InitialState0   1

Definition at line 12 of file tftp.c.

#define TftpCs8900InitialState1   2

Definition at line 13 of file tftp.c.

#define TftpDm9000DownloadState0   7

Definition at line 18 of file tftp.c.

#define TftpDm9000FinishState   8

Definition at line 19 of file tftp.c.

#define TftpDm9000InitialState0   5

Definition at line 16 of file tftp.c.

#define TftpDm9000InitialState1   6

Definition at line 17 of file tftp.c.

#define TftpIdleState   0

Definition at line 11 of file tftp.c.


Function Documentation

void F_TftpInit ( void  )

Definition at line 31 of file tftp.c.

void F_TftpPlay ( void  )

Definition at line 275 of file tftp.c.

INT8U F_TftpStatusCheck ( void  )

Definition at line 279 of file tftp.c.

void F_TftpSvc ( void  )

Definition at line 49 of file tftp.c.


Variable Documentation

INT8U EthernetIpAddress[ETHERNET_IP_LENGTH] = {192,168,2,2}

Definition at line 23 of file tftp.c.

INT8U EthernetMacAddress[ETHERNET_MAC_LENGTH] = {0x00,0x80,0x48,0x12,0x34,0x56}

Definition at line 22 of file tftp.c.

TFTP_CONTROL TftpCtrl

Definition at line 24 of file tftp.c.