⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcs912dp256.h

📁 基于16位单片机的符合osek标准的操作系统
💻 H
📖 第 1 页 / 共 5 页
字号:
#define OSEKOS_REG_EBICTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xe)))
#define OSEKOS_REG_INITRM		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x10)))
#define OSEKOS_REG_INITRG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x11)))
#define OSEKOS_REG_INITEE		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x12)))
#define OSEKOS_REG_MISC		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x13)))
#define OSEKOS_REG_MTST0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x14)))
#define OSEKOS_REG_ITCR		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x15)))
#define OSEKOS_REG_ITEST		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x16)))
#define OSEKOS_REG_MTST1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x17)))
#define OSEKOS_REG_VREGCTRL	(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x19)))
#define OSEKOS_REG_PARTIDH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1a)))
#define OSEKOS_REG_PARTIDL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1b)))
#define OSEKOS_REG_MEMSIZ0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1c)))
#define OSEKOS_REG_MEMSIZ1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1d)))
#define OSEKOS_REG_INTCR		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1e)))
#define OSEKOS_REG_HPRIO		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x1f)))
#define OSEKOS_REG_BKPCT0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x28)))
#define OSEKOS_REG_BKPCT1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x29)))
#define OSEKOS_REG_BKP0X		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2a)))
#define OSEKOS_REG_BKP0H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2b)))
#define OSEKOS_REG_BKP0L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2c)))
#define OSEKOS_REG_BKP1X		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2d)))
#define OSEKOS_REG_BKP1H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2e)))
#define OSEKOS_REG_BKP1L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x2f)))
#define OSEKOS_REG_PPAGE		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x30)))
#define OSEKOS_REG_PORTK		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x32)))
#define OSEKOS_REG_DDRK		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x33)))
#define OSEKOS_REG_SYNR		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x34)))
#define OSEKOS_REG_REFDV		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x35)))
#define OSEKOS_REG_CTFLG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x36)))
#define OSEKOS_REG_CRGFLG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x37)))
#define OSEKOS_REG_CRGINT		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x38)))
#define OSEKOS_REG_CLKSEL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x39)))
#define OSEKOS_REG_PLLCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3a)))
#define OSEKOS_REG_RTICTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3b)))
#define OSEKOS_REG_COPCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3c)))
#define OSEKOS_REG_FORBYP		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3d)))
#define OSEKOS_REG_CTCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3e)))
#define OSEKOS_REG_ARMCOP		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x3f)))
#define OSEKOS_REG_TIOS		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x40)))
#define OSEKOS_REG_TCFORC		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x41)))
#define OSEKOS_REG_TOC7M		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x42)))
#define OSEKOS_REG_TOC7D		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x43)))
#define OSEKOS_REG_TCNT		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x44)))
#define OSEKOS_REG_TCNTH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x44)))
#define OSEKOS_REG_TCNTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x45)))
#define OSEKOS_REG_TSCR1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x46)))
#define OSEKOS_REG_TTOV		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x47)))
#define OSEKOS_REG_TCTL1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x48)))
#define OSEKOS_REG_TCTL2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x49)))
#define OSEKOS_REG_TCTL3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4a)))
#define OSEKOS_REG_TCTL4		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4b)))
#define OSEKOS_REG_TIE		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4c)))
#define OSEKOS_REG_TSCR2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4d)))
#define OSEKOS_REG_TFLG1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4e)))
#define OSEKOS_REG_TFLG2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x4f)))
#define OSEKOS_REG_TC0		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x50)))
#define OSEKOS_REG_TC0H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x50)))
#define OSEKOS_REG_TC0L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x51)))
#define OSEKOS_REG_TC1		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x52)))
#define OSEKOS_REG_TC1H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x52)))
#define OSEKOS_REG_TC1L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x53)))
#define OSEKOS_REG_TC2		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x54)))
#define OSEKOS_REG_TC2H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x54)))
#define OSEKOS_REG_TC2L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x55)))
#define OSEKOS_REG_TC3		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x56)))
#define OSEKOS_REG_TC3H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x56)))
#define OSEKOS_REG_TC3L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x57)))
#define OSEKOS_REG_TC4		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x58)))
#define OSEKOS_REG_TC4H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x58)))
#define OSEKOS_REG_TC4L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x59)))
#define OSEKOS_REG_TC5		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x5a)))
#define OSEKOS_REG_TC5H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5a)))
#define OSEKOS_REG_TC5L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5b)))
#define OSEKOS_REG_TC6		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x5c)))
#define OSEKOS_REG_TC6H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5c)))
#define OSEKOS_REG_TC6L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5d)))
#define OSEKOS_REG_TC7		(*((volatile unsigned short *)(HC12_IO_BASE_ADR+0x5e)))
#define OSEKOS_REG_TC7H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5e)))
#define OSEKOS_REG_TC7L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x5f)))
#define OSEKOS_REG_PACTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x60)))
#define OSEKOS_REG_PAFLG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x61)))
#define OSEKOS_REG_PACN3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x62)))
#define OSEKOS_REG_PACN2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x63)))
#define OSEKOS_REG_PACN1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x64)))
#define OSEKOS_REG_PACN0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x65)))
#define OSEKOS_REG_MCCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x66)))
#define OSEKOS_REG_MCFLG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x67)))
#define OSEKOS_REG_ICPAR		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x68)))
#define OSEKOS_REG_DLYCT		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x69)))
#define OSEKOS_REG_ICOVW		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x6a)))
#define OSEKOS_REG_ICSYS		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x6b)))
#define OSEKOS_REG_TIMTST		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x6d)))
#define OSEKOS_REG_PBCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x70)))
#define OSEKOS_REG_PBFLG		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x71)))
#define OSEKOS_REG_PA3H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x72)))
#define OSEKOS_REG_PA2H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x73)))
#define OSEKOS_REG_PA1H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x74)))
#define OSEKOS_REG_PA0H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x75)))
#define OSEKOS_REG_MCCNT		(*((volatile unsigned int	*)(HC12_IO_BASE_ADR+0x76)))
#define OSEKOS_REG_MCCNTH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x76)))
#define OSEKOS_REG_MCCNTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x77)))
#define OSEKOS_REG_TC0HH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x78)))
#define OSEKOS_REG_TC0HL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x79)))
#define OSEKOS_REG_TC1HH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7a)))
#define OSEKOS_REG_TC1HL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7b)))
#define OSEKOS_REG_TC2HH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7c)))
#define OSEKOS_REG_TC2HL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7d)))
#define OSEKOS_REG_TC3HH		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7e)))
#define OSEKOS_REG_TC3HL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x7f)))
#define OSEKOS_REG_ATD0CTL0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x80)))
#define OSEKOS_REG_ATD0CTL1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x81)))
#define OSEKOS_REG_ATD0CTL23		(*((volatile unsigned int  *)(HC12_IO_BASE_ADR+0x82)))
#define OSEKOS_REG_ATD0CTL2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x82)))
#define OSEKOS_REG_ATD0CTL3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x83)))
#define OSEKOS_REG_ATD0CTL45		(*((volatile unsigned int  *)(HC12_IO_BASE_ADR+0x84)))
#define OSEKOS_REG_ATD0CTL4		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x84)))
#define OSEKOS_REG_ATD0CTL5		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x85)))
#define OSEKOS_REG_ATD0STAT0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x86)))
#define OSEKOS_REG_ATD0STAT1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x87)))
#define OSEKOS_REG_ATD0TEST0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x88)))
#define OSEKOS_REG_ATD0TEST1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x89)))
#define OSEKOS_REG_ATD0DIEN		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x8d)))
#define OSEKOS_REG_PORTAD0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x8f)))
#define OSEKOS_REG_ATD0DR0H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x90)))
#define OSEKOS_REG_ATD0DR0L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x91)))
#define OSEKOS_REG_ATD0DR1H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x92)))
#define OSEKOS_REG_ATD0DR1L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x93)))
#define OSEKOS_REG_ATD0DR2H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x94)))
#define OSEKOS_REG_ATD0DR2L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x95)))
#define OSEKOS_REG_ATD0DR3H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x96)))
#define OSEKOS_REG_ATD0DR3L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x97)))
#define OSEKOS_REG_ATD0DR4H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x98)))
#define OSEKOS_REG_ATD0DR4L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x99)))
#define OSEKOS_REG_ATD0DR5H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9a)))
#define OSEKOS_REG_ATD0DR5L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9b)))
#define OSEKOS_REG_ATD0DR6H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9c)))
#define OSEKOS_REG_ATD0DR6L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9d)))
#define OSEKOS_REG_ATD0DR7H		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9e)))
#define OSEKOS_REG_ATD0DR7L		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0x9f)))
#define OSEKOS_REG_PWME		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa0)))
#define OSEKOS_REG_PWMPOL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa1)))
#define OSEKOS_REG_PWMCLK		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa2)))
#define OSEKOS_REG_PWMPRCLK		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa3)))
#define OSEKOS_REG_PWMCAE		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa4)))
#define OSEKOS_REG_PWMCTL		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa5)))
#define OSEKOS_REG_PWMTST		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa6)))
#define OSEKOS_REG_PWMPRSC		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa7)))
#define OSEKOS_REG_PWMSCLA		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa8)))
#define OSEKOS_REG_PWMSCLB		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xa9)))
#define OSEKOS_REG_PWMSCNTA		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xaa)))
#define OSEKOS_REG_PWMSCNTB		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xab)))
#define OSEKOS_REG_PWMCNT0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xac)))
#define OSEKOS_REG_PWMCNT1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xad)))
#define OSEKOS_REG_PWMCNT2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xae)))
#define OSEKOS_REG_PWMCNT3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xaf)))
#define OSEKOS_REG_PWMCNT4		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb0)))
#define OSEKOS_REG_PWMCNT5		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb1)))
#define OSEKOS_REG_PWMCNT6		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb2)))
#define OSEKOS_REG_PWMCNT7		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb3)))
#define OSEKOS_REG_PWMPER0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb4)))
#define OSEKOS_REG_PWMPER1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb5)))
#define OSEKOS_REG_PWMPER2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb6)))
#define OSEKOS_REG_PWMPER3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb7)))
#define OSEKOS_REG_PWMPER4		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb8)))
#define OSEKOS_REG_PWMPER5		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xb9)))
#define OSEKOS_REG_PWMPER6		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xba)))
#define OSEKOS_REG_PWMPER7		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xbb)))
#define OSEKOS_REG_PWMDTY0		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xbc)))
#define OSEKOS_REG_PWMDTY1		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xbd)))
#define OSEKOS_REG_PWMDTY2		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xbe)))
#define OSEKOS_REG_PWMDTY3		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xbf)))
#define OSEKOS_REG_PWMDTY4		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xc0)))
#define OSEKOS_REG_PWMDTY5		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xc1)))
#define OSEKOS_REG_PWMDTY6		(*((volatile unsigned char *)(HC12_IO_BASE_ADR+0xc2)))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -