#include "CanTest.h"Go to the source code of this file.
Functions | |
| void | TestTxSR (char *str, short sCANxEnable) |
| uint32_t | TestICR (short sCAN, char *str, short enable) |
| short | TestRFS (short sCan, char *str, short sCANxEnable) |
| short | TestSR (short sCan, char *str, short sCANxEnable) |
| short | TestGSR (short sCan, char *str, short sCANxEnable) |
| void | PrintCANsStatus (short can, char *str, short sCANxEnable) |
| void PrintCANsStatus | ( | short | can, | |
| char * | str, | |||
| short | sCANxEnable | |||
| ) |
Definition at line 153 of file CanTest.c.
References disableIRQ(), enableIRQ(), printf(), TestGSR(), TestICR(), TestSR(), TestTxSR(), and WD_Reset().
| short TestGSR | ( | short | sCan, | |
| char * | str, | |||
| short | sCANxEnable | |||
| ) |
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 | sCAN, | |
| char * | str, | |||
| short | enable | |||
| ) |
| short TestRFS | ( | short | sCan, | |
| char * | str, | |||
| short | sCANxEnable | |||
| ) |
| short TestSR | ( | short | sCan, | |
| char * | str, | |||
| short | sCANxEnable | |||
| ) |
| void TestTxSR | ( | char * | str, | |
| short | sCANxEnable | |||
| ) |
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().
1.4.7