-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTraffic_light.STA
More file actions
61 lines (50 loc) · 1.7 KB
/
Copy pathTraffic_light.STA
File metadata and controls
61 lines (50 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ROM used: 1474/8192 (18%)
1474/8192 (18%) including unused fragments
1.2 Average locations per line
5.0 Average locations per statement
RAM used: 22/368 (6%) at main() level
33/368 (9%) worst case
Stack used: 3 worst case (2 in main + 1 for interrupts)
Stack size: 8
Lines Stmts % Files
----- ----- --- -----
436 295 100 Traffic_light.c
768 0 0 C:\Program Files (x86)\PICC\Devices\16f887.h
----- -----
1204 295 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 20 1 1 @delay_ms1
0 14 1 0 @const620
0 21 1 0 93 3.3 interrupt_timer1
0 90 6 1 587 4.8 select_mode
0 364 25 0 3388 5.4 traffic_light
0 21 1 3 @DIV88
0 93 6 6 317 4.1 led7seg_1
0 32 2 6 @WRITEBITA
0 93 6 6 317 4.1 led7seg_2
0 93 6 6 317 4.1 led7seg_3
0 93 6 6 317 4.1 led7seg_4
0 342 23 1 3057 6.9 adjust_mode
0 22 1 0 80 2.4 yellow_toggle
0 127 9 0 747 4.3 MAIN
Inline 0 @cinit1
Program metrics:
Functions 10
Statements 295
Comments 177
Volume (V) 12826
Difficulty (D) 44.1
Effort to implement (E) 565002
Time to implement (T) 8 hours, 43 minutes
Est Delivered Bugs (B) 2
Cyclomatic Complexity 43
Maintainability (MI) 90
Segment Used Free
----------- ---- ----
00000-00003 4 0
00004-00030 45 0
00031-007FF 1425 574
00800-00FFF 0 2048
01000-017FF 0 2048
01800-01FFF 0 2048