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

#include "types.h"
#include "lpc2119.h"
#include "Directive.h"

Go to the source code of this file.

Functions

void TestTxSR (char *, short)
uint32_t TestICR (short, char *, short)
short TestRFS (short, char *, short)
short TestSR (short, char *, short)
short TestGSR (short, char *, short)
void PrintCANsStatus (short, char *, short)


Function Documentation

void PrintCANsStatus ( short  ,
char *  ,
short   
)

Definition at line 153 of file CanTest.c.

References disableIRQ(), enableIRQ(), printf(), TestGSR(), TestICR(), TestSR(), TestTxSR(), and WD_Reset().

short TestGSR ( short  ,
char *  ,
short   
)

Definition at line 133 of file CanTest.c.

References CAN1_GSR, CAN2_GSR, CAN4_GSR, disableIRQ(), enableIRQ(), GSR_BS, GSR_DOS, GSR_ES, GSR_TBS, GSR_TCS, GSR_TS, printf(), and WD_Reset().

Referenced by PrintCANsStatus().

uint32_t TestICR ( short  ,
char *  ,
short   
)

Definition at line 47 of file CanTest.c.

References CAN1_ICR, CAN1_SR, CAN2_ICR, CAN4_ICR, ICR_ALI, ICR_BEI, ICR_DOI, ICR_EI, ICR_EPI, ICR_RI, ICR_TI1, ICR_WUI, printf(), and WD_Reset().

Referenced by PrintCANsStatus().

short TestRFS ( short  ,
char *  ,
short   
)

Definition at line 96 of file CanTest.c.

References BP, CAN1_RFS, CAN2_RFS, CAN4_RFS, disableIRQ(), and printf().

short TestSR ( short  ,
char *  ,
short   
)

Definition at line 111 of file CanTest.c.

References CAN1_SR, CAN2_SR, CAN4_SR, disableIRQ(), enableIRQ(), PCC_CAN1, PCC_CAN2, PCC_CAN4, printf(), RS_BS, RS_DOS, RS_ES, RS_RS, RS_RSB, RS_TBS1, RS_TCS1, RS_TS1, SCB_PCONP, and WD_Reset().

Referenced by PrintCANsStatus().

void TestTxSR ( char *  ,
short   
)

Definition at line 36 of file CanTest.c.

References CAN_TxSR, disableIRQ(), enableIRQ(), printf(), TxSR_TCS, TxSR_TS1, TxSR_TS2, TxSR_TS4, and WD_Reset().

Referenced by PrintCANsStatus().


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