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

📄 vfd.lis

📁 sunplus spca514 cdmp3 源码
💻 LIS
📖 第 1 页 / 共 5 页
字号:
                         .module vfd.c
                         .area lit(rom, con, rel)
 0000                 _num_xlate:
 0000 2331              .word 12579
 0002 0201              .word 258
 0004 C330              .word 12483
 0006 C321              .word 8643
 0008 E201              .word 482
 000A E121              .word 8673
 000C E131              .word 12769
 000E 0301              .word 259
 0010 E331              .word 12771
 0012 E321              .word 8675
 0014                   .dbfile D:\avrmcu\AT980\AT980\vfd.c
 0014                   .dbsym s num_xlate _num_xlate A[20:10]i
 0014                 _num_xlate_left:
 0014 803B              .word 15232
 0016 0009              .word 2304
 0018 8035              .word 13696
 001A 802D              .word 11648
 001C 000F              .word 3840
 001E 802E              .word 11904
 0020 803E              .word 16000
 0022 8009              .word 2432
 0024 803F              .word 16256
 0026 802F              .word 12160
 0028                   .dbsym s num_xlate_left _num_xlate_left A[20:10]i
 0028                 _num_xlate_right:
 0028 7700              .word 119
 002A 1200              .word 18
 002C 6B00              .word 107
 002E 5B00              .word 91
 0030 1E00              .word 30
 0032 5D00              .word 93
 0034 7D00              .word 125
 0036 1300              .word 19
 0038 7F00              .word 127
 003A 5F00              .word 95
 003C                   .dbsym s num_xlate_right _num_xlate_right A[20:10]i
 003C                 _vfd_alpha:
 003C E311              .word 4579
 003E E031              .word 12768
 0040 2130              .word 12321
 0042 C231              .word 12738
 0044 E130              .word 12513
 0046 E110              .word 4321
 0048 A131              .word 12705
 004A E211              .word 4578
 004C 0804              .word 1032
 004E 0000              .word 0
 0050 1806              .word 1560
 0052 2030              .word 12320
 0054 3611              .word 4406
 0056 2613              .word 4902
 0058 2331              .word 12579
 005A E310              .word 4323
 005C 0000              .word 0
 005E E312              .word 4835
 0060 E121              .word 8673
 0062 0904              .word 1033
 0064 2231              .word 12578
 0066 3018              .word 6192
 0068 221B              .word 6946
 006A 140A              .word 2580
 006C 1404              .word 1044
 006E 1128              .word 10257
 0070                   .dbsym s vfd_alpha _vfd_alpha A[52:26]i
                         .area text(rom, con, rel)
 0000                   .dbfile D:\avrmcu\AT980\AT980\vfd.c
 0000                   .dbfunc s num_trans _num_trans fI
                       ;            num -> R16
                         .even
 0000                 _num_trans::
 0000                   .dbline -1
 0000                   .dbline 246
                       ; #include "..\main.h"
                       ; #include "..\io.h"
                       ; #include <iom163.h>
                       ; #ifdef SGJM_RDS
                       ; #include "..\bu1923\bu1923.h"
                       ; #endif
                       ; #define VFD_BUFFER_SIZE         12
                       ; unsigned int g_vfd_grid_buffer[VFD_BUFFER_SIZE];
                       ; #ifdef MORE_THAN_16SEGMENT
                       ; unsigned char g_vfd_grid_ext_buffer[VFD_BUFFER_SIZE];
                       ; #endif
                       ; extern unsigned char display_type,work_mode,led_val;
                       ; extern unsigned int key_buff;
                       ; unsigned int g_ui_timing_cnt;
                       ; 
                       ; #define VFD_LED_MIN     0x0001
                       ; #define VFD_LED_M       0x0002
                       ; #define VFD_LED_SEC     0x0004
                       ; #define VFD_LED_CH      0x0008
                       ; #define VFD_LED_DB      0x0010
                       ; #define VFD_LED_AUTO    0x0020
                       ; #define VFD_LED_CINEMA  0x4000  //cinema dsp
                       ; #define VFD_LED_SLEEP   0x8000
                       ; 
                       ; #define VFD_LED_PLUS    0x4000
                       ; #define VFD_LED_SUB     0x8000
                       ; #define VFD_LED_KHZ     0x4000
                       ; #define VFD_LED_MHZ     0x8000
                       ; #define VFD_LED_COL     0x4000
                       ; #define VFD_LED_DP      0x8000
                       ; #define VFD_LED_MEMORY  0x4000
                       ; #define VFD_LED_FM      0x4000
                       ; #define VFD_LED_AM      0x8000
                       ; #define VFD_LED_MUTE    0x4000
                       ; #define VFD_LED_STEREO  0x4000
                       ; #define VFD_LED_TAPE2   0x4000
                       ; #define VFD_LED_SURROUND    0x0001
                       ; #define VFD_LED_EQ      0x0002
                       ; #define VFD_LED_MIC     0x0004
                       ; #define VFD_LED_PRO     0x0008
                       ; #define VFD_LED_DOLBY   0x0010
                       ; #define VFD_LED_AC3     0x0020
                       ; #define VFD_LED_SRS     0x0040
                       ; #define VFD_LED_KEYCON  0x0080
                       ; 
                       ; #define VA              0x0001
                       ; #define VB              0x0002
                       ; #define VH              0x0004
                       ; #define VJ              0x0008
                       ; #define VK              0x0010
                       ; #define VF              0x0020
                       ; #define VG              0x0040
                       ; #define VM              0x0080
                       ; #define VC              0x0100
                       ; #define VN              0x0200
                       ; #define VP              0x0400
                       ; #define VR              0x0800
                       ; #define VE              0x1000
                       ; #define VD              0x2000
                       ; 
                       ; #define VFD_digit_zero  VA|VB|VC|VD|VE|VF
                       ; #define VFD_digit_one   VB|VC
                       ; #define VFD_digit_two   VA|VB|VG|VM|VE|VD
                       ; #define VFD_digit_three VA|VB|VC|VD|VG|VM
                       ; #define VFD_digit_four  VF|VG|VB|VC|VM
                       ; #define VFD_digit_five  VA|VF|VG|VC|VD|VM
                       ; #define VFD_digit_six   VA|VF|VG|VC|VD|VE|VM
                       ; #define VFD_digit_seven VA|VB|VC
                       ; #define VFD_digit_eight VA|VB|VC|VD|VE|VF|VG|VM
                       ; #define VFD_digit_nine  VA|VB|VC|VD|VF|VG|VM
                       ; 
                       ; 
                       ; /* VFD Alphabetic Characters */
                       ; 
                       ; #define VFD_alpha_A VA|VB|VC|VF|VE|VG|VM
                       ; #define VFD_alpha_B VF|VG|VE|VD|VC|VM
                       ; #define VFD_alpha_C VA|VF|VE|VD
                       ; #define VFD_alpha_D VB|VG|VE|VD|VC|VM
                       ; #define VFD_alpha_E VA|VF|VE|VG|VD|VM
                       ; #define VFD_alpha_F VA|VF|VG|VE|VM
                       ; #define VFD_alpha_G VA|VF|VE|VD|VC|VM
                       ; #define VFD_alpha_H VF|VE|VB|VC|VG|VM
                       ; #define VFD_alpha_I VJ|VP
                       ; #define VFD_alpha_J 0x0000
                       ; #define VFD_alpha_K VJ|VP|VK|VN
                       ; #define VFD_alpha_L VF|VE|VD
                       ; #define VFD_alpha_M VB|VC|VE|VF|VH|VK
                       ; #define VFD_alpha_N VF|VE|VH|VN|VB|VC
                       ; #define VFD_alpha_O VA|VB|VC|VD|VE|VF
                       ; #define VFD_alpha_P VA|VB|VG|VF|VE|VM
                       ; #define VFD_alpha_R VA|VB|VG|VF|VE|VM|VN
                       ; #define VFD_alpha_S VA|VF|VG|VC|VD|VM
                       ; #define VFD_alpha_T VA|VJ|VP
                       ; #define VFD_alpha_U VF|VE|VD|VC|VB
                       ; #define VFD_alpha_V VF|VE|VR|VK
                       ; #define VFD_alpha_W VF|VE|VR|VN|VC|VB
                       ; #define VFD_alpha_X VH|VK|VR|VN
                       ; #define VFD_alpha_Y VH|VK|VP
                       ; #define VFD_alpha_Z VA|VK|VR|VD
                       ; 
                       ; #define VFD_alpha_aster VH|VJ|VK|VG|VM|VR|VP|VN
                       ; #define VFD_alpha_DASH VD
                       ; #define VFD_alpha_MINUS VG|VM
                       ; #define VFD_alpha_PLUS VJ|VP|VG|VM
                       ; 
                       ; 
                       ; #define LA 0x0080
                       ; #define LB 0x0100
                       ; #define LC 0x0800
                       ; #define LD 0x2000
                       ; #define LE 0x1000
                       ; #define LF 0x0200
                       ; #define LG 0x0400
                       ; 
                       ; #define RA 0x0001
                       ; #define RB 0x0002
                       ; #define RC 0x0010
                       ; #define RD 0x0040
                       ; #define RE 0x0020
                       ; #define RF 0x0004
                       ; #define RG 0x0008
                       ; 
                       ; #define VFD_digit_right_zero    RA|RB|RC|RD|RE|RF
                       ; #define VFD_digit_right_one RB|RC
                       ; #define VFD_digit_right_two RA|RB|RG|RE|RD
                       ; #define VFD_digit_right_three   RA|RB|RC|RD|RG
                       ; #define VFD_digit_right_four    RF|RG|RB|RC
                       ; #define VFD_digit_right_five    RA|RF|RG|RC|RD
                       ; #define VFD_digit_right_six RA|RF|RG|RC|RD|RE
                       ; #define VFD_digit_right_seven   RA|RB|RC
                       ; #define VFD_digit_right_eight   RA|RB|RC|RD|RE|RF|RG
                       ; #define VFD_digit_right_nine    RA|RB|RC|RD|RF|RG
                       ; 
                       ; #define VFD_digit_left_zero LA|LB|LC|LD|LE|LF
                       ; #define VFD_digit_left_one  LB|LC
                       ; #define VFD_digit_left_two  LA|LB|LG|LE|LD
                       ; #define VFD_digit_left_three    LA|LB|LC|LD|LG
                       ; #define VFD_digit_left_four LF|LG|LB|LC
                       ; #define VFD_digit_left_five LA|LF|LG|LC|LD
                       ; #define VFD_digit_left_six  LA|LF|LG|LC|LD|LE
                       ; #define VFD_digit_left_seven    LA|LB|LC
                       ; #define VFD_digit_left_eight    LA|LB|LC|LD|LE|LF|LG
                       ; #define VFD_digit_left_nine LA|LB|LC|LD|LF|LG
                       ; 
                       ; 
                       ; #define MAX_LETTER  8
                       ; 
                       ; #define G1  0x00
                       ; #define G2  0x01
                       ; #define G3  0x02
                       ; #define G4  0x03
                       ; #define G5  0x04
                       ; #define G6  0x05
                       ; #define G7  0x06
                       ; #define G8  0x07
                       ; #define G9  0x08
                       ; #define G10 0x09
                       ; #define G11 0x0a
                       ; 
                       ; const static unsigned int num_xlate[10] = 
                       ; {
                       ;     VFD_digit_zero,
                       ;     VFD_digit_one,      
                       ;     VFD_digit_two,      
                       ;     VFD_digit_three,
                       ;     VFD_digit_four, 
                       ;     VFD_digit_five, 
                       ;     VFD_digit_six,      
                       ;     VFD_digit_seven,
                       ;     VFD_digit_eight,    
                       ;     VFD_digit_nine
                       ; };
                       ; const static unsigned int num_xlate_left[10] = {
                       ;     VFD_digit_left_zero,
                       ;     VFD_digit_left_one,     
                       ;     VFD_digit_left_two,     
                       ;     VFD_digit_left_three,
                       ;     VFD_digit_left_four,    
                       ;     VFD_digit_left_five,    
                       ;     VFD_digit_left_six,     
                       ;     VFD_digit_left_seven,
                       ;     VFD_digit_left_eight,   
                       ;     VFD_digit_left_nine
                       ; };
                       ; 
                       ; const static unsigned num_xlate_right[10] = {
                       ;     VFD_digit_right_zero,
                       ;     VFD_digit_right_one,        
                       ;     VFD_digit_right_two,        
                       ;     VFD_digit_right_three,
                       ;     VFD_digit_right_four,   
                       ;     VFD_digit_right_five,   
                       ;     VFD_digit_right_six,        
                       ;     VFD_digit_right_seven,
                       ;     VFD_digit_right_eight,  
                       ;     VFD_digit_right_nine
                       ; };  
                       ; 
                       ; 
                       ; 
                       ; const static unsigned int vfd_alpha[] = {
                       ; VFD_alpha_A,
                       ; VFD_alpha_B,
                       ; VFD_alpha_C,    
                       ; VFD_alpha_D,    
                       ; VFD_alpha_E,    
                       ; VFD_alpha_F,    
                       ; VFD_alpha_G,    
                       ; VFD_alpha_H,    
                       ; VFD_alpha_I,    
                       ; VFD_alpha_J,
                       ; VFD_alpha_K,
                       ; VFD_alpha_L,
                       ; VFD_alpha_M,
                       ; VFD_alpha_N,    
                       ; VFD_alpha_O,    
                       ; VFD_alpha_P,    
                       ; 0x0000,
                       ; VFD_alpha_R,    
                       ; VFD_alpha_S,    
                       ; VFD_alpha_T,    
                       ; VFD_alpha_U,    

⌨️ 快捷键说明

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