亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ports_def.h

?? 最新版FreeRTOS, 包擴多種開發平臺的移植
?? H
?? 第 1 頁 / 共 3 頁
字號:
/*	IO DEFINITIONS AND MACROS FOR THE MCS912DG256B
   09/19/03
   EMAC.inc
   Nathan Z. Gustavson ngustavson@emacinc.com
   Emac.inc
   May 2005; Modified by Jefferson Smith for general use in GEL
 */
#ifndef _ARCH_IODG256B_H
#define _ARCH_IODG256B_H

#define IO_BASE	0
/*macros
*/
#define ienable() __asm("cli");
#define idisable() __asm("orcc #0x10")
#define xenable() __asm("andcc #0xbf")
#define xdisable()__asm("orcc #0x40")

/* constant offsets to use where a C expression doesn't work
*/
#define  M6811_PORTA     0x00
#define  M6811_PORTB     0x01
#define  M6811_PTT       0x240
#define  M6811_PTM       0x250
#define  M6811_PTP       0x258
#define  M6811_PTH       0x260

#define PORTIO_8		*(volatile unsigned char *)
#define PORTIO_16		*(volatile unsigned short int *)

/*	Core HC12 Registers
 */
#define  PORTA     PORTIO_8(IO_BASE + 0x00)   /* port A */
#define  PORTB     PORTIO_8(IO_BASE + 0x01)   /* port B */
#define  DDRA      PORTIO_8(IO_BASE + 0x02)   /* data direction port A */
#define  DDRB      PORTIO_8(IO_BASE + 0x03)   /* data direction port B */
#define  PORTE     PORTIO_8(IO_BASE + 0x08)   /* port E */
#define  DDRE      PORTIO_8(IO_BASE + 0x09)   /* data direction port E */
#define  PEAR      PORTIO_8(IO_BASE + 0x0a)   /* port E assignment register */
#define  MODE      PORTIO_8(IO_BASE + 0x0b)   /* mode register */
#define  PUCR      PORTIO_8(IO_BASE + 0x0c)   /* pull-up control register */
#define  RDRIV     PORTIO_8(IO_BASE + 0x0d)   /* reduced drive of I/O lines */
#define  EBICTL    PORTIO_8(IO_BASE + 0x0e)   /* external bus control */
#define  INITRM    PORTIO_8(IO_BASE + 0x10)   /* RAM mapping register */
#define  INITRG    PORTIO_8(IO_BASE + 0x11)   /* IO mapping register */
#define  INITEE    PORTIO_8(IO_BASE + 0x12)   /* EEPROM mapping register */
#define  MISC      PORTIO_8(IO_BASE + 0x13)   /* mapping control register */
#define  MTST0     PORTIO_8(IO_BASE + 0x14)   /* mapping test register 0 */
#define  ITCR      PORTIO_8(IO_BASE + 0x15)   /* interrupt test control reg. */
#define  ITEST     PORTIO_8(IO_BASE + 0x16)   /* interrupt test register */
#define  MTST1     PORTIO_8(IO_BASE + 0x17)   /* mapping test register 1 */
#define  PARTID    PORTIO_16(IO_BASE + 0x1a)   /* part ID register */
#define  MEMSIZ0   PORTIO_8(IO_BASE + 0x1c)   /* memory size register 0 */
#define  MEMSIZ1   PORTIO_8(IO_BASE + 0x1d)   /* memory size register 1 */
#define  INTCR     PORTIO_8(IO_BASE + 0x1e)   /* interrupt control */
#define  HPRIO     PORTIO_8(IO_BASE + 0x1f)   /* highest priority */

/*
bitflags
*/
//PEAR
#define NOACCE 0x80
#define PIPOE  0x20
#define NECLK  0x10
#define LSTRE  0x08
#define RDWE   0x04
//INTCR bitflags
#define IRQE 0x80
#define IRQEN 0x40
#define DLY 0x20

/*	BKP Module  
 */
#define  BKPCT0    PORTIO_8(IO_BASE + 0x28)   /* Breakpoint Control 0 */
#define  BKPCT1    PORTIO_8(IO_BASE + 0x29)   /* Breakpoint Control 1 */
#define  BKP0X     PORTIO_8(IO_BASE + 0x2a)   /* Breakpoint 0 address upper */
#define  BKP0      PORTIO_16(IO_BASE + 0x2b)   /* Breakpoint 0 address */
#define  BKP1X     PORTIO_8(IO_BASE + 0x2d)   /* Breakpoint 1 address upper */
#define  BKP1      PORTIO_16(IO_BASE + 0x2e)   /* Breakpoint 1 address */

/*	MEBI Module  
 */
#define  PPAGE     PORTIO_8(IO_BASE + 0x30)   /* program page register */
#define  PORTK     PORTIO_8(IO_BASE + 0x32)   /* port K data register */
#define  DDRK      PORTIO_8(IO_BASE + 0x33)   /* port K data direction */

/*	CRG Module  
 */
#define  SYNR      PORTIO_8(IO_BASE + 0x34)   /* synthesizer register */
#define  REFDV     PORTIO_8(IO_BASE + 0x35)   /* reference divider register */
#define  CTFLG     PORTIO_8(IO_BASE + 0x36)   /* clock test flag register */
#define  CRGFLG    PORTIO_8(IO_BASE + 0x37)   /* clock generator flag register */
#define  CRGINT    PORTIO_8(IO_BASE + 0x38)   /* clock interrupt enable */
#define  CLKSEL    PORTIO_8(IO_BASE + 0x39)   /* clock select register */
#define  PLLCTL    PORTIO_8(IO_BASE + 0x3a)   /* PLL control register */
#define  RTICTL    PORTIO_8(IO_BASE + 0x3b)   /* clock real time control reg. */
#define  COPCTL    PORTIO_8(IO_BASE + 0x3c)   /* COP control register */
#define  FORBYP    PORTIO_8(IO_BASE + 0x3d)   /* clock force and bypass register */
#define  CTCTL     PORTIO_8(IO_BASE + 0x3e)   /* clock test control register */
#define  ARMCOP    PORTIO_8(IO_BASE + 0x3f)   /* COP arm/reset register with sequence 0x55,0xaa. */

// CRG bitflags
#define RTIF   0x80
#define RTIE   0x80
#define LOCK   0x08
#define AUTO   0x20
#define PLLSEL 0x80
// COPCTL bitflags
#define WCOP   0x80
#define RSBCK  0x40

/*	ECT Module
 */
#define  TIOS      PORTIO_8(IO_BASE + 0x40)   /* timer select register */
#define  TCFORC    PORTIO_8(IO_BASE + 0x41)   /* compare force register */
#define  TOC7M     PORTIO_8(IO_BASE + 0x42)   /* oc7 mask register */
#define  TOC7D     PORTIO_8(IO_BASE + 0x43)   /* oc7 data register */
#define  TCNT      PORTIO_16(IO_BASE + 0x44)   /* timer counter */
#define  TSCR1     PORTIO_8(IO_BASE + 0x46)   /* system control register 1 */
#define  TTOV      PORTIO_8(IO_BASE + 0x47)   /* toggle on overflow register */
#define  TCTL1     PORTIO_8(IO_BASE + 0x48)   /* control register 1 */
#define  TCTL2     PORTIO_8(IO_BASE + 0x49)   /* control register 2 */
#define  TCTL3     PORTIO_8(IO_BASE + 0x4a)   /* control register 3 */
#define  TCTL4     PORTIO_8(IO_BASE + 0x4b)   /* control register 4 */
#define  TIE	      PORTIO_8(IO_BASE + 0x4c)   /* interrupt enable register */
#define  TSCR2     PORTIO_8(IO_BASE + 0x4d)   /* system control register 2 */
#define  TFLG1     PORTIO_8(IO_BASE + 0x4e)   /* interrupt flag register 1 */
#define  TFLG2     PORTIO_8(IO_BASE + 0x4f)   /* interrupt flag register 2 */
#define  TC0       PORTIO_16(IO_BASE + 0x50)   /* capture/compare register 0 */
#define  TC1       PORTIO_16(IO_BASE + 0x52)   /* capture/compare register 0 */
#define  TC2       PORTIO_16(IO_BASE + 0x54)   /* capture/compare register 0 */
#define  TC3       PORTIO_16(IO_BASE + 0x56)   /* capture/compare register 0 */
#define  TC4       PORTIO_16(IO_BASE + 0x58)   /* capture/compare register 0 */
#define  TC5       PORTIO_16(IO_BASE + 0x5a)   /* capture/compare register 0 */
#define  TC6       PORTIO_16(IO_BASE + 0x5c)   /* capture/compare register 0 */
#define  TC7       PORTIO_16(IO_BASE + 0x5e)   /* capture/compare register 0 */
#define  PACTL     PORTIO_8(IO_BASE + 0x60)   /* pulse accumulator A control */
#define  PAFLG     PORTIO_8(IO_BASE + 0x61)   /* pulse accumulator A flag */
#define  PACN3     PORTIO_8(IO_BASE + 0x62)   /* pulse accumulator A3 count */
#define  PACN2     PORTIO_8(IO_BASE + 0x63)   /* pulse accumulator A2 count */
#define  PACN1     PORTIO_8(IO_BASE + 0x64)   /* pulse accumulator A1 count */
#define  PACN0     PORTIO_8(IO_BASE + 0x65)   /* pulse accumulator A0 count */
#define  MCCTL     PORTIO_8(IO_BASE + 0x66)   /* modulus counter control reg */
#define  MCFLG     PORTIO_8(IO_BASE + 0x67)   /* modulus counter flag reg */
#define  ICPAR     PORTIO_8(IO_BASE + 0x68)   /* input control pulse acc reg */
#define  DLYCT     PORTIO_8(IO_BASE + 0x69)   /* delay counter control reg */
#define  ICOVW     PORTIO_8(IO_BASE + 0x6a)   /* input control overwrite reg */
#define  ICSYS     PORTIO_8(IO_BASE + 0x6b)   /* input control system reg */
#define  TIMTST    PORTIO_8(IO_BASE + 0x6d)   /* timer test register */
#define  PBCTL     PORTIO_8(IO_BASE + 0x70)   /* pulse accumulator B control */
#define  PBFLG     PORTIO_8(IO_BASE + 0x71)   /* pulse accumulator B flag */
#define  PA3H      PORTIO_8(IO_BASE + 0x72)   /* pulse accumulator B3 count */
#define  PA2H      PORTIO_8(IO_BASE + 0x73)   /* pulse accumulator B2 count */
#define  PA1H      PORTIO_8(IO_BASE + 0x74)   /* pulse accumulator B1 count */
#define  PA0H      PORTIO_8(IO_BASE + 0x75)   /* pulse accumulator B0 count */
#define  MCCNT     PORTIO_16(IO_BASE + 0x76)   /* modulus counter count reg */
#define  TC0H      PORTIO_16(IO_BASE + 0x78)   /* timer input capture hold 0 */
#define  TC1H      PORTIO_16(IO_BASE + 0x7a)   /* timer input capture hold 1 */
#define  TC2H      PORTIO_16(IO_BASE + 0x7c)   /* timer input capture hold 2 */
#define  TC3H      PORTIO_16(IO_BASE + 0x7e)   /* timer input capture hold 3 */

/*	ATD0 Module  
 */
#define  ATD0_BASE (IO_BASE + 0x80)
#define  ATD0CTL0  PORTIO_8(IO_BASE + 0x80)   /* A/D0 control register 0 */
#define  ATD0CTL1  PORTIO_8(IO_BASE + 0x81)   /* A/D0 control register 1 */
#define  ATD0CTL2  PORTIO_8(IO_BASE + 0x82)   /* A/D0 control register 2 */
#define  ATD0CTL3  PORTIO_8(IO_BASE + 0x83)   /* A/D0 control register 3 */
#define  ATD0CTL4  PORTIO_8(IO_BASE + 0x84)   /* A/D0 control register 4 */
#define  ATD0CTL5  PORTIO_8(IO_BASE + 0x85)   /* A/D0 control register 5 */
#define  ATD0STAT0 PORTIO_8(IO_BASE + 0x86)   /* A/D0 status register 0 */
#define  ATD0STAT1 PORTIO_8(IO_BASE + 0x87)   /* A/D0 status register 1 */
#define  ATD0TEST0 PORTIO_8(IO_BASE + 0x88)   /* A/D0 test register 0 */
#define  ATD0TEST1 PORTIO_8(IO_BASE + 0x89)   /* A/D0 test register 1 */
#define  ATD0DIEN  PORTIO_8(IO_BASE + 0x8d)   /* A/D0 interrupt enable */
#define  PORTAD0   PORTIO_8(IO_BASE + 0x8f)   /* port AD0 data input register */
#define  ATD0DR0   PORTIO_16(IO_BASE + 0x90)   /* A/D0 result 0 */
#define  ATD0DR0H  PORTIO_8(IO_BASE + 0x90)    /* A/D0 result 0 */
#define  ATD0DR1   PORTIO_16(IO_BASE + 0x92)   /* A/D0 result 1 */
#define  ATD0DR1H  PORTIO_8(IO_BASE + 0x92)    /* A/D0 result 1 */
#define  ATD0DR2   PORTIO_16(IO_BASE + 0x94)   /* A/D0 result 2 */
#define  ATD0DR2H  PORTIO_8(IO_BASE + 0x94)    /* A/D0 result 2 */
#define  ATD0DR3   PORTIO_16(IO_BASE + 0x96)   /* A/D0 result 3 */
#define  ATD0DR3H  PORTIO_8(IO_BASE + 0x96)    /* A/D0 result 3 */
#define  ATD0DR4   PORTIO_16(IO_BASE + 0x98)   /* A/D0 result 4 */
#define  ATD0DR4H  PORTIO_8(IO_BASE + 0x98)    /* A/D0 result 4 */
#define  ATD0DR5   PORTIO_16(IO_BASE + 0x9a)   /* A/D0 result 5 */
#define  ATD0DR5H  PORTIO_8(IO_BASE + 0x9a)    /* A/D0 result 5 */
#define  ATD0DR6   PORTIO_16(IO_BASE + 0x9c)   /* A/D0 result 6 */
#define  ATD0DR6H  PORTIO_8(IO_BASE + 0x9c)    /* A/D0 result 6 */
#define  ATD0DR7   PORTIO_16(IO_BASE + 0x9e)   /* A/D0 result 7 */
#define  ATD0DR7H  PORTIO_8(IO_BASE + 0x9e)    /* A/D0 result 7 */

//ATDnCTL5 bitflags
#define DJM  0x80
#define DSGN 0x40
#define SCAN 0x20
#define MULT 0x10
//ATDnSTAT0 bitflags
#define SCF   0x80
#define ETORF 0x20
#define FIFOR 0x10

/*	PWM Module  
 */
#define  PWME      PORTIO_8(IO_BASE + 0xa0)   /* PWM Enable */
#define  PWMPOL    PORTIO_8(IO_BASE + 0xa1)   /* PWM Clock Polarity */
#define  PWMCLK    PORTIO_8(IO_BASE + 0xa2)   /* PWM Clocks */
#define  PWMPRCLK  PORTIO_8(IO_BASE + 0xa3)   /* PWM prescale clock select */
#define  PWMCAE    PORTIO_8(IO_BASE + 0xa4)   /* PWM center align enable */
#define  PWMCTL    PORTIO_8(IO_BASE + 0xa5)   /* PWM Control Register */
#define  PWMTST    PORTIO_8(IO_BASE + 0xa6)   /* PWM Test Register */
#define  PWMPRSC   PORTIO_8(IO_BASE + 0xa7)   /* PWM Test Register */
#define  PWMSCLA   PORTIO_8(IO_BASE + 0xa8)   /* PWM scale A */
#define  PWMSCLB   PORTIO_8(IO_BASE + 0xa9)   /* PWM scale B */
#define  PWMSCNTA  PORTIO_8(IO_BASE + 0xaa)   /* PWM Test Register A */
#define  PWMSCNTB  PORTIO_8(IO_BASE + 0xab)   /* PWM Test Register B */
#define  PWMCNT0   PORTIO_8(IO_BASE + 0xac)   /* PWM Channel Counter 0 */
#define  PWMCNT1   PORTIO_8(IO_BASE + 0xad)   /* PWM Channel Counter 1 */
#define  PWMCNT2   PORTIO_8(IO_BASE + 0xae)   /* PWM Channel Counter 2 */
#define  PWMCNT3   PORTIO_8(IO_BASE + 0xaf)   /* PWM Channel Counter 3 */
#define  PWMCNT4   PORTIO_8(IO_BASE + 0xb0)   /* PWM Channel Counter 4 */
#define  PWMCNT5   PORTIO_8(IO_BASE + 0xb1)   /* PWM Channel Counter 5 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品欧美精品| 久久亚洲综合av| 亚洲激情在线激情| 一本久久a久久精品亚洲| 一区二区三区在线免费| 欧美日韩一区二区在线观看视频| 性欧美大战久久久久久久久| 欧美卡1卡2卡| 激情六月婷婷综合| 久久蜜桃av一区精品变态类天堂| 国产成人av福利| 中文字幕亚洲一区二区va在线| 91碰在线视频| 日本在线播放一区二区三区| 精品三级在线看| 成人97人人超碰人人99| 亚洲美女一区二区三区| 91麻豆精品国产| 韩国女主播一区| 一区二区三区四区蜜桃| 69精品人人人人| 国产·精品毛片| 亚洲bt欧美bt精品777| 久久久美女毛片| 91久久奴性调教| 久久国产精品99久久久久久老狼 | 国产原创一区二区| 中文字幕一区视频| 欧美高清视频一二三区 | 精品久久久久久久久久久院品网| 风间由美中文字幕在线看视频国产欧美| 久久综合国产精品| 欧洲av在线精品| 国产电影一区在线| 亚洲自拍偷拍av| 久久久久综合网| 欧美浪妇xxxx高跟鞋交| av亚洲精华国产精华| 日本不卡不码高清免费观看| 国产精品麻豆一区二区| 欧美成人一区二区三区片免费 | 色噜噜狠狠色综合欧洲selulu| 蜜臀精品久久久久久蜜臀| 国产精品毛片高清在线完整版| 欧美高清精品3d| 色嗨嗨av一区二区三区| 国产盗摄一区二区| 日韩黄色免费电影| 亚洲综合在线第一页| 欧美国产1区2区| 精品人在线二区三区| 91精品国产欧美一区二区| 一本久久a久久精品亚洲| 国产91丝袜在线观看| 久久99精品国产麻豆婷婷| 一区二区三区资源| 欧美国产成人精品| 久久综合色一综合色88| 欧美一二三区在线| 7777精品伊人久久久大香线蕉经典版下载 | 不卡一区二区三区四区| 国内精品嫩模私拍在线| 精品一区二区免费看| 日本一不卡视频| 天天综合天天综合色| 亚洲一区二区在线播放相泽 | 久久久综合网站| 精品卡一卡二卡三卡四在线| 欧美精品777| 9191久久久久久久久久久| 欧美午夜精品一区| 91麻豆精品视频| 色综合久久九月婷婷色综合| 91在线免费播放| 色噜噜狠狠一区二区三区果冻| 99国产一区二区三精品乱码| voyeur盗摄精品| 一本色道**综合亚洲精品蜜桃冫| 99re热这里只有精品视频| 99精品欧美一区| 91浏览器打开| 欧美性一级生活| 欧美日韩中文一区| 91精品国产色综合久久ai换脸 | 久久久久国色av免费看影院| 久久免费美女视频| 国产偷国产偷精品高清尤物| 国产精品青草综合久久久久99| 国产精品女同一区二区三区| 18欧美亚洲精品| 一区二区三区鲁丝不卡| 亚洲不卡av一区二区三区| 日韩不卡手机在线v区| 久久精品国产网站| 国产伦精一区二区三区| eeuss国产一区二区三区| 欧美在线一区二区| 日韩视频在线你懂得| 久久综合久久99| 中文字幕在线视频一区| 亚洲自拍与偷拍| 久久精品国产精品亚洲综合| 国产在线精品不卡| av高清久久久| 欧美猛男男办公室激情| 精品99久久久久久| 国产精品黄色在线观看| 亚洲bt欧美bt精品| 国产成人夜色高潮福利影视| 色偷偷成人一区二区三区91| 欧美一区二区三区小说| 国产欧美日韩不卡免费| 夜夜揉揉日日人人青青一国产精品| 同产精品九九九| 国产98色在线|日韩| 欧美日韩国产在线观看| 欧美精品一区二区三区蜜桃视频| 中文字幕一区二区三区色视频| 天堂va蜜桃一区二区三区| 高清在线成人网| 91精品欧美一区二区三区综合在| 欧美国产在线观看| 五月天国产精品| 成人免费视频播放| 日韩欧美成人一区二区| 亚洲欧洲综合另类| 极品少妇一区二区| 在线免费不卡视频| 国产色婷婷亚洲99精品小说| 调教+趴+乳夹+国产+精品| 成人国产精品免费网站| 日韩亚洲电影在线| 亚洲免费av高清| 成人激情视频网站| 日韩欧美国产一区二区在线播放 | 久久久激情视频| 午夜精品一区二区三区电影天堂 | 久久成人免费网| 欧美在线观看18| 1024成人网| 成人网页在线观看| 日韩精品中文字幕在线一区| 亚洲小少妇裸体bbw| 91在线观看下载| 久久伊人中文字幕| 日本在线不卡一区| 欧美日韩大陆在线| 亚洲精品大片www| 99riav久久精品riav| 国产天堂亚洲国产碰碰| 狠狠久久亚洲欧美| 欧美mv和日韩mv国产网站| 五月天视频一区| 欧美精品在线观看一区二区| 亚洲综合清纯丝袜自拍| 日本高清不卡一区| 亚洲乱码国产乱码精品精98午夜 | 日本韩国欧美在线| 综合电影一区二区三区| 成人avav影音| 亚洲欧洲国产日韩| 成人动漫中文字幕| 国产日产欧美一区二区三区| 国产乱国产乱300精品| 欧美va亚洲va香蕉在线| 紧缚奴在线一区二区三区| 精品国产伦一区二区三区观看方式| 日韩1区2区3区| 日韩精品一区二区三区蜜臀| 久久成人羞羞网站| 久久久久久久久久久久久女国产乱| 久久99国产精品尤物| 日韩欧美三级在线| 国产一区二区三区电影在线观看 | 欧美日韩精品一区二区三区四区| 夜夜精品浪潮av一区二区三区| 在线观看不卡视频| 亚洲自拍偷拍综合| 91精品国产日韩91久久久久久| 欧美aaa在线| 26uuu国产日韩综合| 国产电影精品久久禁18| 中文字幕中文乱码欧美一区二区| 91麻豆精品秘密| 日韩精品久久久久久| 精品欧美黑人一区二区三区| 国产精品一区在线| 中文字幕在线观看一区二区| 欧美色区777第一页| 蓝色福利精品导航| 国产午夜三级一区二区三| 91在线视频播放| 亚洲18影院在线观看| 精品国产精品一区二区夜夜嗨| 国产成人在线影院| 亚洲伦在线观看| 在线播放日韩导航| 国产aⅴ精品一区二区三区色成熟| 一区二区在线观看av| 欧美不卡在线视频|