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

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

?? spmc75_regs.h

?? 凌陽SPMC75F2413A的跑馬燈的例子。這個是我自己編寫的
?? H
?? 第 1 頁 / 共 5 頁
字號:
	UInt16	W;
	struct
	{
		UInt16	DTP			: 7;
		UInt16	Reserved1	: 5;
		UInt16	DTUE		: 1;
		UInt16	DTVE		: 1;
		UInt16	DTWE		: 1;
		UInt16	Reserved2	: 1;		
	} B;
} P_TMR3_DeadTime_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	DTP			: 7;
		UInt16	Reserved1	: 5;
		UInt16	DTUE		: 1;
		UInt16	DTVE		: 1;
		UInt16	DTWE		: 1;
		UInt16	Reserved2	: 1;		
	} B;
} P_TMR4_DeadTime_DEF;
/*****************************************************************************/
/* Timer/PWM Module Write Enable Control Register(P_TPWM_Write)			 	 */
/* Bit 0 	 : TMR3WE, Timer 3 setting registers write enable select		 */
/* Bit 1 	  : TMR4WE, Timer 4 setting registers write enable select		 */
/* Bit 15 - 2 : Reserve														 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	TMR3WE		: 1;
		UInt16	TMR4WE		: 1;
		UInt16	Reserved	: 14;		
	} B;
} P_TPWM_Write_DEF;

/*****************************************************************************/
/* Fault Input 1/2 Control and Status Register(P_Fault1/2_Ctrl)				 */
/* Bit 3 - 0  : FTCNT, Fault protection sampling time						 */
/* Bit 4	  : Reserve														 */
/* Bit 5 	  : FTPINIF, Fault input 1/2 status flag						 */
/* Bit 6	  : FTPINIE, Fault input 1/2 interrupt enable				     */
/* Bit 7 	  : FTPINE,  Fault input pin 1/2 enable							 */	
/* Bit 11 - 8 : Reserve														 */	
/* Bit 12 	  : OSF,  Output short flag										 */		
/* Bit 13	  : OCLS, Output compare polarity level select					 */
/* Bit 14:	  : OCIE, Output compare interrupt enable						 */		
/* Bit 15:	  : OCE,  Output compare enable									 */	
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	FTCNT		: 4;
		UInt16	Reserved1	: 1;
		UInt16	FTPINIF		: 1;
		UInt16	FTPINIE		: 1;
		UInt16	FTPINE		: 1;
		UInt16	Reserved2	: 4;		
		UInt16	OSF			: 1;
		UInt16	OCLS		: 1;
		UInt16	OCIE		: 1;
		UInt16	OCE			: 1;	
	} B;
} P_Fault1_Ctrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	FTCNT		: 4;
		UInt16	Reserved1	: 1;
		UInt16	FTPINIF		: 1;
		UInt16	FTPINIE		: 1;
		UInt16	FTPINE		: 1;
		UInt16	Reserved2	: 4;		
		UInt16	OSF			: 1;
		UInt16	OCLS		: 1;
		UInt16	OCIE		: 1;
		UInt16	OCE			: 1;	
	} B;
} P_Fault2_Ctrl_DEF;
/*****************************************************************************/
/* Overload Protection 1/2 Control/Status Register (P_OL1/2_Ctrl)			 */
/* (P_TMR3/4_OLProtect)														 */
/* Bit 3 - 0  : OLCNT, Overload protection sampling time					 */
/* Bit 5 - 4  : Reserve														 */
/* Bit 6	  : OLIF,  Overload interrupt flag								 */
/* Bit 7	  : OLIE, Overload interrupt enable bit							 */	
/* Bit 8 	  : RTOL, Return from overload protection state					 */	
/* Bit 9 	  : RTPWM, Return from PWM sync enable bit						 */
/* Bit 10 	  : RTTMB, Return from P_TMR0/1_TGRB register compare match 	 */	
/*				interrupt enable bit										 */
/* Bit 11	  : OLST, Overload protection status							 */
/* Bit 12:13  : OLMD, Output disabled phases during overload protection		 */
/* Bit 14:	  : CNTSP,Stop PWM counter during overload protection select	 */	
/* Bit 15:	  : OLEN, Overload protection enable							 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	OLCNT		: 4;
		UInt16	Reserved	: 2;
		UInt16	OLIF		: 1;
		UInt16	OLIE		: 1;
		UInt16	RTOL		: 1;
		UInt16	RTPWM		: 1;
		UInt16	RTTMB		: 1;			
		UInt16	OLST		: 1;
		UInt16	OLMD		: 2;
		UInt16	CNTSP		: 1;
		UInt16	OLEN		: 1;	
	} B;
} P_OL1_Ctrl_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	OLCNT		: 4;
		UInt16	Reserved	: 2;
		UInt16	OLIF		: 1;
		UInt16	OLIE		: 1;
		UInt16	RTOL		: 1;
		UInt16	RTPWM		: 1;
		UInt16	RTTMB		: 1;			
		UInt16	OLST		: 1;
		UInt16	OLMD		: 2;
		UInt16	CNTSP		: 1;
		UInt16	OLEN		: 1;	
	} B;
} P_OL2_Ctrl_DEF;
/*****************************************************************************/
/* Fault 1/2 Flag Release Register(P_Fault1/2_Release)						 */
/* bit 0 - 15  : FTRR														 */												
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16  FTRR	: 16;		
	} B;
} P_Fault1_Release_DEF;
typedef union
{
	UInt16	W;
	struct
	{
		UInt16  FTRR	: 16;		
	} B;
} P_Fault2_Release_DEF;
/*****************************************************************************/
/*****************************************************************************/
/* L. 10-bit ADC converter register											 */
/*****************************************************************************/
/*****************************************************************************/
/* ADC Setup register (P_ADC_Setup)											 */
/* bit 6:0   	:Reserve													 */
/* bit 7	:ASPEN, Auto Sampling mode enable								 */		 
/* bit 8	:ADCEXTRG, external ADC conversion request trigger from PB8 pad	 */ 
/* bit 10:9	:ADCFS, A/D converter clock selection							 */
/*				=00: CPUCLK /8												 */
/*				=01: CPUCLK /16												 */
/*				=10: CPUCLK /32												 */	
/*				=11: CPUCLK /64												 */
/* bit 11	:Reserve														 */		 
/* bit 12	:VRXEN, AD Top voltage Source Selection							 */
/* bit 13  	:Reserve														 */ 
/* bit 14	:ADCEN,	ADC converter enable									 */		 
/* bit 15	:ADCCS,	ADC converter chip select. (ADC Power on)				 */			
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	Reserved1	: 7;
		UInt16	ASPEN		: 1;
		UInt16	ADCEXTRG	: 1;	
		UInt16	ADCFS		: 2;
		UInt16	Reserved2	: 1;
		UInt16	VRXEN		: 1;	
		UInt16	Reserved3	: 1;
		UInt16	ADCEN		: 1;				
		UInt16	ADCCS		: 1;
	} B;	
} P_ADC_Setup_DEF;

/*****************************************************************************/
/* ADC control register (P_ADC_Ctrl)										 */
/* bit 2:0	    :ADCCHS, Select ADC converter channel input					 */
/*				=000: ADC Channel 0 (PA0)									 */
/*				=001: ADC Channel 1 (PA1)									 */	
/*				=010: ADC Channel 2 (PA2)									 */
/*				=011: ADC Channel 3 (PA3)									 */	
/*				=100: ADC Channel 4 (PA4)								     */
/*				=101: ADC Channel 5 (PA5)									 */	
/*				=110: ADC Channel 6 (PA6)									 */
/*				=111: ADC Channel 7 (PA7)									 */
/* bit 5:3   	:Reserve													 */
/* bit 6   	    :ADCSTR, Manual Start ADC Conversion						 */		 
/* bit 7   	    :ADCRDY, ADC conversion ready								 */ 
/* bit 13: 8  	:Reserved												     */
/* bit 14   	:ADCIE, ADC interrupt enable								 */	
/* bit 15   	:ADCIF, ADC interrupt flag									 */			
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	ADCCHS		: 3;
		UInt16	Reserved1	: 3;
		UInt16	ADCSTR		: 1;
		UInt16	ADCRDY		: 1;
		UInt16	Reserved2	: 6;
		UInt16	ADCIE		: 1;
		UInt16	ADCIF		: 1;
	} B;	
} P_ADC_Ctrl_DEF;

/*****************************************************************************/
/* ADC Input Channels Select (P_ADC_Channel)								 */
/* bit 0   	:ADCCH0, ADC Input Channel0 Enable	  							 */												 
/* bit 1   	:ADCCH1, ADC Input Channel1 Enable								 */
/* bit 2   	:ADCCH2, ADC Input Channel2 Enable	  							 */												 
/* bit 3   	:ADCCH3, ADC Input Channel3 Enable								 */
/* bit 4   	:ADCCH4, ADC Input Channel4 Enable	  							 */												 
/* bit 5   	:ADCCH5, ADC Input Channel5 Enable								 */
/* bit 6   	:ADCCH6, ADC Input Channel6 Enable	  							 */												 
/* bit 7   	:ADCCH7, ADC Input Channel7 Enable								 */
/* bit 8:15   	:Reserve													 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	ADCCH0		: 1;
		UInt16	ADCCH1		: 1;
		UInt16	ADCCH2		: 1;
		UInt16	ADCCH3		: 1;
		UInt16	ADCCH4		: 1;
		UInt16	ADCCH5		: 1;
		UInt16	ADCCH6		: 1;
		UInt16	ADCCH7		: 1;							
		UInt16	reserved	: 8;
	} B;
} P_ADC_Channel_DEF;

/*****************************************************************************/
/* ADC Data Register (P_ADC_Data)											 */
/* bit 5 - 0  : reserved	  												 */						
/* bit 15 - 6 : ADCData, ADC conversion data								 */							
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	reserved	: 6;
		UInt16	ADCData		: 10;
	} B;
} P_ADC_Data_DEF;

/*****************************************************************************/
/*****************************************************************************/
/* H. Standard Peripheral Interface, SPI register							 */
/*****************************************************************************/
/*****************************************************************************/
/* SPI control register (P_SPI_Ctrl)										 */
/* bit 2:0	:SPIFS, Master mode clock frequency selection					 */
/* bit 3	:SPISMPS, SPI sample mode selection for master mode				 */
/* bit 4	:SPIPOL, SPI clock polarity. SPI clock polarity select			 */
/* bit 5	:SPIPHA, SPI clock phase										 */
/* bit 7:6	:Reserve													 	 */
/* bit 8	:SPIMS, SPI mode selection										 */
/* bit 10:9	:SPISPCLK, Sampling clock select bits							 */
/* bit 11	:SPIRST, Write 1 to reset										 */
/* bit 14:12:Reserve													 	 */
/* bit 15	:SPIE, SPI enable												 */	
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	SPIFS		: 3;
		UInt16	SPISMPS		: 1;
		UInt16	SPIPOL		: 1;	
		UInt16	SPIPHA		: 1;
		UInt16	Reserved1	: 2;
		UInt16	SPIMS		: 1;	
		UInt16	SPISPCLK	: 2;
		UInt16	SPIRST		: 1;				
		UInt16	Reserved2	: 3;
		UInt16	SPIE		: 1;
	} B;	
} P_SPI_Ctrl_DEF;

/*****************************************************************************/
/* SPI Tx status register (P_SPI_TxStatus)									 */
/* bit 12:0	:Reserve													 	 */
/* bit 13	:SPITXBF, SPI Transmission buffer full flag.					 */
/* bit 14	:SPITXIE, SPI Transmit interrupt enable							 */
/* bit 15	:SPITXIF, SPI Transmit interrupt flag							 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	Reserved	: 13;
		UInt16	SPITXBF		: 1;
		UInt16	SPITXIE		: 1;
		UInt16	SPITXIF		: 1;
	} B;	
} P_SPI_TxStatus_DEF;

/*****************************************************************************/
/* SPI Transmission Buffer (P_SPI_TxBuf)									 */
/* bit 7 - 0  : SPITXBUF,Write data sends to SDO pin						 */						
/* bit 15- 8	  : Reserve													 */							
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	SPITXBUF	: 8;
		UInt16	reserved	: 8;
	} B;
} P_SPI_TxBuf_DEF;




/*****************************************************************************/
/* SPI Rx status register (P_SPI_RxStatus)									 */
/* bit 9:0	:Reserve													 	 */
/* bit 10	:FERR, Buffer full and overwrite								 */
/* bit 13:11:Reserve													 	 */
/* bit 14	:SPIRXIE, SPI receive interrupt enable							 */
/* bit 15	:SPIRXIF, SPI receive interrupt flag 							 */
/*****************************************************************************/
typedef union
{
	UInt16	W;
	struct
	{
		UInt16	Reserved1	: 10;
		UInt16	FERR		: 1;
		UInt16	Reserved2	: 3;
		UInt16	SPIRXIE		: 1;
		UInt16	SPIRXIF		: 1;		
	} B;
} P_SPI_RxStatus_DEF;

/*****************************************************************************/
/* SPI Receive Buffer (P_SPI_RxBuf)											 */
/* bit 7 - 0  : SPIRXBUF,Read data from SDI pin								 */						
/* bit 15- 8	  : Reserve													 */							
/*****************************************************************************/
typedef union
{

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲欧美日韩在线一区| 国产一区二区福利视频| 欧美激情一区二区三区不卡| 日韩一区二区免费高清| 精品视频在线看| 欧美在线一区二区| 欧美视频一区二| 91精彩视频在线| 91黄色激情网站| 欧美三级一区二区| 91精品国产手机| 精品美女在线观看| 久久精品男人天堂av| 国产日韩一级二级三级| 日韩和欧美的一区| 久久99精品国产| 成人在线视频首页| 色噜噜久久综合| 91超碰这里只有精品国产| 91精品麻豆日日躁夜夜躁| 精品欧美乱码久久久久久 | 97se亚洲国产综合自在线不卡| 国产一区二区91| 99麻豆久久久国产精品免费| 一道本成人在线| 日韩写真欧美这视频| 国产婷婷色一区二区三区四区 | 99精品欧美一区二区三区综合在线| 99久久精品国产网站| 欧美日韩成人激情| 久久久亚洲国产美女国产盗摄 | 6080亚洲精品一区二区| 精品国产伦一区二区三区观看体验| 首页国产丝袜综合| 国产在线播放一区二区三区| 99久久久无码国产精品| 日韩精品在线一区| 亚洲精品自拍动漫在线| 久久电影网站中文字幕 | 亚洲午夜精品久久久久久久久| 午夜精品国产更新| 国产精品一区二区久久不卡 | 欧美蜜桃一区二区三区| 欧美r级在线观看| 亚洲精品国产一区二区三区四区在线| 青青草原综合久久大伊人精品优势 | 日本一区二区三区在线不卡| 夜色激情一区二区| 国产激情一区二区三区| 欧美剧情片在线观看| 亚洲国产精品成人综合色在线婷婷 | 99精品欧美一区二区三区小说| 91精品国产麻豆国产自产在线| 中文字幕在线观看一区二区| 日韩成人午夜电影| 欧美综合亚洲图片综合区| 久久久久久久综合| 经典三级在线一区| 欧美优质美女网站| 国产精品久久国产精麻豆99网站| 日韩成人一级大片| 7777精品伊人久久久大香线蕉完整版 | caoporn国产精品| 精品久久人人做人人爰| 婷婷丁香久久五月婷婷| 欧美性欧美巨大黑白大战| 亚洲欧美另类久久久精品2019| 粉嫩av一区二区三区| 久久久精品欧美丰满| 卡一卡二国产精品| 日韩欧美不卡在线观看视频| 日韩vs国产vs欧美| 在线不卡a资源高清| 亚洲va国产天堂va久久en| 在线视频观看一区| 性久久久久久久| 91精品一区二区三区在线观看| 亚洲成a人片在线不卡一二三区 | 99久久夜色精品国产网站| 国产精品亲子乱子伦xxxx裸| 国产成都精品91一区二区三| 国产日韩欧美高清在线| 日韩欧美一区二区免费| 日韩一区欧美二区| 日韩视频免费直播| 激情综合色丁香一区二区| 久久婷婷色综合| 粉嫩蜜臀av国产精品网站| 国产精品三级电影| 色综合天天天天做夜夜夜夜做| 亚洲欧美日韩系列| 欧美精品在线观看一区二区| 奇米色一区二区| 精品国产1区2区3区| 顶级嫩模精品视频在线看| 1024国产精品| 欧美伊人精品成人久久综合97| 亚洲影院久久精品| 精品国产3级a| 91网页版在线| 日日夜夜免费精品| 久久久99免费| 欧美日韩精品欧美日韩精品一综合| 秋霞电影网一区二区| 国产精品嫩草久久久久| 欧美区在线观看| 国产成人精品一区二| 亚洲成人1区2区| 中文字幕免费一区| 欧美日韩国产三级| 国产成人免费视频网站 | 亚洲美女屁股眼交| 欧美tickling网站挠脚心| 9i看片成人免费高清| 日韩国产欧美三级| 亚洲欧洲精品一区二区三区不卡| 欧美剧在线免费观看网站| 国产a精品视频| 奇米色777欧美一区二区| 亚洲另类一区二区| 久久精品一区二区三区不卡| 欧美中文字幕亚洲一区二区va在线 | 国产美女久久久久| 一区二区三区四区五区视频在线观看| 日韩精品一区在线观看| 欧美在线不卡一区| 99久久精品免费看| 韩国av一区二区三区四区| 亚洲精品一二三| 成人免费在线视频| 国产精品欧美一级免费| 亚洲狠狠爱一区二区三区| 国产亚洲综合av| 精品久久一区二区| 日韩一区二区免费在线观看| 欧美怡红院视频| 91福利在线看| 91麻豆国产精品久久| 国产成人精品影视| 国模一区二区三区白浆| 日本欧美一区二区| 水蜜桃久久夜色精品一区的特点 | 欧美久久一区二区| 日本二三区不卡| 91久久精品网| 在线免费不卡电影| 在线亚洲免费视频| 日本高清不卡视频| 欧美日韩一区二区欧美激情| 91国产免费观看| 欧洲精品中文字幕| 欧美亚洲一区三区| 欧美视频三区在线播放| 欧美日韩高清在线| 欧美日本一道本在线视频| 欧美老肥妇做.爰bbww| 91精品国产91久久久久久一区二区 | 不卡的电影网站| 成人深夜福利app| 成人免费看黄yyy456| 丁香六月久久综合狠狠色| 成人av资源在线观看| 色综合久久综合网97色综合 | 久久众筹精品私拍模特| 久久夜色精品国产噜噜av| 国产欧美日韩在线看| 国产精品免费久久| 亚洲精品视频在线看| 肉肉av福利一精品导航| 国产综合色在线| 91一区二区三区在线播放| 色94色欧美sute亚洲13| 欧美一级专区免费大片| 精品国产99国产精品| 中文字幕亚洲一区二区va在线| 亚洲欧美国产77777| 亚洲成人tv网| 国产精品夜夜爽| 91免费版在线| 555夜色666亚洲国产免| 久久色中文字幕| 一区二区三区免费| 久草精品在线观看| 99re视频精品| 欧美电影免费观看高清完整版| 国产日本一区二区| 午夜精品久久久久久久久久久| 国产成人综合在线播放| 欧美亚洲图片小说| 久久久国产精华| 日韩高清在线不卡| 成人午夜又粗又硬又大| 91精品免费在线观看| 亚洲日本护士毛茸茸| 久草热8精品视频在线观看| 一本高清dvd不卡在线观看| 久久久精品影视| 日韩成人免费在线| 在线一区二区三区| 亚洲欧洲99久久|