📄 dsp28_piectrl.pp
字号:
struct SCICCR_BITS {
Uint16 SCICHAR:3;
Uint16 ADDRIDLE_MODE:1;
Uint16 LOOPBKENA:1;
Uint16 PARITYENA:1;
Uint16 PARITY:1;
Uint16 STOPBITS:1;
Uint16 rsvd1:8;
};
union SCICCR_REG {
Uint16 all;
struct SCICCR_BITS bit;
};
struct SCICTL1_BITS {
Uint16 RXENA:1;
Uint16 TXENA:1;
Uint16 SLEEP:1;
Uint16 TXWAKE:1;
Uint16 rsvd:1;
Uint16 SWRESET:1;
Uint16 RXERRINTENA:1;
Uint16 rsvd1:9;
};
union SCICTL1_REG {
Uint16 all;
struct SCICTL1_BITS bit;
};
struct SCICTL2_BITS {
Uint16 TXINTENA:1;
Uint16 RXBKINTENA:1;
Uint16 rsvd:4;
Uint16 TXEMPTY:1;
Uint16 TXRDY:1;
Uint16 rsvd1:8;
};
union SCICTL2_REG {
Uint16 all;
struct SCICTL2_BITS bit;
};
struct SCIRXST_BITS {
Uint16 rsvd:1;
Uint16 RXWAKE:1;
Uint16 PE:1;
Uint16 OE:1;
Uint16 FE:1;
Uint16 BRKDT:1;
Uint16 RXRDY:1;
Uint16 RXERR:1;
};
union SCIRXST_REG {
Uint16 all;
struct SCIRXST_BITS bit;
};
struct SCIRXBUF_BITS {
Uint16 RXDT:8;
Uint16 rsvd:6;
Uint16 SCIFFPE:1;
Uint16 SCIFFFE:1;
};
union SCIRXBUF_REG {
Uint16 all;
struct SCIRXBUF_BITS bit;
};
struct SCIPRI_BITS {
Uint16 rsvd:3;
Uint16 FREE:1;
Uint16 SOFT:1;
Uint16 rsvd1:3;
};
union SCIPRI_REG {
Uint16 all;
struct SCIPRI_BITS bit;
};
struct SCIFFTX_BITS {
Uint16 TXFFILIL:5;
Uint16 TXFFIENA:1;
Uint16 TXINTCLR:1;
Uint16 TXFFINT:1;
Uint16 TXFFST:5;
Uint16 TXFIFOXRESET:1;
Uint16 SCIFFENA:1;
Uint16 resvd:1;
};
union SCIFFTX_REG {
Uint16 all;
struct SCIFFTX_BITS bit;
};
struct SCIFFRX_BITS {
Uint16 RXFFIL:5;
Uint16 RXFFIENA:1;
Uint16 RXFFINTCLR:1;
Uint16 RXFFINT:1;
Uint16 RXFIFST:5;
Uint16 RXFIFORESET:1;
Uint16 RXOVF_CLR:1;
Uint16 RXFFOVF:1;
};
union SCIFFRX_REG {
Uint16 all;
struct SCIFFRX_BITS bit;
};
struct SCIFFCT_BITS {
Uint16 FFTXDLY:8;
Uint16 rsvd:5;
Uint16 CDC:1;
Uint16 ABDCLR:1;
Uint16 ABD:1;
};
union SCIFFCT_REG {
Uint16 all;
struct SCIFFCT_BITS bit;
};
struct SCI_REGS {
union SCICCR_REG SCICCR;
union SCICTL1_REG SCICTL1;
Uint16 SCIHBAUD;
Uint16 SCILBAUD;
union SCICTL2_REG SCICTL2;
union SCIRXST_REG SCIRXST;
Uint16 SCIRXEMU;
union SCIRXBUF_REG SCIRXBUF;
Uint16 rsvd1;
Uint16 SCITXBUF;
union SCIFFTX_REG SCIFFTX;
union SCIFFRX_REG SCIFFRX;
union SCIFFCT_REG SCIFFCT;
Uint16 rsvd2;
Uint16 rsvd3;
union SCIPRI_REG SCIPRI;
};
extern volatile struct SCI_REGS SciaRegs;
extern volatile struct SCI_REGS ScibRegs;
struct DRR2_BITS {
Uint16 HWLB:8;
Uint16 HWHB:8;
};
union DRR2_REG {
Uint16 all;
struct DRR2_BITS bit;
};
struct DRR1_BITS {
Uint16 LWLB:8;
Uint16 LWHB:8;
};
union DRR1_REG {
Uint16 all;
struct DRR1_BITS bit;
};
struct DXR2_BITS {
Uint16 HWLB:8;
Uint16 HWHB:8;
};
union DXR2_REG {
Uint16 all;
struct DXR2_BITS bit;
};
struct DXR1_BITS {
Uint16 LWLB:8;
Uint16 LWHB:8;
};
union DXR1_REG {
Uint16 all;
struct DXR1_BITS bit;
};
struct SPCR2_BITS {
Uint16 XRST:1;
Uint16 XRDY:1;
Uint16 XEMPTY:1;
Uint16 XSYNCERR:1;
Uint16 XINTM:2;
Uint16 GRST:1;
Uint16 FRST:1;
Uint16 SOFT:1;
Uint16 FREE:1;
Uint16 rsvd:6;
};
union SPCR2_REG {
Uint16 all;
struct SPCR2_BITS bit;
};
struct SPCR1_BITS {
Uint16 RRST:1;
Uint16 RRDY:1;
Uint16 REMPTY:1;
Uint16 RSYNCERR:1;
Uint16 RINTM:2;
Uint16 ABIS:1;
Uint16 DXENA:1;
Uint16 rsvd:3;
Uint16 CLKSTP:2;
Uint16 RJUST:2;
Uint16 DLB:1;
};
union SPCR1_REG {
Uint16 all;
struct SPCR1_BITS bit;
};
struct RCR2_BITS {
Uint16 RDATDLY:2;
Uint16 RFIG:1;
Uint16 RCOMPAND:2;
Uint16 RWDLEN2:3;
Uint16 RFRLEN2:7;
Uint16 RPHASE:1;
};
union RCR2_REG {
Uint16 all;
struct RCR2_BITS bit;
};
struct RCR1_BITS {
Uint16 rsvd1:5;
Uint16 RWDLEN1:3;
Uint16 RFRLEN1:7;
Uint16 rsvd2:1;
};
union RCR1_REG {
Uint16 all;
struct RCR1_BITS bit;
};
struct XCR2_BITS {
Uint16 XDATDLY:2;
Uint16 XFIG:1;
Uint16 XCOMPAND:2;
Uint16 XWDLEN2:3;
Uint16 XFRLEN2:7;
Uint16 XPHASE:1;
};
union XCR2_REG {
Uint16 all;
struct XCR2_BITS bit;
};
struct XCR1_BITS {
Uint16 rsvd1:5;
Uint16 XWDLEN1:3;
Uint16 XFRLEN1:7;
Uint16 rsvd2:1;
};
union XCR1_REG {
Uint16 all;
struct XCR1_BITS bit;
};
struct SRGR2_BITS {
Uint16 FPER:12;
Uint16 FSGM:1;
Uint16 CLKSM:1;
Uint16 CLKSP:1;
Uint16 GYSNC:1;
};
union SRGR2_REG {
Uint16 all;
struct SRGR2_BITS bit;
};
struct SRGR1_BITS {
Uint16 CLKGDV:8;
Uint16 FWID:8;
};
union SRGR1_REG {
Uint16 all;
struct SRGR1_BITS bit;
};
struct MCR2_BITS {
Uint16 XMCM:2;
Uint16 XCBLK:3;
Uint16 XPABLK:2;
Uint16 XPBBLK:2;
Uint16 XMCME:1;
Uint16 rsvd:6;
};
union MCR2_REG {
Uint16 all;
struct MCR2_BITS bit;
};
struct MCR1_BITS {
Uint16 RMCM:1;
Uint16 rsvd:1;
Uint16 RCBLK:3;
Uint16 RPABLK:2;
Uint16 RPBBLK:2;
Uint16 RMCME:1;
Uint16 rsvd1:6;
};
union MCR1_REG {
Uint16 all;
struct MCR1_BITS bit;
};
struct RCERA_BITS {
Uint16 RCEA0:1;
Uint16 RCEA1:1;
Uint16 RCEA2:1;
Uint16 RCEA3:1;
Uint16 RCEA4:1;
Uint16 RCEA5:1;
Uint16 RCEA6:1;
Uint16 RCEA7:1;
Uint16 RCEA8:1;
Uint16 RCEA9:1;
Uint16 RCEA10:1;
Uint16 RCEA11:1;
Uint16 RCEA12:1;
Uint16 RCEA13:1;
Uint16 RCEA14:1;
Uint16 RCEA15:1;
};
union RCERA_REG {
Uint16 all;
struct RCERA_BITS bit;
};
struct RCERB_BITS {
Uint16 RCEB0:1;
Uint16 RCEB1:1;
Uint16 RCEB2:1;
Uint16 RCEB3:1;
Uint16 RCEB4:1;
Uint16 RCEB5:1;
Uint16 RCEB6:1;
Uint16 RCEB7:1;
Uint16 RCEB8:1;
Uint16 RCEB9:1;
Uint16 RCEB10:1;
Uint16 RCEB11:1;
Uint16 RCEB12:1;
Uint16 RCEB13:1;
Uint16 RCEB14:1;
Uint16 RCEB15:1;
};
union RCERB_REG {
Uint16 all;
struct RCERB_BITS bit;
};
struct XCERA_BITS {
Uint16 XCEA0:1;
Uint16 XCEA1:1;
Uint16 XCEA2:1;
Uint16 XCEA3:1;
Uint16 XCEA4:1;
Uint16 XCEA5:1;
Uint16 XCEA6:1;
Uint16 XCEA7:1;
Uint16 XCEA8:1;
Uint16 XCEA9:1;
Uint16 XCEA10:1;
Uint16 XCEA11:1;
Uint16 XCEA12:1;
Uint16 XCEA13:1;
Uint16 XCEA14:1;
Uint16 XCEA15:1;
};
union XCERA_REG {
Uint16 all;
struct XCERA_BITS bit;
};
struct XCERB_BITS {
Uint16 XCEB0:1;
Uint16 XCEB1:1;
Uint16 XCEB2:1;
Uint16 XCEB3:1;
Uint16 XCEB4:1;
Uint16 XCEB5:1;
Uint16 XCEB6:1;
Uint16 XCEB7:1;
Uint16 XCEB8:1;
Uint16 XCEB9:1;
Uint16 XCEB10:1;
Uint16 XCEB11:1;
Uint16 XCEB12:1;
Uint16 XCEB13:1;
Uint16 XCEB14:1;
Uint16 XCEB15:1;
};
union XCERB_REG {
Uint16 all;
struct XCERB_BITS bit;
};
struct PCR1_BITS {
Uint16 CLKRP:1;
Uint16 CLKXP:1;
Uint16 FSRP:1;
Uint16 FSXP:1;
Uint16 DR_STAT:1;
Uint16 DX_STAT:1;
Uint16 CLKS_STAT:1;
Uint16 SCLKME:1;
Uint16 CLKRM:1;
Uint16 CLKXM:1;
Uint16 FSRM:1;
Uint16 FSXM:1;
Uint16 RIOEN:1;
Uint16 XIOEN:1;
Uint16 IDEL_EN:1;
Uint16 rsvd:1 ;
};
union PCR1_REG {
Uint16 all;
struct PCR1_BITS bit;
};
struct RCERC_BITS {
Uint16 RCEC0:1;
Uint16 RCEC1:1;
Uint16 RCEC2:1;
Uint16 RCEC3:1;
Uint16 RCEC4:1;
Uint16 RCEC5:1;
Uint16 RCEC6:1;
Uint16 RCEC7:1;
Uint16 RCEC8:1;
Uint16 RCEC9:1;
Uint16 RCEC10:1;
Uint16 RCEC11:1;
Uint16 RCEC12:1;
Uint16 RCEC13:1;
Uint16 RCEC14:1;
Uint16 RCEC15:1;
};
union RCERC_REG {
Uint16 all;
struct RCERC_BITS bit;
};
struct RCERD_BITS {
Uint16 RCED0:1;
Uint16 RCED1:1;
Uint16 RCED2:1;
Uint16 RCED3:1;
Uint16 RCED4:1;
Uint16 RCED5:1;
Uint16 RCED6:1;
Uint16 RCED7:1;
Uint16 RCED8:1;
Uint16 RCED9:1;
Uint16 RCED10:1;
Uint16 RCED11:1;
Uint16 RCED12:1;
Uint16 RCED13:1;
Uint16 RCED14:1;
Uint16 RCED15:1;
};
union RCERD_REG {
Uint16 all;
struct RCERD_BITS bit;
};
struct XCERC_BITS {
Uint16 XCEC0:1;
Uint16 XCEC1:1;
Uint16 XCEC2:1;
Uint16 XCEC3:1;
Uint16 XCEC4:1;
Uint16 XCEC5:1;
Uint16 XCEC6:1;
Uint16 XCEC7:1;
Uint16 XCEC8:1;
Uint16 XCEC9:1;
Uint16 XCEC10:1;
Uint16 XCEC11:1;
Uint16 XCEC12:1;
Uint16 XCEC13:1;
Uint16 XCEC14:1;
Uint16 XCEC15:1;
};
union XCERC_REG {
Uint16 all;
struct XCERC_BITS bit;
};
struct XCERD_BITS {
Uint16 XCED0:1;
Uint16 XCED1:1;
Uint16 XCED2:1;
Uint16 XCED3:1;
Uint16 XCED4:1;
Uint16 XCED5:1;
Uint16 XCED6:1;
Uint16 XCED7:1;
Uint16 XCED8:1;
Uint16 XCED9:1;
Uint16 XCED10:1;
Uint16 XCED11:1;
Uint16 XCED12:1;
Uint16 XCED13:1;
Uint16 XCED14:1;
Uint16 XCED15:1;
};
union XCERD_REG {
Uint16 all;
struct XCERD_BITS bit;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -