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

📄 console.sta

📁 Tire Pressure Monitoring System
💻 STA
字号:

ROM used: 17490 (55%)
          17490 (55%) including unused fragments

          4 Average locations per line
          9 Average locations per statement

RAM used: 650 (43%) at main() level
          779 (51%) worst case

Stack used: 10 worst case (out of 28 total available)

Lines Stmts  %   Files
----- ----- ---  -----
 3327  1798  95  D:\@Progects\TyreGuard\Work\console.c
  236     0   0  D:\@Progects\TyreGuard\Work\console.h
  291     0   0  D:\MICROC~1\THIRDP~1\CCSPICC\PICC\devices\18F252.h
  194    99   5  D:\@Progects\TyreGuard\Work\receiver.c
   49     0   0  D:\@Progects\TyreGuard\Work\receiver.h
----- -----
 4097  1897 Total

Page ROM  %  RAM   Vol Diff  Functions:
---- --- --- ---   --- ----  ----------
0     40   0   1             @delay_ms1
0     34   0   0             @const138
0     30   0   0             @const140
0     28   0   0             @const142
0     34   0   0             @const146
0      6   0   0    38  1.4  receiver_init
0     48   0   2   163  3.3  receiver_edge
0     18   0   0    90  2.5  receiver_dataInit
0    158   0   8   708 10.6  receiver_dataSave
0    254   1   2  2020  6.0  receiver_process
0     82   0   0             @const256
0    106   0   0             @const259
0    104   0  10   168  4.7  div
0    128   0  13             @DIV3232
0     92   0  14             @MUL3232
0     90   0   7   181  5.3  write_eeprom_array
0     68   0  11   185  5.3  read_eeprom_array
0     14   0   2    43  1.5  buzzer_ms
0    134   0   5   581  6.7  indication
0     62   0   8   124  4.3  set_video_bit
0     64   0   8   135  4.7  clr_video_bit
0     78   0   8   249  6.2  clr_place
0    180   1   8   474  6.1  set_video_digital
0     32   0   0             @const333
0     50   0   2   140  3.9  clr_wheels
0     32   0   0             @const337
0     50   0   2   140  3.9  clr_params
0     14   0   0    21  0.9  clr_settings
0     36   0   0             @const342
0     82   0   3   303  4.6  clr_indication
0     36   0   4   118  3.9  clr_indication_all
0     38   0   4   124  4.3  set_indication_all
0     34   0   0             @const353
0     56   0   2   182  1.8  indication_notused
0    296   1   3  1956  9.0  key_press
0     76   0   0   147  4.2  not_leap
0     70   0   5             @DIV1616
0     88   0   8   356  6.5  bcd8
0     44   0   3             @DIV88
0    162   0  12   358  6.3  bcd16
0     36   0   5             @MUL1616
0    300   1  22   421  7.3  bcd32
0    210   1  18   118  3.9  average
0     56   0   4             @DTOF
0    246   1  11             @MULFF
0     54   0   2             @ITOF
0    790   2  16             @ADDFF
0    396   1  14             @DIVFF
0      8   0   0    21  0.9  video_cur_wheel
0     72   0   1   457  4.0  video_wheel
0      8   0   0    21  0.9  video_cur_param
0     60   0   1   398  4.0  video_param
0     76   0   5   341  3.4  video_bcd8
0    126   0  11   520  6.7  video_bcd16_smart
0    192   1  17   921  6.8  video_bcd32_smart
0    482   1  11   922  4.4  video_float
0     68   0   5             @FTOSD
0     28   0   2    76  1.8  video_speed
0    226   1  17   598  4.0  video_time
0     80   0   6   176  2.5  video_way
0    274   1   1   921  4.8  video_menu_index
0    416   1   6  2062 10.6  ext_isr
0    682   2   4   917  9.0  timer0_isr
0    122   0  10             @FLT
0     60   0   4             @SFTOI
0    346   1   5   595  7.7  timer1_isr
0    458   1   5  3076 10.4  timer3_isr
0    298   1   7  1679  9.3  test_parameters
0   1548   4  32  3579 12.1  load_sequence
0    196   1   8    85  2.9  temperature_convert
0   2396   7  12 12940 15.5  MAIN
0    294   1   4  1508  9.3  menu
0     50   0   1   219  2.3  MainMenu
0     46   0   1   134  2.2  ParamWheelMenu
0    434   1  19  2455 13.8  ParamWheelWarning
0    230   1  13  1321 10.2  ParamWheelCurrentValue
0   1356   4  22  5189 14.5  ParamWheelSetting
0     44   0   1   134  2.2  RealTimeMenu
0     88   0   5   467  3.3  RealTimeInMinutes
0     88   0   5   467  3.3  RealTimeInSeconds
0     46   0   1   134  2.2  OdometerMenu
0     18   0   0    24  1.5  OdometerFromSet
0     18   0   0    24  1.5  OdometerFromReset
0     18   0   0    24  1.5  OdometerDay
0     18   0   0    24  1.5  OdometerFromStartEngine
0     46   0   1   134  2.2  SpeedometerMenu
0     14   0   0    27  1.2  SpeedometerCurrent
0     54   0   2    27  1.2  SpeedometerFromReset
0     54   0   2    27  1.2  SpeedometerDay
0     54   0   2    27  1.2  SpeedometerFromStartEngine
0     46   0   1   134  2.2  ActiveTimeMenu
0     18   0   0    24  1.5  ActiveTimeWorkFromSet
0     18   0   0    24  1.5  ActiveTimeWorkFromReset
0     18   0   0    24  1.5  ActiveTimeWorkDay
0     18   0   0    24  1.5  ActiveTimeWayFromSet
0     18   0   0    24  1.5  ActiveTimeWayFromReset
0     18   0   0    24  1.5  ActiveTimeWayDay
0      8   0   5    42  1.4  ActiveTimeSpeed100
0     48   0   1   134  2.2  BarometerMenu
0      8   0   5    42  1.4  BarometerInMM
0      8   0   5    42  1.4  BarometerInM
0     46   0   5   188  2.7  VoltmeterMenu
0    104   0   5   656  4.3  TachometerMenu
0     46   0   1   221  2.7  jumper
0    190   1  12   150  3.6  calc_pressure
0     42   0   4    35  1.7  calc_temperature
0    102   0   8    48  2.1  calc_voltage
0     34   0   0   212  3.1  set_danger_led_process
0     34   0   0   228  3.1  set_warning_led_process
0     44   0   0   292  3.2  clr_led_process

Program metrics:
    Functions               86
    Statements              1897
    Comments                845
    Volume (V)              96716
    Difficilty (D)          381.7
    Effort to implement (E) 36921055
    Time to implement (T)   569 hours, 46 minutes
    Est Delivered Bugs (B)  37
    Cyclomatic Complexity   327
    Maintainability (MI)    34

 Segment     Used  Free
-----------  ----  ----
00000-00002     4  0  
00004-00006     0  4  
00008-000C0   186  0  
000C2-020FE  8254  0  
02100-02166   104  0  
02168-07CBE  8942  14442  



THE FOLLOWING IS TEMPORARY FOR DIAGNOSTIC USE ONLY:

    n1    n2    N1    N2   v(G)
     0     1     0     0     0    @delay_ms1
     0     1     0     0     0    @const138
     0     1     0     0     0    @const140
     0     1     0     0     0    @const142
     0     1     0     0     0    @const146
     4     7     6     5     0    receiver_init
     7    18    18    17     1    receiver_edge
     6    11    13     9     1    receiver_dataInit
    22    52    64    50     4    receiver_dataSave
    18   151   172   101    20    receiver_process
     0     1     0     0     0    @const256
     0     1     0     0     0    @const259
    10    18    18    17     0    div
     0     1     0     0     0    @DIV3232
     0     1     0     0     0    @MUL3232
    10    17    20    18     1    write_eeprom_array
    10    17    21    18     1    read_eeprom_array
     4     8     6     6     0    buzzer_ms
    14    47    53    45     3    indication
    10    14    15    12     0    set_video_bit
    11    14    17    12     0    clr_video_bit
    13    21    29    20     2    clr_place
    13    37    49    35     3    set_video_digital
     0     1     0     0     0    @const333
     9    14    19    12     1    clr_wheels
     0     1     0     0     0    @const337
     9    14    19    12     1    clr_params
     3     5     4     3     0    clr_settings
     0     1     0     0     0    @const342
    10    25    36    23     2    clr_indication
     9    14    14    12     1    clr_indication_all
    10    14    15    12     1    set_indication_all
     0     1     0     0     0    @const353
     9    32    21    13     1    indication_notused
    18   111   168   111    18    key_press
     9    13    21    12     1    not_leap
     0     1     0     0     0    @DIV1616
    13    29    37    29     1    bcd8
     0     1     0     0     0    @DIV88
    13    30    37    29     1    bcd16
     0     1     0     0     0    @MUL1616
    15    34    42    33     2    bcd32
     9    14    14    12     0    average
     0     1     0     0     0    @DTOF
     0     1     0     0     0    @MULFF
     0     1     0     0     0    @ITOF
     0     1     0     0     0    @ADDFF
     0     1     0     0     0    @DIVFF
     3     5     4     3     0    video_cur_wheel
     9    29    61    26     6    video_wheel
     3     5     4     3     0    video_cur_param
     9    27    53    24     4    video_param
     7    29    38    28     0    video_bcd8
    14    41    51    39     3    video_bcd16_smart
    14    63    86    61     5    video_bcd32_smart
     9    66    83    65     8    video_float
     0     1     0     0     0    @FTOSD
     5    11    11     8     0    video_speed
     8    48    55    48     0    video_time
     6    17    25    14     0    video_way
    10    55   100    53     8    video_menu_index
    21   122   165   123    12    ext_isr
    19    61    87    58     5    timer0_isr
     0     1     0     0     0    @FLT
     0     1     0     0     0    @SFTOI
    16    46    56    44     2    timer1_isr
    21   158   254   157    30    timer3_isr
    19    90   160    88     8    test_parameters
    24   196   263   197    19    load_sequence
     7    12    10    10     0    temperature_convert
    30   502   910   519    60    MAIN
    19    81   148    79    16    menu
     5    22    26    20     0    MainMenu
     5    15    18    13     0    ParamWheelMenu
    28   119   224   117    18    ParamWheelWarning
    21    70   135    68    12    ParamWheelCurrentValue
    29   242   400   242    35    ParamWheelSetting
     5    15    18    13     0    RealTimeMenu
     7    38    49    36     0    RealTimeInMinutes
     7    38    49    36     0    RealTimeInSeconds
     5    15    18    13     0    OdometerMenu
     4     4     5     3     0    OdometerFromSet
     4     4     5     3     0    OdometerFromReset
     4     4     5     3     0    OdometerDay
     4     4     5     3     0    OdometerFromStartEngine
     5    15    18    13     0    SpeedometerMenu
     3     5     5     4     0    SpeedometerCurrent
     3     5     5     4     0    SpeedometerFromReset
     3     5     5     4     0    SpeedometerDay
     3     5     5     4     0    SpeedometerFromStartEngine
     5    15    18    13     0    ActiveTimeMenu
     4     4     5     3     0    ActiveTimeWorkFromSet
     4     4     5     3     0    ActiveTimeWorkFromReset
     4     4     5     3     0    ActiveTimeWorkDay
     4     4     5     3     0    ActiveTimeWayFromSet
     4     4     5     3     0    ActiveTimeWayFromReset
     4     4     5     3     0    ActiveTimeWayDay
     4     7     7     5     0    ActiveTimeSpeed100
     5    15    18    13     0    BarometerMenu
     4     7     7     5     0    BarometerInMM
     4     7     7     5     0    BarometerInM
     6    18    25    16     0    VoltmeterMenu
     9    47    68    45     1    TachometerMenu
     6    22    26    20     2    jumper
     8    18    16    16     0    calc_pressure
     5     6     6     4     0    calc_temperature
     6     7     8     5     0    calc_voltage
     7    19    28    17     2    set_danger_led_process
     7    20    30    18     2    set_warning_led_process
     7    24    37    22     3    clr_led_process

⌨️ 快捷键说明

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