📄 stc_pic_protocol.sta
字号:
ROM used: 2514 (31%)
3634 (44%) including unused fragments
1 Average locations per line
4 Average locations per statement
RAM used: 159 (43%) at main() level
166 (45%) worst case
Stack used: 4 worst case (out of 7 total available)
Lines Stmts % Files
----- ----- --- -----
120 68 10 stc_pic_protocol.c
306 0 0 ..\..\..\..\Program Files\PICC\devices\16F877A.h
37 0 0 ..\..\..\..\Program Files\PICC\drivers\stdio.h
417 126 19 ..\..\..\..\Program Files\PICC\drivers\string.h
28 0 0 ..\..\..\..\Program Files\PICC\drivers\stddef.h
28 0 0 ..\..\..\..\Program Files\PICC\drivers\ctype.h
104 0 0 Parameter_defines.h
323 210 32 RL_Module.c
92 55 8 Uart_Module.c
53 26 4 Output_Module.c
59 41 6 Input_Module.c
84 49 7 ADC_Module.c
39 25 4 ADC_10_Bit_Module.c
29 18 3 Interrupt_Module.c
62 39 6 Control_Module.c
----- -----
1781 657 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 1 1 @delay_ms1
0 75 3 3 @I2C_READ_1
0 74 3 1 @I2C_WRITE_1
0 20 1 0 @const185
0 12 0 0 @const187
0 12 0 0 @const189
0 71 3 2 179 3.6 clear_relay_all
Inline 2 179 3.6 set_relay_all
Inline 1 1775 6.9 Addr1_32
Inline 1 1775 6.9 Addr33_64
Inline 1 1775 6.9 Addr65_96
Inline 1 1775 6.9 Addr97_128
Inline 1 458 4.7 relay_control
0 36 1 2 250 4.5 serial_isr
0 14 1 0 106 3.3 interupt_timer0_isr
0 127 5 7 1092 8.1 uart_transmit
0 45 2 1 531 7.1 crc_decode
0 6 0 0 38 1.4 clear_port_all
Inline 4 704 8.2 output_control
Inline 3 785 8.3 input_control
0 58 2 1 522 4.9 button_key
0 8 0 0 @const228
Inline 1 2056 8.9 adc_data
0 39 2 5 @DIV1616
0 11 0 0 @const235
Inline 2 940 8.2 adc_10bit_channel
0 7 0 0 27 1.7 ext_isr
Inline 2 404 5.0 interrupt_control
1 1576 63 0 1541 7.8 module_control
1 10 0 0 @goto11073
0 49 2 0 362 2.3 port_init
0 177 7 2 1452 6.9 MAIN
Program metrics:
Functions 22
Statements 657
Comments 353
Volume (V) 30578
Difficilty (D) 126.9
Effort to implement (E) 3881015
Time to implement (T) 59 hours, 54 minutes
Est Delivered Bugs (B) 8
Cyclomatic Complexity 128
Maintainability (MI) 73
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-00042 63 0
00043-007FF 861 1120
00800-00FFF 1586 462
01000-017FF 0 2048
01800-01FFF 0 2048
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 @I2C_READ_1
0 1 0 0 0 @I2C_WRITE_1
0 1 0 0 0 @const185
0 1 0 0 0 @const187
0 1 0 0 0 @const189
8 18 22 16 1 clear_relay_all
8 18 22 16 1 set_relay_all
14 113 143 111 12 Addr1_32
14 113 143 111 12 Addr33_64
14 113 143 111 12 Addr65_96
14 113 143 111 12 Addr97_128
10 32 55 30 7 relay_control
10 22 30 20 3 serial_isr
8 11 16 9 2 interupt_timer0_isr
16 77 89 78 4 uart_transmit
15 42 51 40 4 crc_decode
4 7 6 5 0 clear_port_all
16 51 64 52 5 output_control
16 54 72 56 6 input_control
10 35 61 34 8 button_key
0 1 0 0 0 @const228
18 128 160 126 10 adc_data
0 1 0 0 0 @DIV1616
0 1 0 0 0 @const235
17 67 82 65 5 adc_10bit_channel
5 3 7 2 1 ext_isr
10 34 40 34 4 interrupt_control
16 97 131 95 10 module_control
0 1 0 0 0 @goto11073
5 33 38 31 2 port_init
14 94 123 92 7 MAIN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -