⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sd16.lst

📁 FE42X单相防窃电电表DEMO(编译器 AQ430 AQ430 V2.0.6.5)
💻 LST
📖 第 1 页 / 共 5 页
字号:
                   294 ;     DISPLAY_STAGE_LAST
                   295 ; };
                   296 ; struct  rtc_s
                   297 ; {
                   298 ;   uint8 second;
                   299 ;   uint8 minute;
                   300 ;   uint8 hour;
                   301 ;   uint8 day;
                   302 ;   uint8 week;
                   303 ;   uint8 month;
                   304 ;   uint8 year;
                   305 ;   uint8 sumcheck;
                   306 ; };
                   307 ; extern struct rtc_s rtc;  
                   308 ; extern uint32 ul_actensper1;
                   309 ; extern uint32 ul_actensper2;
                   310 ; extern void display (unsigned int value);
                   311 ; extern void update_display(void);
                   312 ; extern void LCDudec16(unsigned int value, int pos, int digits, int after);
                   313 ; extern void LCDudec32(unsigned long value, int pos, int digits, int after);
                   314 ; extern void LCDicon(int id, int on);
                   315 ; extern void LCDmodify_char(unsigned char ch, int pos, int on);
                   316 ; extern void LCDchar(unsigned char ch, int pos);
                   317 ; extern void clr_lcd_display(void);
                   318 ; extern void bin2bcd32(unsigned char bcd[5], unsigned long bin);
                   319 ; extern void bin2bcd16(unsigned char bcd[3], unsigned int bin);
                   320 ; extern unsigned long scale_long(unsigned long l, float f);
                   321 ; extern unsigned int scale_int(unsigned int i, float f);
                   322 ; extern void set_rtc_sumcheck(void);
                   323 ; extern int check_rtc_sumcheck(void);
                   324 ; extern int bump_rtc(void);
                   325 ; extern int weekday(void);
                   326 ; extern void rtc_bumper(void);
                   327 ; extern void correct_rtc(void);
                   328 ; extern void init_analog_front_end_ESP(void);
                   329 ; extern void init_esp_parameter(void);
                   330 ; extern void set_parameter(unsigned int param, unsigned int data);
                   331 ; extern void start_measurement(void);
                   332 ; extern char store_flash_var(char *ptr,char *from, int len);
                   333 ; extern void EnergyReadyIntMapping(void);
                   334 ; extern void ActensperReadyIntMapping(void);
                   335 ; extern void BasicTimerIntMapping(void);
                   336 ; void init_analog_front_end_SD16(void);
                   337 ; extern void tpd_gen(void);
                   338 ; extern int16_t dc_filter(register int32_t *p, register int16_t x);
                   339 ; extern int32_t imul16_up(register int16_t x, register int16_t y);
                   340 ; extern void accum48(register int16_t x[3], register int32_t y);
                   341 ; extern void log_parameters(void);
                   342 ; extern void transfer48(register int16_t y[3], register int16_t x[3]);
                   343 ; extern int32_t div48(register int16_t x[3], register int16_t y);
                   344 ; extern int32_t isqrt32(register int32_t h);
                   345 ; extern int32_t div_sh48(register int16_t x[3], int sh, register int16_t y);
                   346 ; extern int32_t current(void);
                   347 ; extern int32_t voltage(void);
                   348 ; extern void CheckExternVoltage(void);
                   349 ; extern void EnterSD16Measure (void);
                   350 ; extern void ExitSD16Measure (void);
                   351 ; extern void EnterESPMeasure (void);
                   352 ; extern void ExitESPMeasure (void);
                   353 ; extern void SwitchToSD16Measure(void);
                   354 ; extern void SwitchToESPMeasure(void);
                   355 ; extern void OnlyRTCMode(void);
                   356 ; void ClrDispVary(unsigned char OpMode);
                   357 ; void init_analog_front_end_SD16(void)
                   358 DBG3:
0028 00000000      359     .long 0x0
002c 00000028      360     .long DBG10
0030 00000000      361     .long _init_analog_front_end_SD16
0034 00000040      362     .long 0x40
0038 01020001      363     .long 0x1020001
003c 00000050      364     .long DBG1
0040 00000044      365     .long DBG7-DBG8
0044 00000000      366     .long DBG9
0048 000000f0      367     .long DBG6
004c 00000000      368     .long 0x0
                   369     .pseg SD16_code
                   370 DBG8:
                   371     .dbgseg dbg_syms
                   372 DBG1:
0050 0066622e      373     .long 0x66622e
0054 00000000      374     .long 0x0
0058 00000000      375     .long DBG8
005c 00000000      376     .long 0x0
0060 01650001      377     .long 0x1650001
0064 00000000      378     .long 0x0
0068 00000020      379     .long 0x20
006c 00000000      380     .long 0x0
0070 00000118      381     .long DBG11
0074 00000000      382     .long 0x0
                   383     .dbgseg dbg_line
0000               384     .align 0x2
                   385 DBG9:
0000 00000028      386     .long DBG3
0004 00000000      387     .long 0x0
0008 00000000      388     .long _init_analog_front_end_SD16
000c 00000001      389     .long 0x1
0010 00000000      390     .long DBG13
0014 00000002      391     .long 0x2
0018 00000000      392     .long DBG14
001c 00000008      393     .long 0x8
0020 00000004      394     .long DBG15
0024 00000014      395     .long 0x14
0028 0000000a      396     .long DBG16
002c 00000027      397     .long 0x27
0030 0000000e      398     .long DBG17
0034 00000028      399     .long 0x28
0038 00000016      400     .long DBG18
003c 00000029      401     .long 0x29
0040 0000001a      402     .long DBG19
0044 0000003b      403     .long 0x3b
0048 00000020      404     .long DBG20
004c 0000003c      405     .long 0x3c
0050 00000024      406     .long DBG21
0054 0000003d      407     .long 0x3d
0058 00000028      408     .long DBG22
005c 00000040      409     .long 0x40
0060 0000002c      410     .long DBG23
0064 00000041      411     .long 0x41
0068 00000032      412     .long DBG24
006c 00000042      413     .long 0x42
0070 00000036      414     .long DBG25
0074 00000044      415     .long 0x44
0078 0000003c      416     .long DBG26
007c 00000045      417     .long 0x45
0080 00000042      418     .long DBG27
0084 0000004c      419     .long 0x4c
                   420     .pseg SD16_code
                   421     .global _init_analog_front_end_SD16
                   422 _init_analog_front_end_SD16:
                   423 ; ENTRY
                   424 DBG12:
                   425 ; {
                   426 DBG13:
                   427 ;     ESPCTL &= ~ (0x0001) ;
                   428 DBG14:
0000 92c35001      429     bic #0x1,&0x150
                   430 DBG15:
                   431 ;     SD16CTL = 0x800
                   432 ;           | ( (0x0010) )    
                   433 ;             | ( (0x0080) )     
                   434 ;             | (0x0004)    
0004 b24094090001  435     mov #0x994,&0x100
                   436 DBG16:
                   437 ;             | (0x0100) ;
                   438 ;     SD16INCTL0 = (0x0000)  | (0x0000) ;     
000a c243b000      439     mov.b   #0x0,&0xb0
                   440 DBG17:
                   441 ;     SD16CCTL0 = (0x0000)  | (0x0010)  | (0x0001) ;                 
000e 3c401100      442     mov #0x11,r12
0012 824c0201      443     mov r12,&0x102
                   444 DBG18:
                   445 ;     SD16PRE0 = 0;
0016 c243b800      446     mov.b   #0x0,&0xb8
                   447 DBG19:
                   448 ;     SD16INCTL1 = (0x0000)  | (0x0020) ;     
001a f2402000b100  449     mov.b   #0x20,&0xb1
                   450 DBG20:
                   451 ;     SD16CCTL1 = (0x0000)  | (0x0010)  | (0x0001) ;                 
0020 824c0401      452     mov r12,&0x104
                   453 DBG21:
                   454 ;     SD16PRE1 = 0;
0024 c243b900      455     mov.b   #0x0,&0xb9
                   456 DBG22:
                   457 ;     SD16INCTL2 = (0x0000)  | (0x0000) ;       
0028 c243b200      458     mov.b   #0x0,&0xb2
                   459 DBG23:
                   460 ;     SD16CCTL2 = (0x0000)  | (0x0010)  | (0x0002)  | (0x0008) ;         
002c b2401a000601  461     mov #0x1a,&0x106
                   462 DBG24:
                   463 ;     SD16PRE2 = 0;
0032 c243ba00      464     mov.b   #0x0,&0xba
                   465 DBG25:
                   466 ;     SD16CONF0 = 0xC0 ;                 
0036 f240c000b700  467     mov.b   #0xc0,&0xb7
                   468 DBG26:
                   469 ;     SD16CONF1 = 0x40 ;
003c f2404000bf00  470     mov.b   #0x40,&0xbf
                   471 DBG28:
                   472 DBG27:
                   473 ; EXIT
0042 3041          474     ret
                   475     .dbgseg dbg_syms
0078 00000000      476     .long 0x0
007c 000000fc      477     .long DBG29
0080 00000000      478     .long 0x0
0084 00000000      479     .long 0x0
0088 00010002      480     .long 0x10002
008c 00000000      481     .long 0x0
0090 00000350      482     .long DBG30
0094 00000002      483     .long 0x2
0098 00000000      484     .long 0x0
009c 00010002      485     .long 0x10002
00a0 504e5f5f      486     .long 0x504e5f5f
00a4 534d5241      487     .long 0x534d5241
00a8 00000000      488     .long 0x0
00ac 00000000      489     .long 0x0
00b0 00010002      490     .long 0x10002
00b4 0066652e      491     .long 0x66652e
00b8 00000000      492     .long 0x0
00bc 00000042      493     .long DBG28
00c0 00000000      494     .long 0x0
00c4 01650001      495     .long 0x1650001
00c8 00000000      496     .long 0x0
00cc 0000006b      497     .long 0x6b
00d0 00000000      498     .long 0x0
00d4 00000000      499     .long 0x0
00d8 00000000      500     .long 0x0
                   501     .pseg SD16_code
                   502 DBG7:
                   503     .dbgseg dbg_syms
00dc 00000000      504     .long 0x0
00e0 00000028      505     .long DBG10
00e4 00000044      506     .long DBG7
00e8 00000000      507     .long 0x0
00ec 00ff0001      508     .long 0xff0001
                   509 ; }
                   510 ; uint16_t rndnum;
                   511 ; uint16_t tpdnum;
                   512 ; void tpd_gen(void)
                   513 DBG6:
00f0 5f647074      514     .long 0x5f647074
00f4 006e6567      515     .long 0x6e6567
00f8 00000044      516     .long _tpd_gen
00fc 00000040      517     .long 0x40
0100 01020001      518     .long 0x1020001
0104 00000118      519     .long DBG11
0108 00000040      520     .long DBG32-DBG33
010c 00000088      521     .long DBG34
0110 000001e0      522     .long DBG31
0114 00000000      523     .long 0x0
                   524     .pseg SD16_code
                   525 DBG33:
                   526     .dbgseg dbg_syms
                   527 DBG11:
0118 0066622e      528     .long 0x66622e
011c 00000000      529     .long 0x0
0120 00000044      530     .long DBG33
0124 00000000      531     .long 0x0
0128 01650001      532     .long 0x1650001
012c 00000000      533     .long 0x0
0130 00000074      534     .long 0x74
0134 00000000      535     .long 0x0
0138 00000208      536     .long DBG35
013c 00000000      537     .long 0x0
                   538     .dbgseg dbg_line
                   539 DBG34:
0088 000000f0      540     .long DBG6
008c 00000000      541     .long 0x0
0090 00000044      542     .long _tpd_gen
0094 00000001      543     .long 0x1
0098 00000044      544     .long DBG37
009c 00000002      545     .long 0x2
00a0 00000044      546     .long DBG38
00a4 00000005      547     .long 0x5
00a8 00000048      548     .long DBG39
00ac 00000006      549     .long 0x6
00b0 0000004a      550     .long DBG40
00b4 00000008      551     .long 0x8
00b8 0000004c      552     .long DBG41
00bc 00000009      553     .long 0x9
00c0 0000004e      554     .long DBG42
00c4 0000000a      555     .long 0xa
00c8 00000050      556     .long DBG43
00cc 0000000b      557     .long 0xb
00d0 00000052      558     .long DBG44
00d4 0000000c      559     .long 0xc
00d8 00000054      560     .long DBG45
00dc 0000000d      561     .long 0xd
00e0 00000056      562     .long DBG46
00e4 0000000e      563     .long 0xe
00e8 00000058      564     .long DBG47
00ec 0000000f      565     .long 0xf
00f0 0000005a      566     .long DBG48
00f4 00000010      567     .long 0x10
00f8 0000005c      568     .long DBG49
00fc 00000011      569     .long 0x11
0100 0000005e      570     .long DBG50
0104 00000012      571     .long 0x12
0108 00000060      572     .long DBG51
010c 00000013      573     .long 0x13
0110 00000062      574     .long DBG52
0114 00000014      575     .long 0x14
0118 00000064      576     .long DBG53
011c 00000015      577     .long 0x15
0120 00000066      578     .long DBG54
0124 00000016      579     .long 0x16
0128 00000068      580     .long DBG55
012c 00000017      581     .long 0x17
0130 0000006a      582     .long DBG56
0134 00000018      583     .long 0x18
0138 0000006c      584     .long DBG57
013c 0000001a      585     .long 0x1a
0140 00000074      586     .long DBG58
0144 0000001b      587     .long 0x1b
0148 0000007e      588     .long DBG59

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -