projekty/Source/example1/src/ex1.h File Reference

#include "status.h"
#include "types.h"
#include "Ports.h"
#include "lpc2119.h"
#include "lpcVIC.h"
#include "uart.h"
#include "CAN.h"
#include "jtag.h"
#include "pll.h"
#include "sysTime.h"
#include "Interrupt.h"
#include "printf.h"
#include "WD.h"
#include "I2C.h"
#include "AnalogDevices.h"
#include "Ramtron.h"
#include "maxim.h"
#include "MAM.h"
#include "./example1/delay/delay.h"
#include "Directive.h"

Go to the source code of this file.

Data Structures

struct  tTemp

Defines

#define PLLCFG   0x60
#define VPDIV   0x02
#define DBG   1
#define MAX   100
#define MIN   1
#define INC   5
#define WD_TIME   0xFFFFF
#define UP1   1
#define UP2   2
#define AI0   100
#define AI1   101
#define AI2   102
#define AI3   103
#define AI4   104
#define AI5   105
#define AI6   106
#define AI7   107
#define AD_OFFSET   0x64
#define FALSE   0
#define TRUE   1
#define VER   "1.3\x0"
#define HELP   "\n\rex1\n\r\ti[init]\n\r\t0[read temperature]\n\r\tr[CAN]\n\r\tm[Ramtron]\n\r\tt[StartTimer]\n\r\t+/-[delay+/-]\n\r\ts[stoptimer]\n\r\ta[AD5382/91]\n\r\t[d]digital output\n\r\t[l]AIMenu\n\r\t[o]Off\n\r\t[b]status\n\r\t[f]flash"

Typedefs

typedef tTemp pTemp

Functions

void LUT_interrupt ()
void TIMER0_Int ()
void TIMER1_Int ()
void CAN1_Rx_IntRoutine ()
void CAN1_Tx_IntRoutine ()
uint16_t CansInit (uint16_t)
uint16_t GetStatus (void)

Variables

int iI2CStatus
pCAN_R * CAN
pTemp T
int iAddress
pCFI cfi
pJEDEC jedec


Define Documentation

#define AD_OFFSET   0x64

Definition at line 82 of file ex1.h.

#define AI0   100

Definition at line 74 of file ex1.h.

#define AI1   101

Definition at line 75 of file ex1.h.

#define AI2   102

Definition at line 76 of file ex1.h.

#define AI3   103

Definition at line 77 of file ex1.h.

#define AI4   104

Definition at line 78 of file ex1.h.

#define AI5   105

Definition at line 79 of file ex1.h.

#define AI6   106

Definition at line 80 of file ex1.h.

#define AI7   107

Definition at line 81 of file ex1.h.

#define DBG   1

Definition at line 40 of file ex1.h.

#define FALSE   0

Definition at line 83 of file ex1.h.

#define HELP   "\n\rex1\n\r\ti[init]\n\r\t0[read temperature]\n\r\tr[CAN]\n\r\tm[Ramtron]\n\r\tt[StartTimer]\n\r\t+/-[delay+/-]\n\r\ts[stoptimer]\n\r\ta[AD5382/91]\n\r\t[d]digital output\n\r\t[l]AIMenu\n\r\t[o]Off\n\r\t[b]status\n\r\t[f]flash"

Definition at line 87 of file ex1.h.

Referenced by main().

#define INC   5

Definition at line 45 of file ex1.h.

Referenced by MStatistika().

#define MAX   100

Definition at line 41 of file ex1.h.

#define MIN   1

Definition at line 44 of file ex1.h.

#define PLLCFG   0x60

Definition at line 37 of file ex1.h.

#define TRUE   1

Definition at line 84 of file ex1.h.

#define UP1   1

Definition at line 71 of file ex1.h.

#define UP2   2

Definition at line 72 of file ex1.h.

#define VER   "1.3\x0"

Definition at line 86 of file ex1.h.

Referenced by main().

#define VPDIV   0x02

Definition at line 38 of file ex1.h.

#define WD_TIME   0xFFFFF

Definition at line 47 of file ex1.h.

Referenced by main().


Typedef Documentation

typedef struct tTemp pTemp


Function Documentation

void CAN1_Rx_IntRoutine (  ) 

Definition at line 29 of file ex1.c.

void CAN1_Tx_IntRoutine (  ) 

Definition at line 32 of file ex1.c.

uint16_t CansInit ( uint16_t   ) 

Definition at line 209 of file ex1.c.

References CAN1_Init(), CAN2_Init(), CAN4_Init(), and WD_Reset().

Referenced by CANMenu(), and Init().

uint16_t GetStatus ( void   ) 

Definition at line 31 of file status.c.

Referenced by CANMenu(), main(), and Sheduler().

void LUT_interrupt (  ) 

Definition at line 41 of file ex1.c.

Referenced by CAN_LUT_interrupt().

void TIMER0_Int (  ) 

Definition at line 76 of file ex1.c.

void TIMER1_Int (  ) 

Definition at line 102 of file ex1.c.

References printf().


Variable Documentation

pCAN_R* CAN

Definition at line 98 of file ex1.h.

pCFI cfi

Definition at line 109 of file ex1.h.

Referenced by detect_cfi(), and main().

int iAddress

Definition at line 106 of file ex1.h.

Referenced by CANMenu(), and Sheduler().

int iI2CStatus

Definition at line 89 of file ex1.h.

pJEDEC jedec

Definition at line 110 of file ex1.h.

Referenced by detect_jedec(), and main().

pTemp T

Definition at line 105 of file ex1.h.

Referenced by Sheduler().


Generated on Fri Sep 21 13:41:55 2007 for example1 by  doxygen 1.4.7