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

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

?? spmc75f2413a.h

?? 凌陽SPMC75F2413A的AD轉換控制跑馬燈速度的例子。這個是我自己編寫的
?? 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一区二区三区免费野_久草精品视频
最新不卡av在线| 国产日韩影视精品| 亚洲妇女屁股眼交7| 欧洲一区二区三区免费视频| 亚洲欧美日韩一区二区三区在线观看 | 国产色婷婷亚洲99精品小说| 国产一区二区三区四区五区入口| 久久久精品tv| 99这里只有久久精品视频| 亚洲激情在线激情| 欧美美女bb生活片| 黄色日韩三级电影| 中文字幕在线一区| 欧美午夜精品免费| 久久超碰97中文字幕| 国产精品三级在线观看| 日本电影亚洲天堂一区| 性做久久久久久久免费看| 精品国产亚洲一区二区三区在线观看| 国产精品996| 亚洲一区中文在线| 久久久电影一区二区三区| 一本久久精品一区二区| 日本中文字幕一区二区视频| 国产午夜精品久久久久久免费视| 91在线观看美女| 日韩av在线发布| 国产精品高潮呻吟| 91精品国产丝袜白色高跟鞋| 国产成人av福利| 亚洲1区2区3区视频| 国产亚洲精久久久久久| 欧洲精品在线观看| 国产精品一线二线三线精华| 最好看的中文字幕久久| 91麻豆精品国产| 91免费小视频| 国产在线乱码一区二区三区| 亚洲综合色在线| 日本一区二区成人| 日韩亚洲电影在线| 色综合一个色综合| 国产超碰在线一区| 久久激五月天综合精品| 亚洲一区在线观看免费 | 顶级嫩模精品视频在线看| 亚洲无线码一区二区三区| 国产三级欧美三级日产三级99| 欧美日韩国产首页| 97久久精品人人做人人爽| 国产一区二区导航在线播放| 偷拍一区二区三区| 亚洲一二三专区| 国产精品久久三| 久久婷婷综合激情| 91精品在线一区二区| 欧美在线观看你懂的| av网站免费线看精品| 国产精品一区二区你懂的| 蜜臀精品一区二区三区在线观看| 夜夜嗨av一区二区三区| 亚洲欧美日韩国产另类专区| 国产欧美精品区一区二区三区| 欧美大片一区二区三区| 欧美一区二区三区色| 欧美日韩精品一二三区| 欧美视频完全免费看| 在线看国产一区| 欧美自拍丝袜亚洲| 在线免费观看日本一区| 色综合久久综合中文综合网| 91性感美女视频| 色av综合在线| 欧美亚洲高清一区| 欧美精品粉嫩高潮一区二区| 制服丝袜亚洲色图| 日韩一区二区三区视频在线| 欧美一级搡bbbb搡bbbb| 精品奇米国产一区二区三区| 精品少妇一区二区三区免费观看| 精品国产区一区| 精品国产91亚洲一区二区三区婷婷| 日韩欧美国产一二三区| 欧美成人免费网站| 久久亚洲欧美国产精品乐播| 久久精品人人做人人综合 | 午夜精品福利一区二区三区蜜桃| 一级日本不卡的影视| 亚洲一二三专区| 日本怡春院一区二区| 狠狠v欧美v日韩v亚洲ⅴ| 国产精品一区一区| 91丨国产丨九色丨pron| 在线视频亚洲一区| 777久久久精品| 精品国产91久久久久久久妲己| 久久免费午夜影院| 18欧美亚洲精品| 午夜精品久久久久久久久| 蜜臀久久久99精品久久久久久| 国产精一区二区三区| 972aa.com艺术欧美| 3d成人动漫网站| 国产欧美精品一区二区色综合朱莉| 国产精品福利一区| 午夜精品aaa| 国产综合一区二区| 色综合久久中文字幕综合网 | 成人成人成人在线视频| 日本精品一区二区三区高清 | 在线观看av一区二区| 日韩欧美激情在线| 国产精品福利电影一区二区三区四区 | 色视频一区二区| 欧美一级片在线观看| 亚洲国产精品精华液ab| 一区二区欧美视频| 国产综合久久久久久久久久久久| youjizz国产精品| 日韩一区二区三区电影在线观看| 国产日韩影视精品| 日本不卡一二三| 99久久婷婷国产综合精品| 日韩欧美色电影| 亚洲成人自拍网| 成人av免费观看| 精品国产污污免费网站入口| 亚洲综合视频在线观看| 国产精品一区二区三区网站| 欧美高清视频在线高清观看mv色露露十八 | 国产精品久久久久影院| 石原莉奈在线亚洲三区| av在线免费不卡| 精品国产区一区| 五月激情综合网| 99精品欧美一区二区蜜桃免费| 精品sm在线观看| 午夜成人在线视频| 一本大道久久a久久精二百| 久久久精品黄色| 久久精品免费看| 欧美日本一道本| 亚洲免费在线观看视频| 国产成人精品一区二| 欧美v日韩v国产v| 日韩综合一区二区| 日本丰满少妇一区二区三区| 国产精品久久久久久久久久免费看 | 国产精品久久久久aaaa樱花| 久久99精品国产麻豆不卡| 欧美日韩大陆在线| 亚洲午夜激情av| 欧美性生活久久| 亚洲免费观看高清完整版在线观看熊| 国产成人在线视频播放| 久久综合国产精品| 久久av中文字幕片| 欧美成人乱码一区二区三区| 奇米一区二区三区| 欧美一区二区视频在线观看2020| 亚洲成av人片在www色猫咪| 91高清视频在线| 一区二区成人在线| 欧美色图天堂网| 午夜精品福利在线| 欧美一区二区日韩一区二区| 无码av中文一区二区三区桃花岛| 欧美日韩色综合| 日韩激情中文字幕| 欧美一级一区二区| 韩日欧美一区二区三区| 国产亚洲欧美色| 成人免费毛片高清视频| 国产精品乱码久久久久久| www.66久久| 亚洲影视资源网| 3d动漫精品啪啪1区2区免费 | 一区二区三区四区在线| 欧美性大战久久久| 日本不卡视频在线| 久久亚区不卡日本| 成人激情av网| 亚洲一区二区美女| 日韩一级片网站| 国产精品一区二区果冻传媒| 中文字幕不卡在线观看| 91丨九色丨蝌蚪富婆spa| 亚洲影院免费观看| 欧美成人一区二区三区在线观看| 国产传媒日韩欧美成人| 亚洲欧洲三级电影| 777xxx欧美| 国产91色综合久久免费分享| 亚洲人成电影网站色mp4| 欧美高清视频一二三区| 国产美女在线观看一区| **欧美大码日韩| 91精品国产91久久综合桃花| 国产精品自拍三区| 亚洲激情一二三区|