Добавить загрузку F28335 по ProtoCAN и сервисные команды клиента
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef TEST_DSP_H
|
||||
#define TEST_DSP_H
|
||||
#include <stdint.h>
|
||||
#define EALLOW
|
||||
#define EDIS
|
||||
struct test_reg { uint32_t all; struct { unsigned DLC, RTR; } bit; };
|
||||
struct MBOX { struct test_reg MSGID, MSGCTRL, MDL, MDH; };
|
||||
static struct { struct MBOX MBOX3, MBOX4, MBOX6; } ECanaMboxes;
|
||||
static struct { struct test_reg CANME,CANMD,CANRMP,CANRML,CANMIM,CANTA,CANAA,CANTRS,CANTRR; } ECanaRegs;
|
||||
static struct { struct test_reg LAM3,LAM6; } ECanaLAMRegs;
|
||||
static struct { unsigned long InterruptCount; } CpuTimer1;
|
||||
static struct { unsigned WDCR; } SysCtrlRegs;
|
||||
#endif
|
||||
Reference in New Issue
Block a user