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

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

?? spmc75_regs.h

?? 凌陽SPMC75F2413A的跑馬燈的例子。這個是我自己編寫的
?? H
?? 第 1 頁 / 共 5 頁
字號:
/* bit 8    	: OL2EN,  Overload protection input 2 enable			 	 */
/* bit 9    	: FTIN2EN,  External fault protection input 2 enable	 	 */
/* bit 10    	: U2EN, U2 phase output enable								 */										 
/* bit 11    	: V2EN, V2 phase output enable								 */		
/* bit 12    	: W2EN, W2 phase output enable								 */		
/* bit 13    	: U2NEN, U2N phase output enable							 */										 
/* bit 14    	: V2NEN, V2N phase output enable							 */		
/* bit 15    	: W2NEN, W2N phase output enable							 */		
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	Reserve1	: 2;
		UInt16	EXINT0EN	: 1;
		UInt16	EXINT1EN	: 1;
		UInt16	Reserve2	: 1;		
		UInt16	TIO1AEN		: 1;
		UInt16	TIO1BEN		: 1;
		UInt16	TIO1CEN		: 1;	
		UInt16	OL2EN		: 1;
		UInt16	FTIN2EN		: 1;		
		UInt16	U2EN		: 1;
		UInt16	V2EN		: 1;
		UInt16	W2EN		: 1;
		UInt16	U2NEN		: 1;
		UInt16	V2NEN		: 1;
		UInt16	W2NEN		: 1;					
	} B;	
} P_IOC_SPE_DEF;

/*****************************************************************************/
/* IOA  Keychange Enable Control Register (P_IOA_KCER)				 		 */
/* bit 7 - 0    : Reserve													 */
/* bit 8    	: KC8EN, PortA.8 Key change enable						 	 */											 
/* bit 9    	: KC9EN, PortA.9 Key change enable						 	 */	
/* bit 10    	: KC10EN, PortA.10 Key change enable						 */	
/* bit 11    	: KC11EN, PortA.11 Key change enable						 */	
/* bit 12    	: KC12EN, PortA.12 Key change enable						 */	
/* bit 13    	: KC13EN, PortA.13 Key change enable						 */	
/* bit 14    	: KC14EN, PortA.14 Key change enable						 */	
/* bit 15    	: KC15EN, PortA.15 Key change enable						 */	
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	Reserve1	: 8;
		UInt16	KC8EN		: 1;
		UInt16	KC9EN		: 1;
		UInt16	KC10EN		: 1;
		UInt16	KC11EN		: 1;
		UInt16	KC12EN		: 1;
		UInt16	KC13EN		: 1;
		UInt16	KC14EN		: 1;
		UInt16	KC15EN		: 1;												
	} B;	
} P_IOA_KCER_DEF;

/*****************************************************************************/
/*****************************************************************************/
/* C. Timer0/Timer1/Timer2/Timer3/Timer4 register							 */
/*****************************************************************************/
/*****************************************************************************/
/* Timer 0 controlregister (P_TMR0_Ctrl)								     */
/* Timer 1 controlregister (P_TMR1_Ctrl)									 */
/* Timer 2 controlregister (P_TMR2_Ctrl)									 */
/* bit 2 - 0    : TMRPS, clock source A frequency selection					 */
/*				= 000, Counts on FCK /1										 */
/*				= 001, Counts on FCK /4										 */		
/*				= 010, Counts on FCK /16									 */	
/*				= 011, Counts on FCK /64									 */
/*				= 100, Counts on FCK /256									 */
/*				= 101, Counts on FCK /1024									 */
/*				= 110, Counts on TCLKA pin input 							 */
/*				= 111, Counts on TCLKB pin input 							 */
/* bit 4 - 3    : CKEGS, Clock edge select									 */											 
/*				= 00, Count at rising edge									 */	
/*				= 01, Count at falling edge									 */
/*				= 1X, Count at both edges 									 */
/* bit 7 - 5    : CCLS, Counter clear source select							 */	
/*				= 000, TCNT clearing disabled								 */
/*				= 001, TCNT cleared by TGRA capture input					 */
/*				= 010, TCNT cleared by TGRB capture input					 */
/*				= 011, TCNT cleared by TGRC capture input					 */
/*				= 100, TCNT cleared by every PDR change 6 times				 */
/*				= 101, TCNT cleared by every PDR change 3 times				 */	
/*				= 110, TCNT cleared by P_POS0/1_Data change			 		 */
/*				= 111, TCNT cleared by P_TMR1/2_TPR compare match		 	 */
/* bit 9 - 8    : CLEGS, Counter clear edge select. 						 */
/*				= 00, do not clear											 */
/*				= 01, rising edge											 */
/*				= 10, falling edge											 */		
/*				= 11, both edge												 */
/* bit 13 - 10  : MODE, select the timer operation modes					 */
/*				= 0000, Normal operation 									 */
/*				  (counter up-counting, compare match output mode)			 */
/*				= 0100, Phase counting mode 1 								 */
/*				= 0101, Phase counting mode 2 								 */
/*				= 0110, Phase counting mode 3 								 */
/*				= 0111, Phase counting mode 4 								 */	
/*				= 1x0x, Edge-aligned PWM mode (counter up-count, PWM output) */
/*				= 1x1x, Center-aligned PWM mode 					         */
/*				  (counter continuous up-/down-count, PWM output)	         */
/* bit 15 - 14  : SPCK, Capture input sample clock select					 */
/*				= 00, FCK/1													 */		
/*				= 01, FCK/2													 */		
/*				= 10, FCK/4													 */		
/*				= 11, FCK/8													 */		
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMRPS		: 3;
		UInt16	CKEGS		: 2;
		UInt16	CCLS		: 3;
		UInt16	CLEGS		: 2;
		UInt16	MODE		: 4;
		UInt16	SPCK		: 2;
	} B;	
} P_TMR0_Ctrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMRPS		: 3;
		UInt16	CKEGS		: 2;
		UInt16	CCLS		: 3;
		UInt16	CLEGS		: 2;
		UInt16	MODE		: 4;
		UInt16	SPCK		: 2;
	} B;	
} P_TMR1_Ctrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMRPS		: 3;
		UInt16	CKEGS		: 2;
		UInt16	CCLS		: 3;
		UInt16	CLEGS		: 2;
		UInt16	MODE		: 4;
		UInt16	SPCK		: 2;
	} B;	
} P_TMR2_Ctrl_DEF;
/*****************************************************************************/
/* Timer 3 control register (P_TMR3_Ctrl)									 */	
/* Timer 4 control register (P_TMR4_Ctrl)									 */
/* bit 2 - 0	: TMRPS, clock source A frequency selection					 */
/*				= 000, Counts on FCK /1										 */		
/*				= 001, Counts on FCK /4										 */	
/*				= 010, Counts on FCK /16									 */
/*				= 011, Counts on FCK /64									 */
/*				= 100, Counts on FCK /256									 */
/*				= 101, Counts on FCK /1024									 */	
/*				= 110, Counts on TCLKA pin input 							 */
/*				= 111, Counts on TCLKB pin input 							 */
/* bit 4 - 3	: CKEGS, Clock edge select									 */											 
/*				= 00, Count at rising edge									 */
/*				= 01, Count at falling edge									 */	
/*				= 1X, Count at both edges 									 */
/* bit 7 - 5	: CCLS, Counter clear source select							 */	
/*				= 000, TCNT clearing disabled								 */	
/*				= 001, Reserved												 */
/*				= 010, Reserved												 */	
/*				= 011, Reserved												 */	
/*				= 011, Reserved												 */			
/*				= 100, Reserved											     */
/*				= 101, Reserved												 */	
/*				= 111, TCNT cleared by P_TMR3/4_TPR compare match			 */
/* bit 9:8		: Reserve													 */
/* bit 13 - 10	: MODE, timer mode selection								 */
/*				= 0xxx, Normal operation 									 */
/*				  (counter up-counting, compare match output mode)			 */
/*				= 1x0x, Edge-aligned PWM mode (counter up-count, PWM output) */
/*				= 1x1x, Center-aligned PWM mode 							 */
/*				  (counter continuous up-/down-count, PWM output)	  		 */
/* bit 15 - 14	: PRDINT,  TPR interrupt frequency select					 */
/*				= 00, Interrupt every period								 */
/*				= 01, Interrupt once every 2 periods						 */	
/*				= 10, Interrupt once every 4 periods						 */
/*				= 11, Interrupt once every 8 periods						 */			
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMRPS		: 3;
		UInt16	CKEGS		: 2;
		UInt16	CCLS		: 3;
		UInt16	Reserved	: 2;
		UInt16	MODE		: 4;
		UInt16	PRDINT		: 2;
	} B;	
} P_TMR3_Ctrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMRPS		: 3;
		UInt16	CKEGS		: 2;
		UInt16	CCLS		: 3;
		UInt16	Reserved	: 2;
		UInt16	MODE		: 4;
		UInt16	PRDINT		: 2;
	} B;	
} P_TMR4_Ctrl_DEF;

/*****************************************************************************/
/* Timer TMR Load Ok (P_TMR_LDOK)									 		 */	
/* bit 0		: LDOK0, P_TMR3_TGRA-C ok to load bit					 	 */
/* bit 1		: LDOK1, P_TMR4_TGRA-C ok to load bit						 */											 
/* bit 7 - 2	: TLDCHK, Timer load register check bits					 */	
/* bit 15:8		: Reserve													 */	
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	LDOK0		: 1;
		UInt16	LDOK1		: 1;
		UInt16	TLDCHK		: 6;
		UInt16	Reserved	: 8;
	} B;	
} P_TMR_LDOK_DEF;

/*****************************************************************************/
/* Timer 0/1 IO Control register (P_TMR0/1_IOCtrl)							 */
/* bit 3 - 0   : IOAMODE, Select Timer0/1 IOA Configurartion 				 */
/* bit 7 - 4   : IOBMODE, Select Timer0/1 IOB Configurartion 				 */
/* bit 11 - 8  : IOCMODE, Select Timer0/1 IOC Configurartion 				 */
/*				Compare Mode:												 */
/*				= 0000, Initial output 0, 0 output at compare match			 */
/*				= 0001, Initial output 0, 1 output at compare match			 */
/*				= 0010, Initial output 1, 0 output at compare match			 */
/*				= 0011, Initial output 1, 1 output at compare match			 */
/*				= 01xx, Output hold											 */
/*				Capture Mode												 */
/*				= 1000, Issue input capture interrupt at rising edge		 */
/*				= 1001, Issue input capture interrupt at falling edge		 */
/*				= 101x, Issue input capture interrupt at both edges			 */
/*				= 11xx, Input capture when Position Detection Register 		 */
/*				  changes (capture Timer Counter Register value 			 */
/*				  to Timer General Register) and issue interrupt 			 */
/*				  (for Timer General A Register only)						 */
/* bit 15 - 12 : Reserve												 	 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	IOAMODE		: 4;
		UInt16	IOBMODE		: 4;
		UInt16	IOCMODE		: 4;
		UInt16	Reserved	: 4;	
	} B;
} P_TMR0_IOCtrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	IOAMODE		: 4;
		UInt16	IOBMODE		: 4;
		UInt16	IOCMODE		: 4;
		UInt16	Reserved	: 4;	
	} B;
} P_TMR1_IOCtrl_DEF;
/*****************************************************************************/
/* Timer 2 IO Control register (P_TMR2_IOCtrl)								 */
/* bit 3 - 0  : IOAMODE, Select Timer2 IOA Configurartion 					 */
/* bit 7 - 4  : IOBMODE, Select Timer2 IOB Configurartion 					 */						
/* bit 15 - 8 : Reserved													 */
/*				Compare Mode:												 */
/*				= 0000, Initial output 0, 0 output at compare match			 */
/*				= 0001, Initial output 0, 1 output at compare match			 */
/*				= 0010, Initial output 1, 0 output at compare match			 */
/*				= 0011, Initial output 1, 1 output at compare match			 */
/*				= 01xx, Output hold											 */
/*				Capture Mode												 */
/*				= 1000, Issue input capture interrupt at rising edge		 */
/*				= 1001, Issue input capture interrupt at falling edge		 */
/*				= 101x, Issue input capture interrupt at both edges			 */
/*				= 11xx, Reserve									 			 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	IOAMODE		: 4;
		UInt16	IOBMODE		: 4;
		UInt16	Reserved	: 8;	
	} B;
} P_TMR2_IOCtrl_DEF;

/*****************************************************************************/
/* Timer 3/4 IO Control register (P_TMR3/4_IOCtrl)							 */
/* bit 3 - 0  : IOAMODE, Select Timer3/4 IOA Configurartion 				 */
/* bit 7 - 4  : IOBMODE, Select Timer3/4 IOB Configurartion 				 */
/* bit 11 - 8 : IOCMODE, Select Timer3/4 IOC Configurartion 				 */
/* 				Compare Mode,												 */
/*				= 0000, Initial output 0, 0 output at compare match			 */
/*				= 0001, Initial output 0, 1 output at compare match			 */
/*				= 0010, Initial output 1, 0 output at compare match			 */
/*				= 0011, Initial output 1, 1 output at compare match			 */
/*				= 01xx, Output hold											 */
/*				= 1xxx, Reserve								 				 */
/* bit 12 - 15: Reserved													 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	IOAMODE		: 4;
		UInt16	IOBMODE		: 4;
		UInt16	IOCMODE		: 4;
		UInt16	Reserved	: 4;	
	} B;
} P_TMR3_IOCtrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	IOAMODE		: 4;
		UInt16	IOBMODE		: 4;
		UInt16	IOCMODE		: 4;
		UInt16	Reserved	: 4;	
	} B;
} P_TMR4_IOCtrl_DEF;
/*****************************************************************************/
/* Timer 0/1 Interrupt Enable Register (P_TMR0/1_INT)						 */
/* bit 0  	: TGAIE, Timer General A Register interrupt enable bit			 */
/* bit 1  	: TGBIE, Timer General B Register interrupt enable bit			 */
/* bit 2  	: TGCIE, Timer General C Register interrupt enable bit			 */
/* bit 3  	: Reserve														 */
/* bit 4  	: TPRIE, Timer Period Register interrupt enable bit				 */
/* bit 5  	: TCVIE, Overflow interrupt enable bit							 */
/* bit 6  	: TCUIE, Underflow interrupt enable bit							 */
/* bit 7  	: TADSE, A/D conversion start request enable bit				 */
/* bit 8  	: PDCIE, Position detection change interrupt enable bit			 */
/* bit 9:15	: Reserve													  	 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TGAIE		: 1;
		UInt16	TGBIE		: 1;
		UInt16	TGCIE		: 1;
		UInt16	Reserved1	: 1;	
		UInt16  TPRIE		: 1;
		UInt16  TCVIE      	: 1;
		UInt16  TCUIE		: 1;
		UInt16  TADSE		: 1;
		UInt16  PDCIE		: 1; 	
		UInt16  Reserved2 	: 7; 	
	} B;
} P_TMR0_INT_DEF;
typedef union
{

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍偷拍国产亚洲| 国产成人午夜视频| 日日噜噜夜夜狠狠视频欧美人 | 精品福利一二区| 欧美一区二区免费观在线| 91.麻豆视频| 日韩一级成人av| 欧美一二三四区在线| 欧美电影免费观看高清完整版在线 | 91精品在线免费| 91精品国产91久久久久久最新毛片| 欧美精选在线播放| 日韩三级视频在线观看| 精品国产三级a在线观看| 精品国精品国产| 中文字幕精品综合| 国产精品不卡在线观看| 亚洲欧美视频在线观看视频| 亚洲精品videosex极品| 偷拍日韩校园综合在线| 久久se精品一区二区| 国产99久久久久| 色婷婷一区二区三区四区| 欧美视频一区二区三区四区| 欧美一级一级性生活免费录像| 日韩女优av电影在线观看| 久久婷婷一区二区三区| 中文字幕五月欧美| 亚洲国产一区二区视频| 免费成人在线影院| 国产一区二区免费看| 99国产精品国产精品久久| 欧美在线不卡视频| 日韩精品一区二区三区四区 | 一区二区三区四区国产精品| 丝袜亚洲精品中文字幕一区| 国产在线精品一区二区不卡了 | 欧美性淫爽ww久久久久无| 在线电影院国产精品| 久久综合久色欧美综合狠狠| 自拍偷拍国产精品| 男男成人高潮片免费网站| 国产成人自拍在线| 色狠狠桃花综合| 精品国产精品网麻豆系列| 国产精品蜜臀av| 男男成人高潮片免费网站| 99精品黄色片免费大全| 欧美丰满高潮xxxx喷水动漫| 国产欧美一区二区精品婷婷| 亚洲国产人成综合网站| 国产精品99久| 欧美日韩一区国产| 欧美国产精品一区二区| 日韩电影网1区2区| 成人精品在线视频观看| 日韩免费观看高清完整版| 中文字幕日韩一区二区| 九色综合国产一区二区三区| 在线观看欧美精品| 国产精品午夜久久| 秋霞午夜av一区二区三区| 99国产精品久久久| 久久久久国产精品麻豆ai换脸| 亚洲成人动漫精品| 99久久久久免费精品国产| 日韩一区二区三免费高清| 亚洲自拍另类综合| 丁香亚洲综合激情啪啪综合| 日韩一级高清毛片| 亚洲一区二区三区四区的| 不卡视频在线看| 精品国产91乱码一区二区三区 | 亚洲一区视频在线| 成人国产精品视频| 精品999久久久| 五月天久久比比资源色| 91麻豆福利精品推荐| 欧美韩日一区二区三区四区| 老司机午夜精品| 欧美精品xxxxbbbb| 一区二区三区四区激情| 91在线高清观看| 国产精品污污网站在线观看 | 欧美精品在线观看一区二区| 亚洲色图一区二区三区| 国产成人av电影在线观看| 欧美成人bangbros| 日韩电影免费一区| 欧美人与禽zozo性伦| 亚洲成人动漫av| 欧美性一区二区| 亚洲国产精品久久艾草纯爱| 色狠狠av一区二区三区| 亚洲情趣在线观看| av不卡在线播放| 中文字幕一区二区不卡| 99久久99精品久久久久久| 欧美国产精品一区二区三区| 国产91丝袜在线18| 国产免费观看久久| 成人h版在线观看| 成人免费小视频| 色综合色综合色综合色综合色综合| 国产精品人成在线观看免费| 成人妖精视频yjsp地址| 国产精品久久久久久一区二区三区| 成人污视频在线观看| 亚洲欧美在线观看| 色欧美乱欧美15图片| 亚洲一区在线视频| 欧美精品久久久久久久多人混战 | 色综合色狠狠天天综合色| 亚洲欧美激情一区二区| 欧美性猛片xxxx免费看久爱| 亚洲高清在线视频| 日韩欧美一区在线观看| 国内一区二区在线| 中文字幕av免费专区久久| 99久久婷婷国产综合精品 | 床上的激情91.| 中文字幕中文乱码欧美一区二区| 99久久er热在这里只有精品66| 亚洲精品乱码久久久久久日本蜜臀| 欧美亚洲日本一区| 日韩av一区二区三区四区| 久久嫩草精品久久久久| av电影在线观看不卡| 亚洲chinese男男1069| 日韩三级伦理片妻子的秘密按摩| 国产精品资源在线看| 最新国产の精品合集bt伙计| 欧美四级电影网| 精品一区二区免费在线观看| 国产农村妇女精品| 欧美日韩综合色| 美女视频黄久久| 国产亚洲一区字幕| 欧美中文字幕一区| 国产在线不卡一区| 亚洲四区在线观看| 日韩网站在线看片你懂的| 国产不卡视频在线播放| 亚洲综合视频网| 精品久久一区二区| 97久久精品人人做人人爽| 天天操天天干天天综合网| 久久伊人蜜桃av一区二区| 色综合天天综合狠狠| 欧美aaa在线| 亚洲免费在线视频| 欧美www视频| 欧美在线视频日韩| 国产精品系列在线播放| 亚洲一区二区三区在线看| 久久久久久黄色| 欧美日韩和欧美的一区二区| 国产一区二区影院| 亚洲mv大片欧洲mv大片精品| 欧美国产视频在线| 日韩视频一区二区| 色综合中文综合网| 亚洲欧洲一区二区在线播放| 欧美人xxxx| 91在线观看成人| 国产一区二区三区四| 亚洲国产色一区| 国产精品情趣视频| 精品久久国产字幕高潮| 色婷婷一区二区| 成人夜色视频网站在线观看| 玖玖九九国产精品| 午夜av电影一区| 亚洲码国产岛国毛片在线| 国产三区在线成人av| 91精品国产综合久久精品图片| 色综合久久久久久久久久久| 国产福利视频一区二区三区| 麻豆成人免费电影| 香蕉久久夜色精品国产使用方法| 中文字幕欧美一| 久久久国产精品午夜一区ai换脸| 日韩一级黄色片| 在线观看日韩av先锋影音电影院| 不卡的av电影| 国产精品888| 国精产品一区一区三区mba视频| 天堂午夜影视日韩欧美一区二区| 夜夜嗨av一区二区三区中文字幕| 欧美国产视频在线| 国产丝袜欧美中文另类| 欧美精品一区二区精品网| 日韩欧美国产麻豆| 日韩一区二区免费视频| 欧美福利电影网| 欧美肥大bbwbbw高潮| 4438x亚洲最大成人网| 欧美日韩精品一区二区在线播放| 国产精品欧美久久久久无广告 | 中文字幕亚洲视频|