📄 mcs912dp256.h
字号:
#define CAN1RFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x184)))
#define CAN1RIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x185)))
#define CAN1TFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x186)))
#define CAN1TIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x187)))
#define CAN1TARQ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x188)))
#define CAN1TAAK (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x189)))
#define CAN1TBSEL (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x18a)))
#define CAN1IDAC (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x18b)))
#define CAN1RXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x18e)))
#define CAN1TXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x18f)))
#define CAN1IDAR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x190)))
#define CAN1IDAR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x191)))
#define CAN1IDAR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x192)))
#define CAN1IDAR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x193)))
#define CAN1IDMR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x194)))
#define CAN1IDMR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x195)))
#define CAN1IDMR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x196)))
#define CAN1IDMR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x197)))
#define CAN1IDAR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x198)))
#define CAN1IDAR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x199)))
#define CAN1IDAR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19a)))
#define CAN1IDAR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19b)))
#define CAN1IDMR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19c)))
#define CAN1IDMR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19d)))
#define CAN1IDMR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19e)))
#define CAN1IDMR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19f)))
#define CAN2CTL0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c0)))
#define CAN2CTL1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c1)))
#define CAN2BTR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c2)))
#define CAN2BTR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c3)))
#define CAN2RFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c4)))
#define CAN2RIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c5)))
#define CAN2TFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c6)))
#define CAN2TIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c7)))
#define CAN2TARQ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c8)))
#define CAN2TAAK (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c9)))
#define CAN2TBSEL (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1ca)))
#define CAN2IDAC (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1cb)))
#define CAN2RXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1ce)))
#define CAN2TXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1cf)))
#define CAN2IDAR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d0)))
#define CAN2IDAR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d1)))
#define CAN2IDAR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d2)))
#define CAN2IDAR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d3)))
#define CAN2IDMR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d4)))
#define CAN2IDMR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d5)))
#define CAN2IDMR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d6)))
#define CAN2IDMR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d7)))
#define CAN2IDAR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d8)))
#define CAN2IDAR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d9)))
#define CAN2IDAR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1da)))
#define CAN2IDAR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1db)))
#define CAN2IDMR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1dc)))
#define CAN2IDMR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1dd)))
#define CAN2IDMR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1de)))
#define CAN2IDMR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1df)))
#define CAN3CTL0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x200)))
#define CAN3CTL1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x201)))
#define CAN3BTR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x202)))
#define CAN3BTR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x203)))
#define CAN3RFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x204)))
#define CAN3RIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x205)))
#define CAN3TFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x206)))
#define CAN3TIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x207)))
#define CAN3TARQ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x208)))
#define CAN3TAAK (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x209)))
#define CAN3TBSEL (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x20a)))
#define CAN3IDAC (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x20b)))
#define CAN3RXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x20e)))
#define CAN3TXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x20f)))
#define CAN3IDAR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x210)))
#define CAN3IDAR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x211)))
#define CAN3IDAR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x212)))
#define CAN3IDAR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x213)))
#define CAN3IDMR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x214)))
#define CAN3IDMR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x215)))
#define CAN3IDMR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x216)))
#define CAN3IDMR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x217)))
#define CAN3IDAR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x218)))
#define CAN3IDAR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x219)))
#define CAN3IDAR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21a)))
#define CAN3IDAR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21b)))
#define CAN3IDMR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21c)))
#define CAN3IDMR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21d)))
#define CAN3IDMR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21e)))
#define CAN3IDMR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x21f)))
#define PTT (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x240)))
#define PTIT (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x241)))
#define DDRT (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x242)))
#define RDRT (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x243)))
#define PERT (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x244)))
#define PPST (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x245)))
#define PTS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x248)))
#define PTIS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x249)))
#define DDRS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x24a)))
#define RDRS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x24b)))
#define PERS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x24c)))
#define PPSS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x24d)))
#define WOMS (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x24e)))
#define PTM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x250)))
#define PTIM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x251)))
#define DDRM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x252)))
#define RDRM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x253)))
#define PERM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x254)))
#define PPSM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x255)))
#define WOMM (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x256)))
#define MODRR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x257)))
#define PTP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x258)))
#define PTIP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x259)))
#define DDRP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25a)))
#define RDRP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25b)))
#define PERP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25c)))
#define PPSP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25d)))
#define PIEP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25e)))
#define PIFP (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x25f)))
#define PTH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x260)))
#define PTIH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x261)))
#define DDRH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x262)))
#define RDRH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x263)))
#define PERH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x264)))
#define PPSH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x265)))
#define PIEH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x266)))
#define PIFH (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x267)))
#define PTJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x268)))
#define PTIJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x269)))
#define DDRJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26a)))
#define RDRJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26b)))
#define PERJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26c)))
#define PPSJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26d)))
#define PIEJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26e)))
#define PIFJ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x26f)))
#define CAN4CTL0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x280)))
#define CAN4CTL1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x281)))
#define CAN4BTR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x282)))
#define CAN4BTR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x283)))
#define CAN4RFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x284)))
#define CAN4RIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x285)))
#define CAN4TFLG (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x286)))
#define CAN4TIER (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x287)))
#define CAN4TARQ (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x288)))
#define CAN4TAAK (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x289)))
#define CAN4TBSEL (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x28a)))
#define CAN4IDAC (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x28b)))
#define CAN4RXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x28e)))
#define CAN4TXERR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x28f)))
#define CAN4IDAR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x290)))
#define CAN4IDAR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x291)))
#define CAN4IDAR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x292)))
#define CAN4IDAR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x293)))
#define CAN4IDMR0 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x294)))
#define CAN4IDMR1 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x295)))
#define CAN4IDMR2 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x296)))
#define CAN4IDMR3 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x297)))
#define CAN4IDAR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x298)))
#define CAN4IDAR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x299)))
#define CAN4IDAR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29a)))
#define CAN4IDAR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29b)))
#define CAN4IDMR4 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29c)))
#define CAN4IDMR5 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29d)))
#define CAN4IDMR6 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29e)))
#define CAN4IDMR7 (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29f)))
#endif
#define OSEKOS_REG_PORTA (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x0)))
#define OSEKOS_REG_PORTB (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1)))
#define OSEKOS_REG_DDRA (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2)))
#define OSEKOS_REG_DDRB (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3)))
#define OSEKOS_REG_PORTE (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x8)))
#define OSEKOS_REG_DDRE (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9)))
#define OSEKOS_REG_PEAR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa)))
#define OSEKOS_REG_MODE (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb)))
#define OSEKOS_REG_PUCR (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xc)))
#define OSEKOS_REG_RDRIV (*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xd)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -