📄 dsp28_adc.pp
字号:
Uint16 RML2:1;
Uint16 RML3:1;
Uint16 RML4:1;
Uint16 RML5:1;
Uint16 RML6:1;
Uint16 RML7:1;
Uint16 RML8:1;
Uint16 RML9:1;
Uint16 RML10:1;
Uint16 RML11:1;
Uint16 RML12:1;
Uint16 RML13:1;
Uint16 RML14:1;
Uint16 RML15:1;
Uint16 RML16:1;
Uint16 RML17:1;
Uint16 RML18:1;
Uint16 RML19:1;
Uint16 RML20:1;
Uint16 RML21:1;
Uint16 RML22:1;
Uint16 RML23:1;
Uint16 RML24:1;
Uint16 RML25:1;
Uint16 RML26:1;
Uint16 RML27:1;
Uint16 RML28:1;
Uint16 RML29:1;
Uint16 RML30:1;
Uint16 RML31:1;
};
union CANRML_REG {
Uint32 all;
struct CANRML_BITS bit;
};
struct CANRFP_BITS {
Uint16 RFP0:1;
Uint16 RFP1:1;
Uint16 RFP2:1;
Uint16 RFP3:1;
Uint16 RFP4:1;
Uint16 RFP5:1;
Uint16 RFP6:1;
Uint16 RFP7:1;
Uint16 RFP8:1;
Uint16 RFP9:1;
Uint16 RFP10:1;
Uint16 RFP11:1;
Uint16 RFP12:1;
Uint16 RFP13:1;
Uint16 RFP14:1;
Uint16 RFP15:1;
Uint16 RFP16:1;
Uint16 RFP17:1;
Uint16 RFP18:1;
Uint16 RFP19:1;
Uint16 RFP20:1;
Uint16 RFP21:1;
Uint16 RFP22:1;
Uint16 RFP23:1;
Uint16 RFP24:1;
Uint16 RFP25:1;
Uint16 RFP26:1;
Uint16 RFP27:1;
Uint16 RFP28:1;
Uint16 RFP29:1;
Uint16 RFP30:1;
Uint16 RFP31:1;
};
union CANRFP_REG {
Uint32 all;
struct CANRFP_BITS bit;
};
struct CANGAM_BITS {
Uint16 GAM150:16;
Uint16 GAM2816:13;
Uint16 rsvd:2;
Uint16 AMI:1;
};
union CANGAM_REG {
Uint32 all;
struct CANGAM_BITS bit;
};
struct CANMC_BITS {
Uint16 MBNR:5;
Uint16 SRES:1;
Uint16 STM:1;
Uint16 ABO:1;
Uint16 CDR:1;
Uint16 WUBA:1;
Uint16 DBO:1;
Uint16 PDR:1;
Uint16 CCR:1;
Uint16 SCM:1;
Uint16 LNTM:1;
Uint16 LNTC:1;
Uint16 SUSP:1;
Uint16 rsvd:15;
};
union CANMC_REG {
Uint32 all;
struct CANMC_BITS bit;
};
struct CANBTC_BITS {
Uint16 TSEG2:3;
Uint16 TSEG1:4;
Uint16 SAM:1;
Uint16 SJW:2;
Uint16 ERM:1;
Uint16 rsvd1:5;
Uint16 BRP:8;
Uint16 rsvd2:8;
};
union CANBTC_REG {
Uint32 all;
struct CANBTC_BITS bit;
};
struct CANES_BITS {
Uint16 TM:1;
Uint16 RM:1;
Uint16 rsvd1:1;
Uint16 PDA:1;
Uint16 CCE:1;
Uint16 SMA:1;
Uint16 rsvd2:10;
Uint16 EW:1;
Uint16 EP:1;
Uint16 BO:1;
Uint16 ACKE:1;
Uint16 SE:1;
Uint16 CRCE:1;
Uint16 SA1:1;
Uint16 BE:1;
Uint16 FE:1;
Uint16 rsvd3:7;
};
union CANES_REG {
Uint32 all;
struct CANES_BITS bit;
};
struct CANTEC_BITS {
Uint16 TEC:8;
Uint16 rsvd1:8;
Uint16 rsvd2:16;
};
union CANTEC_REG {
Uint32 all;
struct CANTEC_BITS bit;
};
struct CANREC_BITS {
Uint16 REC:8;
Uint16 rsvd1:8;
Uint16 rsvd2:16;
};
union CANREC_REG {
Uint32 all;
struct CANREC_BITS bit;
};
struct CANGIF0_BITS {
Uint16 MIV0:5;
Uint16 rsvd1:3;
Uint16 WLIF0:1;
Uint16 EPIF0:1;
Uint16 BOIF0:1;
Uint16 RMLIF0:1;
Uint16 WUIF0:1;
Uint16 WDIF0:1;
Uint16 AAIF0:1;
Uint16 GMIF0:1;
Uint16 TCOIF0:1;
Uint16 MAIF0:1;
Uint16 rsvd2:14;
};
union CANGIF0_REG {
Uint32 all;
struct CANGIF0_BITS bit;
};
struct CANGIM_BITS {
Uint16 I0EN:1;
Uint16 I1EN:1;
Uint16 SIL:1;
Uint16 rsvd1:5;
Uint16 WLIM:1;
Uint16 EPIM:1;
Uint16 BOIM:1;
Uint16 RMLIM:1;
Uint16 WUIM:1;
Uint16 WDIM:1;
Uint16 AAIM:1;
Uint16 rsvd2:1;
Uint16 TCOIM:1;
Uint16 MAIM:1;
Uint16 rsvd3:14;
};
union CANGIM_REG {
Uint32 all;
struct CANGIM_BITS bit;
};
struct CANGIF1_BITS {
Uint16 MIV1:5;
Uint16 rsvd1:3;
Uint16 WLIF1:1;
Uint16 EPIF1:1;
Uint16 BOIF1:1;
Uint16 RMLIF1:1;
Uint16 WUIF1:1;
Uint16 WDIF1:1;
Uint16 AAIF1:1;
Uint16 GMIF1:1;
Uint16 TCOIF1:1;
Uint16 MAIF1:1;
Uint16 rsvd2:14;
};
union CANGIF1_REG {
Uint32 all;
struct CANGIF1_BITS bit;
};
struct CANMIM_BITS {
Uint16 MIM0:1;
Uint16 MIM1:1;
Uint16 MIM2:1;
Uint16 MIM3:1;
Uint16 MIM4:1;
Uint16 MIM5:1;
Uint16 MIM6:1;
Uint16 MIM7:1;
Uint16 MIM8:1;
Uint16 MIM9:1;
Uint16 MIM10:1;
Uint16 MIM11:1;
Uint16 MIM12:1;
Uint16 MIM13:1;
Uint16 MIM14:1;
Uint16 MIM15:1;
Uint16 MIM16:1;
Uint16 MIM17:1;
Uint16 MIM18:1;
Uint16 MIM19:1;
Uint16 MIM20:1;
Uint16 MIM21:1;
Uint16 MIM22:1;
Uint16 MIM23:1;
Uint16 MIM24:1;
Uint16 MIM25:1;
Uint16 MIM26:1;
Uint16 MIM27:1;
Uint16 MIM28:1;
Uint16 MIM29:1;
Uint16 MIM30:1;
Uint16 MIM31:1;
};
union CANMIM_REG {
Uint32 all;
struct CANMIM_BITS bit;
};
struct CANMIL_BITS {
Uint16 MIL0:1;
Uint16 MIL1:1;
Uint16 MIL2:1;
Uint16 MIL3:1;
Uint16 MIL4:1;
Uint16 MIL5:1;
Uint16 MIL6:1;
Uint16 MIL7:1;
Uint16 MIL8:1;
Uint16 MIL9:1;
Uint16 MIL10:1;
Uint16 MIL11:1;
Uint16 MIL12:1;
Uint16 MIL13:1;
Uint16 MIL14:1;
Uint16 MIL15:1;
Uint16 MIL16:1;
Uint16 MIL17:1;
Uint16 MIL18:1;
Uint16 MIL19:1;
Uint16 MIL20:1;
Uint16 MIL21:1;
Uint16 MIL22:1;
Uint16 MIL23:1;
Uint16 MIL24:1;
Uint16 MIL25:1;
Uint16 MIL26:1;
Uint16 MIL27:1;
Uint16 MIL28:1;
Uint16 MIL29:1;
Uint16 MIL30:1;
Uint16 MIL31:1;
};
union CANMIL_REG {
Uint32 all;
struct CANMIL_BITS bit;
};
struct CANOPC_BITS {
Uint16 OPC0:1;
Uint16 OPC1:1;
Uint16 OPC2:1;
Uint16 OPC3:1;
Uint16 OPC4:1;
Uint16 OPC5:1;
Uint16 OPC6:1;
Uint16 OPC7:1;
Uint16 OPC8:1;
Uint16 OPC9:1;
Uint16 OPC10:1;
Uint16 OPC11:1;
Uint16 OPC12:1;
Uint16 OPC13:1;
Uint16 OPC14:1;
Uint16 OPC15:1;
Uint16 OPC16:1;
Uint16 OPC17:1;
Uint16 OPC18:1;
Uint16 OPC19:1;
Uint16 OPC20:1;
Uint16 OPC21:1;
Uint16 OPC22:1;
Uint16 OPC23:1;
Uint16 OPC24:1;
Uint16 OPC25:1;
Uint16 OPC26:1;
Uint16 OPC27:1;
Uint16 OPC28:1;
Uint16 OPC29:1;
Uint16 OPC30:1;
Uint16 OPC31:1;
};
union CANOPC_REG {
Uint32 all;
struct CANOPC_BITS bit;
};
struct CANTIOC_BITS {
Uint16 TXIN:1;
Uint16 TXOUT:1;
Uint16 TXDIR:1;
Uint16 TXFUNC:1;
Uint16 rsvd1:12;
Uint16 rsvd2:16;
};
union CANTIOC_REG {
Uint32 all;
struct CANTIOC_BITS bit;
};
struct CANRIOC_BITS {
Uint16 RXIN:1;
Uint16 RXOUT:1;
Uint16 RXDIR:1;
Uint16 RXFUNC:1;
Uint16 rsvd1:12;
Uint16 rsvd2:16;
};
union CANRIOC_REG {
Uint32 all;
struct CANRIOC_BITS bit;
};
struct CANLNT_BITS {
Uint16 LNT0:1;
Uint16 LNT1:1;
Uint16 LNT2:1;
Uint16 LNT3:1;
Uint16 LNT4:1;
Uint16 LNT5:1;
Uint16 LNT6:1;
Uint16 LNT7:1;
Uint16 LNT8:1;
Uint16 LNT9:1;
Uint16 LNT10:1;
Uint16 LNT11:1;
Uint16 LNT12:1;
Uint16 LNT13:1;
Uint16 LNT14:1;
Uint16 LNT15:1;
Uint16 LNT16:1;
Uint16 LNT17:1;
Uint16 LNT18:1;
Uint16 LNT19:1;
Uint16 LNT20:1;
Uint16 LNT21:1;
Uint16 LNT22:1;
Uint16 LNT23:1;
Uint16 LNT24:1;
Uint16 LNT25:1;
Uint16 LNT26:1;
Uint16 LNT27:1;
Uint16 LNT28:1;
Uint16 LNT29:1;
Uint16 LNT30:1;
Uint16 LNT31:1;
};
union CANLNT_REG {
Uint32 all;
struct CANLNT_BITS bit;
};
struct CANTOC_BITS {
Uint16 TOC0:1;
Uint16 TOC1:1;
Uint16 TOC2:1;
Uint16 TOC3:1;
Uint16 TOC4:1;
Uint16 TOC5:1;
Uint16 TOC6:1;
Uint16 TOC7:1;
Uint16 TOC8:1;
Uint16 TOC9:1;
Uint16 TOC10:1;
Uint16 TOC11:1;
Uint16 TOC12:1;
Uint16 TOC13:1;
Uint16 TOC14:1;
Uint16 TOC15:1;
Uint16 TOC16:1;
Uint16 TOC17:1;
Uint16 TOC18:1;
Uint16 TOC19:1;
Uint16 TOC20:1;
Uint16 TOC21:1;
Uint16 TOC22:1;
Uint16 TOC23:1;
Uint16 TOC24:1;
Uint16 TOC25:1;
Uint16 TOC26:1;
Uint16 TOC27:1;
Uint16 TOC28:1;
Uint16 TOC29:1;
Uint16 TOC30:1;
Uint16 TOC31:1;
};
union CANTOC_REG {
Uint32 all;
struct CANTOC_BITS bit;
};
struct CANTOS_BITS {
Uint16 TOS0:1;
Uint16 TOS1:1;
Uint16 TOS2:1;
Uint16 TOS3:1;
Uint16 TOS4:1;
Uint16 TOS5:1;
Uint16 TOS6:1;
Uint16 TOS7:1;
Uint16 TOS8:1;
Uint16 TOS9:1;
Uint16 TOS10:1;
Uint16 TOS11:1;
Uint16 TOS12:1;
Uint16 TOS13:1;
Uint16 TOS14:1;
Uint16 TOS15:1;
Uint16 TOS16:1;
Uint16 TOS17:1;
Uint16 TOS18:1;
Uint16 TOS19:1;
Uint16 TOS20:1;
Uint16 TOS21:1;
Uint16 TOS22:1;
Uint16 TOS23:1;
Uint16 TOS24:1;
Uint16 TOS25:1;
Uint16 TOS26:1;
Uint16 TOS27:1;
Uint16 TOS28:1;
Uint16 TOS29:1;
Uint16 TOS30:1;
Uint16 TOS31:1;
};
union CANTOS_REG {
Uint32 all;
struct CANTOS_BITS bit;
};
struct ECAN_REGS {
union CANME_REG CANME;
union CANMD_REG CANMD;
union CANTRS_REG CANTRS;
union CANTRR_REG CANTRR;
union CANTA_REG CANTA;
union CANAA_REG CANAA;
union CANRMP_REG CANRMP;
union CANRML_REG CANRML;
union CANRFP_REG CANRFP;
union CANGAM_REG CANGAM;
union CANMC_REG CANMC;
union CANBTC_REG CANBTC;
union CANES_REG CANES;
union CANTEC_REG CANTEC;
union CANREC_REG CANREC;
union CANGIF0_REG CANGIF0;
union CANGIM_REG CANGIM;
union CANGIF1_REG CANGIF1;
union CANMIM_REG CANMIM;
union CANMIL_REG CANMIL;
union CANOPC_REG CANOPC;
union CANTIOC_REG CANTIOC;
union CANRIOC_REG CANRIOC;
union CANLNT_REG CANLNT;
union CANTOC_REG CANTOC;
union CANTOS_REG CANTOS;
};
struct CANMID_BITS {
Uint16 MSGID_L:16;
Uint16 MSGID_H:13;
Uint16 AAM:1;
Uint16 AME:1;
Uint16 IDE:1;
};
union CANMID_REG {
Uint32 all;
struct CANMID_BITS bit;
};
struct CANMCF_BITS {
Uint16 DLC:4;
Uint16 RTR:1;
Uint16 rsvd1:3;
Uint16 TPL:5;
Uint16 rsvd2:3;
Uint16 rsvd3:16;
};
union CANMCF_REG {
Uint32 all;
struct CANMCF_BITS bit;
};
struct CANMDRL_BITS {
Uint16 LOW_WORD:16;
Uint16 HI_WORD:16;
};
union CANMDRL_REG {
Uint32 all;
struct CANMDRL_BITS bit;
};
struct CANMDRH_BITS {
Uint16 LOW_WORD:16;
Uint16 HI_WORD:16;
};
union CANMDRH_REG {
Uint32 all;
struct CANMDRH_BITS bit;
};
struct MBOX {
union CANMID_REG MID
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -