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

#include "ex1.h"

Go to the source code of this file.

Functions

void CAN1_Rx_IntRoutine ()
void CAN1_Tx_IntRoutine ()
void ErrorOnCAN ()
void TIMER_Int (void)
void LUT_interrupt ()
void Sheduler (void)
void TIMER0_Int ()
void TIMER1_Int ()
uint16_t Init (uint16_t uiStatus)
uint16_t CansInit (uint16_t uiStatus)
void CanRead ()
void SetMyPLL (void)
int main (void)

Variables

int iStaff


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.

void CanRead (  ) 

Definition at line 223 of file ex1.c.

References CAN1_MOD, CAN1_RDA, CAN1_RDB, CAN1_RID, CAN2_MOD, CAN2_RDA, CAN2_RDB, CAN2_RID, CAN4_MOD, CAN4_RDA, CAN4_RDB, CAN4_RID, and printf().

Referenced by CANMenu().

uint16_t CansInit ( uint16_t  uiStatus  ) 

Definition at line 209 of file ex1.c.

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

Referenced by CANMenu(), and Init().

void ErrorOnCAN (  ) 

Definition at line 35 of file ex1.c.

uint16_t Init ( uint16_t  uiStatus  ) 

Definition at line 108 of file ex1.c.

References CansInit(), I2C_AD5382_W, I2C_AD5391_W, I2C_AD7414_0_W_VDD, I2C_AD7997BRU_1_H_W, I2C_AD7997BRU_1_L_W, I2C_Initialize(), I2C_SetSTO(), INT_Initialize(), MAX1039_W, MAX_7300AAI_1_W, MAX_7300AAI_W, printf(), RamtronInit(), SCB_PCONP, SendSlaveAdress(), SetStatus(), STATUS_AD5382, STATUS_AD5391, STATUS_AD7414_0_WDD, STATUS_AD7997BRU_1_H, STATUS_AD7997BRU_1_L, STATUS_MAX1039, STATUS_MAX_7300AAI, STATUS_MAX_7300AAI_1, STATUS_RAMTRON, T0_IR, T0_MCR, T0_MR0, T0_PR, Timer0RegSet(), and WD_Reset().

Referenced by main().

void LUT_interrupt (  ) 

Definition at line 41 of file ex1.c.

Referenced by CAN_LUT_interrupt().

int main ( void   ) 

Definition at line 268 of file ex1.c.

References AD7414_5Read(), AD7997_Menu(), AMenu(), CAN_Off(), CANMenu(), cfi, DelayMS, detect_cfi(), detect_jedec(), DoMenu(), enableIRQ(), GetStatus(), GPIO1_IOCLR, GPIO1_IODIR, GPIO1_IOSET, HELP, Init(), jedec, NULL, PCB_PINSEL2, printf(), RamtronWriteString(), RMenu(), JEDEC::sDevice, SetMyPLL(), JEDEC::sManufacturer, CFI::sQ, CFI::sR, StopTimer0(), CFI::sY, T0_MR0, T0_TCR, UART0_LSR, UARTgetchar(), UARTInitialize(), VER, WD_Init(), WD_Reset(), WD_Stop(), and WD_TIME.

void SetMyPLL ( void   ) 

Definition at line 247 of file ex1.c.

References PLLE, PLOCK, SCB_PLLCFG, SCB_PLLCON, SCB_PLLFEED, SCB_PLLSTAT, and SCB_VPBDIV.

Referenced by main().

void Sheduler ( void   ) 

Definition at line 46 of file ex1.c.

References AD7414_5Read(), GetStatus(), iAddress, printf(), StopTimer0(), T, and T0_TCR.

Referenced by TIMER0_Int().

void TIMER0_Int (  ) 

Definition at line 76 of file ex1.c.

References GPIO1_IOCLR, GPIO1_IOSET, iStaff, printf(), Sheduler(), and WD_Reset().

void TIMER1_Int (  ) 

Definition at line 102 of file ex1.c.

References printf().

void TIMER_Int ( void   ) 

Definition at line 38 of file ex1.c.

Referenced by TIMER1_interrupt().


Variable Documentation

int iStaff

Definition at line 75 of file ex1.c.

Referenced by TIMER0_Int().


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