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

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

?? stm8_tsl_services.ls

?? STM8s
?? LS
?? 第 1 頁 / 共 4 頁
字號:
   1                     ; C Compiler for STM8 (COSMIC Software)
   2                     ; Parser V4.9.2 - 29 Jun 2010
   3                     ; Generator V4.3.5 - 02 Jul 2010
  81                     ; 53 void TSL_SetStructPointer(void)
  81                     ; 54 {
  83                     	switch	.text
  84  0000               _TSL_SetStructPointer:
  88                     ; 55   pKeyStruct = &sSCKeyInfo[KeyIndex];
  90  0000 b600          	ld	a,_KeyIndex
  91  0002 97            	ld	xl,a
  92  0003 a60f          	ld	a,#15
  93  0005 42            	mul	x,a
  94  0006 01            	rrwa	x,a
  95  0007 ab00          	add	a,#_sSCKeyInfo
  96  0009 2401          	jrnc	L6
  97  000b 5c            	incw	x
  98  000c               L6:
  99  000c 5f            	clrw	x
 100  000d 97            	ld	xl,a
 101  000e bf00          	ldw	_pKeyStruct,x
 102                     ; 56 }
 105  0010 81            	ret
 131                     ; 69 void TSL_DeltaCalculation(void)
 131                     ; 70 {
 132                     	switch	.text
 133  0011               _TSL_DeltaCalculation:
 137                     ; 83   Delta = (s16)(pKeyStruct->Channel.LastMeas - pKeyStruct->Channel.Reference);
 139  0011 be00          	ldw	x,_pKeyStruct
 140  0013 ee05          	ldw	x,(5,x)
 141  0015 90be00        	ldw	y,_pKeyStruct
 142  0018 90ee08        	ldw	y,(8,y)
 143  001b 90bf00        	ldw	c_x,y
 144  001e 72b00000      	subw	x,c_x
 145  0022 bf00          	ldw	_Delta,x
 146                     ; 85 }
 149  0024 81            	ret
 175                     ; 99 void TSL_SCKey_SetIdleState(void)
 175                     ; 100 {
 176                     	switch	.text
 177  0025               _TSL_SCKey_SetIdleState:
 181                     ; 101   pKeyStruct->Setting.b.CHANGED = 1;
 183  0025 be00          	ldw	x,_pKeyStruct
 184  0027 e602          	ld	a,(2,x)
 185  0029 aa08          	or	a,#8
 186  002b e702          	ld	(2,x),a
 187                     ; 102   TSL_SCKey_BackToIdleState();
 189  002d ad01          	call	_TSL_SCKey_BackToIdleState
 191                     ; 103 }
 194  002f 81            	ret
 219                     ; 117 void TSL_SCKey_BackToIdleState(void)
 219                     ; 118 {
 220                     	switch	.text
 221  0030               _TSL_SCKey_BackToIdleState:
 225                     ; 119   pKeyStruct->State.whole = IDLE_STATE;
 227  0030 a602          	ld	a,#2
 228  0032 92c700        	ld	[_pKeyStruct.w],a
 229                     ; 120   pKeyStruct->Setting.b.DETECTED = 0;
 231  0035 be00          	ldw	x,_pKeyStruct
 232  0037 e602          	ld	a,(2,x)
 233  0039 a4fb          	and	a,#251
 234  003b e702          	ld	(2,x),a
 235                     ; 121   pKeyStruct->Setting.b.LOCKED = 0;
 237  003d be00          	ldw	x,_pKeyStruct
 238  003f e602          	ld	a,(2,x)
 239  0041 a47f          	and	a,#127
 240  0043 e702          	ld	(2,x),a
 241                     ; 122   pKeyStruct->Setting.b.ERROR = 0;
 243  0045 be00          	ldw	x,_pKeyStruct
 244  0047 e602          	ld	a,(2,x)
 245  0049 a4df          	and	a,#223
 246  004b e702          	ld	(2,x),a
 247                     ; 123 }
 250  004d 81            	ret
 276                     ; 137 void TSL_SCKey_SetPreDetectState(void)
 276                     ; 138 {
 277                     	switch	.text
 278  004e               _TSL_SCKey_SetPreDetectState:
 282                     ; 139   pKeyStruct->State.whole = PRE_DETECTED_STATE;
 284  004e a614          	ld	a,#20
 285  0050 92c700        	ld	[_pKeyStruct.w],a
 286                     ; 140   pKeyStruct->Channel.IntegratorCounter = DetectionIntegrator;
 288  0053 be00          	ldw	x,_pKeyStruct
 289  0055 b600          	ld	a,_DetectionIntegrator
 290  0057 e70a          	ld	(10,x),a
 291                     ; 141 }
 294  0059 81            	ret
 320                     ; 155 void TSL_SCKey_SetDetectedState(void)
 320                     ; 156 {
 321                     	switch	.text
 322  005a               _TSL_SCKey_SetDetectedState:
 326                     ; 157   pKeyStruct->State.whole = DETECTED_STATE;
 328  005a a604          	ld	a,#4
 329  005c 92c700        	ld	[_pKeyStruct.w],a
 330                     ; 158   pKeyStruct->Setting.b.DETECTED = 1;
 332  005f be00          	ldw	x,_pKeyStruct
 333  0061 e602          	ld	a,(2,x)
 334  0063 aa04          	or	a,#4
 335  0065 e702          	ld	(2,x),a
 336                     ; 159   pKeyStruct->Setting.b.CHANGED = 1;
 338  0067 be00          	ldw	x,_pKeyStruct
 339  0069 e602          	ld	a,(2,x)
 340  006b aa08          	or	a,#8
 341  006d e702          	ld	(2,x),a
 342                     ; 160   pKeyStruct->Counter = DetectionTimeout;
 344  006f be00          	ldw	x,_pKeyStruct
 345  0071 b600          	ld	a,_DetectionTimeout
 346  0073 e703          	ld	(3,x),a
 347                     ; 161 }
 350  0075 81            	ret
 376                     ; 175 void TSL_SCKey_SetPostDetectState(void)
 376                     ; 176 {
 377                     	switch	.text
 378  0076               _TSL_SCKey_SetPostDetectState:
 382                     ; 177   pKeyStruct->State.whole = POST_DETECTED_STATE;
 384  0076 a624          	ld	a,#36
 385  0078 92c700        	ld	[_pKeyStruct.w],a
 386                     ; 178   pKeyStruct->Channel.IntegratorCounter = EndDetectionIntegrator;
 388  007b be00          	ldw	x,_pKeyStruct
 389  007d b600          	ld	a,_EndDetectionIntegrator
 390  007f e70a          	ld	(10,x),a
 391                     ; 179 }
 394  0081 81            	ret
 419                     ; 193 void TSL_SCKey_BackToDetectedState(void)
 419                     ; 194 {
 420                     	switch	.text
 421  0082               _TSL_SCKey_BackToDetectedState:
 425                     ; 195   pKeyStruct->State.whole = DETECTED_STATE;
 427  0082 a604          	ld	a,#4
 428  0084 92c700        	ld	[_pKeyStruct.w],a
 429                     ; 196 }
 432  0087 81            	ret
 458                     ; 210 void TSL_SCKey_SetPreRecalibrationState(void)
 458                     ; 211 {
 459                     	switch	.text
 460  0088               _TSL_SCKey_SetPreRecalibrationState:
 464                     ; 212   pKeyStruct->State.whole = PRE_CALIBRATION_STATE;
 466  0088 a611          	ld	a,#17
 467  008a 92c700        	ld	[_pKeyStruct.w],a
 468                     ; 213   pKeyStruct->Channel.IntegratorCounter = RecalibrationIntegrator;
 470  008d be00          	ldw	x,_pKeyStruct
 471  008f b600          	ld	a,_RecalibrationIntegrator
 472  0091 e70a          	ld	(10,x),a
 473                     ; 214 }
 476  0093 81            	ret
 501                     ; 228 void TSL_SCKey_SetCalibrationState(void)
 501                     ; 229 {
 502                     	switch	.text
 503  0094               _TSL_SCKey_SetCalibrationState:
 507                     ; 230   pKeyStruct->State.whole = CALIBRATION_STATE;
 509  0094 a601          	ld	a,#1
 510  0096 92c700        	ld	[_pKeyStruct.w],a
 511                     ; 231   pKeyStruct->Setting.b.DETECTED = 0;
 513  0099 be00          	ldw	x,_pKeyStruct
 514  009b e602          	ld	a,(2,x)
 515  009d a4fb          	and	a,#251
 516  009f e702          	ld	(2,x),a
 517                     ; 232   pKeyStruct->Setting.b.CHANGED = 1;
 519  00a1 be00          	ldw	x,_pKeyStruct
 520  00a3 e602          	ld	a,(2,x)
 521  00a5 aa08          	or	a,#8
 522  00a7 e702          	ld	(2,x),a
 523                     ; 233   pKeyStruct->Setting.b.LOCKED = 0;
 525  00a9 be00          	ldw	x,_pKeyStruct
 526  00ab e602          	ld	a,(2,x)
 527  00ad a47f          	and	a,#127
 528  00af e702          	ld	(2,x),a
 529                     ; 234   pKeyStruct->Setting.b.ERROR = 0;
 531  00b1 be00          	ldw	x,_pKeyStruct
 532  00b3 e602          	ld	a,(2,x)
 533  00b5 a4df          	and	a,#223
 534  00b7 e702          	ld	(2,x),a
 535                     ; 235   pKeyStruct->Counter = SCKEY_CALIBRATION_COUNT_DEFAULT;
 537  00b9 be00          	ldw	x,_pKeyStruct
 538  00bb a608          	ld	a,#8
 539  00bd e703          	ld	(3,x),a
 540                     ; 236   pKeyStruct->Channel.Reference = 0;
 542  00bf be00          	ldw	x,_pKeyStruct
 543  00c1 905f          	clrw	y
 544  00c3 ef08          	ldw	(8,x),y
 545                     ; 237 }
 548  00c5 81            	ret
 573                     ; 251 void TSL_SCKey_SetErrorState(void)
 573                     ; 252 {
 574                     	switch	.text
 575  00c6               _TSL_SCKey_SetErrorState:
 579                     ; 253   pKeyStruct->State.whole = ERROR_STATE;
 581  00c6 a608          	ld	a,#8
 582  00c8 92c700        	ld	[_pKeyStruct.w],a
 583                     ; 254   pKeyStruct->Setting.b.DETECTED = 0;
 585  00cb be00          	ldw	x,_pKeyStruct
 586  00cd e602          	ld	a,(2,x)
 587  00cf a4fb          	and	a,#251
 588  00d1 e702          	ld	(2,x),a
 589                     ; 255   pKeyStruct->Setting.b.CHANGED = 1;
 591  00d3 be00          	ldw	x,_pKeyStruct
 592  00d5 e602          	ld	a,(2,x)
 593  00d7 aa08          	or	a,#8
 594  00d9 e702          	ld	(2,x),a
 595                     ; 256   pKeyStruct->Setting.b.LOCKED = 0;
 597  00db be00          	ldw	x,_pKeyStruct
 598  00dd e602          	ld	a,(2,x)
 599  00df a47f          	and	a,#127
 600  00e1 e702          	ld	(2,x),a
 601                     ; 257   pKeyStruct->Setting.b.ERROR = 1;
 603  00e3 be00          	ldw	x,_pKeyStruct
 604  00e5 e602          	ld	a,(2,x)
 605  00e7 aa20          	or	a,#32
 606  00e9 e702          	ld	(2,x),a
 607                     ; 258 }
 610  00eb 81            	ret
 635                     ; 272 void TSL_SCKey_SetDisabledState(void)
 635                     ; 273 {
 636                     	switch	.text
 637  00ec               _TSL_SCKey_SetDisabledState:
 641                     ; 274   pKeyStruct->State.whole = DISABLED_STATE;
 643  00ec a680          	ld	a,#128
 644  00ee 92c700        	ld	[_pKeyStruct.w],a
 645                     ; 275   pKeyStruct->Setting.b.DETECTED = 0;
 647  00f1 be00          	ldw	x,_pKeyStruct
 648  00f3 e602          	ld	a,(2,x)
 649  00f5 a4fb          	and	a,#251
 650  00f7 e702          	ld	(2,x),a
 651                     ; 276   pKeyStruct->Setting.b.CHANGED = 1;
 653  00f9 be00          	ldw	x,_pKeyStruct
 654  00fb e602          	ld	a,(2,x)
 655  00fd aa08          	or	a,#8
 656  00ff e702          	ld	(2,x),a
 657                     ; 277   pKeyStruct->Setting.b.LOCKED = 0;
 659  0101 be00          	ldw	x,_pKeyStruct
 660  0103 e602          	ld	a,(2,x)
 661  0105 a47f          	and	a,#127
 662  0107 e702          	ld	(2,x),a
 663                     ; 278   pKeyStruct->Setting.b.ERROR = 0;
 665  0109 be00          	ldw	x,_pKeyStruct
 666  010b e602          	ld	a,(2,x)
 667  010d a4df          	and	a,#223
 668  010f e702          	ld	(2,x),a
 669                     ; 279 }
 672  0111 81            	ret
 764                     ; 295 void TSL_ECS(void)
 764                     ; 296 {
 765                     	switch	.text
 766  0112               _TSL_ECS:
 768  0112 520b          	subw	sp,#11
 769       0000000b      OFST:	set	11
 772                     ; 302   disableInterrupts();
 775  0114 9b            sim
 777                     ; 303   Local_TickECS10ms = TSL_TickCount_ECS_10ms;
 780  0115 450000        	mov	_Local_TickECS10ms,_TSL_TickCount_ECS_10ms
 781                     ; 304   TSL_TickCount_ECS_10ms = 0;
 783  0118 3f00          	clr	_TSL_TickCount_ECS_10ms
 784                     ; 305   enableInterrupts();
 787  011a 9a            rim
 791  011b ac580358      	jpf	L522
 792  011f               L322:
 793                     ; 309     ECSTimeStepCounter--;
 795  011f 3a00          	dec	_ECSTimeStepCounter
 796                     ; 310     ECSTempoPrescaler--;
 798  0121 3a00          	dec	_ECSTempoPrescaler
 799                     ; 311     if (!ECSTempoPrescaler)
 801  0123 3d00          	tnz	_ECSTempoPrescaler
 802  0125 260a          	jrne	L132
 803                     ; 313       ECSTempoPrescaler = 10;
 805  0127 350a0000      	mov	_ECSTempoPrescaler,#10
 806                     ; 314       if (ECSTempoCounter)
 808  012b 3d00          	tnz	_ECSTempoCounter
 809  012d 2702          	jreq	L132
 810                     ; 315         ECSTempoCounter--;
 812  012f 3a00          	dec	_ECSTempoCounter
 813  0131               L132:
 814                     ; 318     K_Filter = ECS_K_Slow;   // Default case !
 816  0131 b600          	ld	a,_ECS_K_Slow
 817  0133 6b05          	ld	(OFST-6,sp),a
 818                     ; 319     ECS_Fast_Enable = 1;
 820  0135 a601          	ld	a,#1
 821  0137 6b07          	ld	(OFST-4,sp),a
 822                     ; 320     ECS_Fast_Direction = 0;
 824  0139 0f06          	clr	(OFST-5,sp)
 825                     ; 322     for (KeyIndex = 0; KeyIndex < NUMBER_OF_SINGLE_CHANNEL_KEYS; KeyIndex++)
 827  013b 3f00          	clr	_KeyIndex
 828  013d               L532:
 829                     ; 324       TSL_SetStructPointer();
 831  013d cd0000        	call	_TSL_SetStructPointer
 833                     ; 326       if ((pKeyStruct->State.whole == PRE_DETECTED_STATE) || (pKeyStruct->State.whole == DETECTED_STATE) || (pKeyStruct->State.whole == POST_DETECTED_STATE))
 835  0140 92c600        	ld	a,[_pKeyStruct.w]
 836  0143 a114          	cp	a,#20
 837  0145 270e          	jreq	L542
 839  0147 92c600        	ld	a,[_pKeyStruct.w]
 840  014a a104          	cp	a,#4
 841  014c 2707          	jreq	L542
 843  014e 92c600        	ld	a,[_pKeyStruct.w]
 844  0151 a124          	cp	a,#36
 845  0153 261f          	jrne	L342
 846  0155               L542:
 847                     ; 328         ECSTempoCounter = ECSTemporization;    // Restart temporization counter ...
 849  0155 450000        	mov	_ECSTempoCounter,_ECSTemporization
 850                     ; 329         break;           // Out from the for loop
 851  0158               L142:
 852                     ; 357     for (KeyIndex = 0; KeyIndex < NUMBER_OF_MULTI_CHANNEL_KEYS; KeyIndex++)
 854  0158 3f00          	clr	_KeyIndex
 855  015a               L372:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线观看一区二区| 成人av在线影院| 中文字幕五月欧美| 欧美日韩美少妇| 国产精品一品二品| 亚洲大片精品永久免费| 欧美国产乱子伦| 91精品久久久久久久久99蜜臂| 成人av电影免费观看| 日本在线不卡视频| 一区二区三区在线视频播放| 久久先锋影音av| 这里只有精品视频在线观看| 91蜜桃在线免费视频| 国产一区二区毛片| 免费观看91视频大全| 亚洲高清不卡在线观看| 亚洲欧洲国产日韩| 久久精品一区四区| 欧美一区二区三区精品| 在线观看欧美黄色| 国产精品18久久久久久久久| 成人一区二区三区| 丝袜美腿亚洲一区| 国产在线看一区| 久久久国产精品麻豆| 欧美日韩国产经典色站一区二区三区 | 蜜臀99久久精品久久久久久软件| 亚洲女人的天堂| 国产精品第一页第二页第三页| 久久久精品tv| 久久九九久久九九| 精品日韩一区二区三区| 日韩欧美一级二级| 日韩一区二区三区四区| 7878成人国产在线观看| 在线播放中文一区| 欧美三级在线播放| 欧美三级中文字幕在线观看| 欧美性生活久久| 欧美揉bbbbb揉bbbbb| 在线观看av一区二区| 欧美在线一区二区| 精品视频免费在线| 欧美日韩国产色站一区二区三区| 欧美三级资源在线| 91精品国产乱码久久蜜臀| 欧美日本精品一区二区三区| 欧美男男青年gay1069videost| 欧美美女激情18p| 欧美一区二区三区精品| 日韩三级视频在线看| 久久婷婷国产综合国色天香| 国产亚洲一区二区在线观看| 国产日韩精品一区| 亚洲欧洲国产专区| 亚洲一区二区高清| 天天综合色天天综合| 青青青伊人色综合久久| 理论电影国产精品| 国产高清精品网站| 色悠悠久久综合| 欧美在线视频不卡| 日韩亚洲欧美综合| 中文字幕av免费专区久久| 亚洲图片另类小说| 日韩影院精彩在线| 国产一区二区三区免费播放 | 91久久免费观看| 欧美精品在线观看播放| 精品国产91乱码一区二区三区| 国产精品嫩草99a| 成人国产精品免费观看视频| 精品一区二区三区免费观看| 国产麻豆精品在线观看| 国产黑丝在线一区二区三区| 色婷婷综合久久久| 91精品国产综合久久香蕉的特点| 久久久国际精品| 亚洲国产精品一区二区久久恐怖片 | 成人av网站在线| 欧美日韩国产免费一区二区| 精品国产乱码久久久久久久| 亚洲视频电影在线| 蜜桃精品在线观看| 97久久精品人人做人人爽| 91精品国产手机| |精品福利一区二区三区| 日韩黄色免费网站| 91视频观看视频| 欧美成人女星排名| 亚洲精品国产一区二区三区四区在线 | 成人av片在线观看| 91精品国产一区二区三区蜜臀 | 337p日本欧洲亚洲大胆色噜噜| 亚洲女爱视频在线| 激情五月婷婷综合| 欧美日韩综合在线免费观看| 国产香蕉久久精品综合网| 亚洲第一成年网| 97精品国产露脸对白| 日韩精品一区二区在线| 亚洲精品日韩专区silk| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产精品一二一区| 在线播放视频一区| 亚洲精品少妇30p| 不卡的电影网站| 精品国产乱码久久久久久久久| 亚洲成人7777| 日本丶国产丶欧美色综合| 国产欧美一区二区三区鸳鸯浴| 美女视频网站黄色亚洲| 日本久久电影网| 亚洲视频在线一区| 久久午夜电影网| 国产精品高潮呻吟久久| 狠狠色丁香婷婷综合| 欧美日韩精品一区二区三区蜜桃| 亚洲欧美日韩人成在线播放| 成人性生交大片免费看中文 | 天天操天天色综合| av一本久道久久综合久久鬼色| 国产亚洲综合性久久久影院| 蜜桃av一区二区三区| 欧美精品日韩一本| 天天亚洲美女在线视频| 欧美影视一区在线| 夜夜嗨av一区二区三区四季av| 99精品久久99久久久久| 国产午夜精品一区二区三区视频 | 欧美不卡123| 日本女人一区二区三区| 欧美男女性生活在线直播观看| 日韩毛片一二三区| 99久久精品情趣| 亚洲精品视频在线看| av电影天堂一区二区在线观看| 中文一区二区完整视频在线观看| 国产成人精品一区二| 久久久精品2019中文字幕之3| 国产乱码字幕精品高清av| 国产日产欧美精品一区二区三区| 国产乱子伦视频一区二区三区| 久久婷婷一区二区三区| 粉嫩av一区二区三区| 亚洲人成精品久久久久久| 日本韩国欧美一区| 亚洲一区二区在线观看视频| 在线不卡欧美精品一区二区三区| 日韩黄色片在线观看| 日韩女同互慰一区二区| 国产麻豆91精品| 成人欧美一区二区三区小说| 色狠狠一区二区| 日韩影视精彩在线| 久久久久亚洲蜜桃| 成人h版在线观看| 亚洲一区二区三区四区在线 | 色综合 综合色| 五月激情六月综合| 日韩女优毛片在线| 国产黄色精品网站| 亚洲精品网站在线观看| 欧美日韩成人在线一区| 精品一区二区三区在线观看国产| 国产成人av在线影院| 欧美一区二区观看视频| 国产一区二区主播在线| 亚洲人成小说网站色在线| 欧美日韩国产综合一区二区三区| 经典一区二区三区| 亚洲美女在线一区| 欧美哺乳videos| 91丝袜国产在线播放| 日本欧美一区二区| 欧美精彩视频一区二区三区| 欧美日韩一区二区三区视频| 国产一区二区电影| 亚洲成人在线免费| 欧美韩国一区二区| 91超碰这里只有精品国产| 高清在线不卡av| 日韩成人精品在线观看| 国产精品乱子久久久久| 91精品国产91综合久久蜜臀| 97se亚洲国产综合自在线| 久久成人18免费观看| 夜夜嗨av一区二区三区中文字幕| 久久久www成人免费毛片麻豆| 欧美日韩不卡一区| 成人丝袜高跟foot| 久久黄色级2电影| 亚洲一区二区三区视频在线播放 | 亚洲少妇30p| 日韩精品一区二区三区四区| 一本久道中文字幕精品亚洲嫩| 日本色综合中文字幕| 成人免费在线观看入口| 91精品国产综合久久久久久久 |