| Line 1... |
Line 1... |
| 1 |
|
1 |
|
| 2 |
AVRcam.elf: file format elf32-avr
|
2 |
AVRcam.elf: file format elf32-avr
|
| 3 |
|
3 |
|
| 4 |
Sections:
|
4 |
Sections:
|
| 5 |
Idx Name Size VMA LMA File off Algn
|
5 |
Idx Name Size VMA LMA File off Algn
|
| 6 |
0 .noinit 00000030 00800300 00800300 00001182 2**0
|
6 |
0 .noinit 00000030 00800300 00800300 0000119a 2**0
|
| 7 |
ALLOC
|
7 |
ALLOC
|
| 8 |
1 .bss 00000274 00800070 00800070 00001182 2**0
|
8 |
1 .bss 00000274 00800070 00800070 0000119a 2**0
|
| 9 |
ALLOC
|
9 |
ALLOC
|
| 10 |
2 .data 00000010 00800060 000010be 00001172 2**0
|
10 |
2 .data 00000010 00800060 000010d6 0000118a 2**0
|
| 11 |
CONTENTS, ALLOC, LOAD, DATA
|
11 |
CONTENTS, ALLOC, LOAD, DATA
|
| 12 |
3 .text 000010be 00000000 00000000 000000b4 2**1
|
12 |
3 .text 000010d6 00000000 00000000 000000b4 2**1
|
| 13 |
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
13 |
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
| 14 |
4 .eeprom 00000000 00810000 00810000 00001182 2**0
|
- |
|
| 15 |
CONTENTS
|
- |
|
| 16 |
5 .stab 00003ed0 00000000 00000000 00001184 2**2
|
14 |
4 .stab 00003f9c 00000000 00000000 0000119c 2**2
|
| 17 |
CONTENTS, READONLY, DEBUGGING
|
15 |
CONTENTS, READONLY, DEBUGGING
|
| 18 |
6 .stabstr 000017c9 00000000 00000000 00005054 2**0
|
16 |
5 .stabstr 000017b7 00000000 00000000 00005138 2**0
|
| 19 |
CONTENTS, READONLY, DEBUGGING
|
17 |
CONTENTS, READONLY, DEBUGGING
|
| 20 |
Disassembly of section .text:
|
18 |
Disassembly of section .text:
|
| 21 |
|
19 |
|
| 22 |
00000000 <__vectors>:
|
20 |
00000000 <__vectors>:
|
| 23 |
0: 63 c0 rjmp .+198 ; 0xc8 <__init>
|
21 |
0: 63 c0 rjmp .+198 ; 0xc8 <__init>
|
| 24 |
2: 05 c8 rjmp .-4086 ; 0xfffff00e <__eeprom_end+0xff7ef00e>
|
22 |
2: 11 c8 rjmp .-4062 ; 0xfffff026 <__eeprom_end+0xff7ef026>
|
| 25 |
4: 05 c8 rjmp .-4086 ; 0xfffff010 <__eeprom_end+0xff7ef010>
|
23 |
4: 11 c8 rjmp .-4062 ; 0xfffff028 <__eeprom_end+0xff7ef028>
|
| 26 |
6: 7a c0 rjmp .+244 ; 0xfc <__bad_interrupt>
|
24 |
6: 7a c0 rjmp .+244 ; 0xfc <__bad_interrupt>
|
| 27 |
8: 79 c0 rjmp .+242 ; 0xfc <__bad_interrupt>
|
25 |
8: 79 c0 rjmp .+242 ; 0xfc <__bad_interrupt>
|
| 28 |
a: 78 c0 rjmp .+240 ; 0xfc <__bad_interrupt>
|
26 |
a: 78 c0 rjmp .+240 ; 0xfc <__bad_interrupt>
|
| 29 |
c: 77 c0 rjmp .+238 ; 0xfc <__bad_interrupt>
|
27 |
c: 77 c0 rjmp .+238 ; 0xfc <__bad_interrupt>
|
| 30 |
e: 76 c0 rjmp .+236 ; 0xfc <__bad_interrupt>
|
28 |
e: 76 c0 rjmp .+236 ; 0xfc <__bad_interrupt>
|
| 31 |
10: 00 c8 rjmp .-4096 ; 0xfffff012 <__eeprom_end+0xff7ef012>
|
29 |
10: 0c c8 rjmp .-4072 ; 0xfffff02a <__eeprom_end+0xff7ef02a>
|
| 32 |
12: 74 c0 rjmp .+232 ; 0xfc <__bad_interrupt>
|
30 |
12: 74 c0 rjmp .+232 ; 0xfc <__bad_interrupt>
|
| 33 |
14: 73 c0 rjmp .+230 ; 0xfc <__bad_interrupt>
|
31 |
14: 73 c0 rjmp .+230 ; 0xfc <__bad_interrupt>
|
| 34 |
16: aa c5 rjmp .+2900 ; 0xb6c <__vector_11>
|
32 |
16: af c5 rjmp .+2910 ; 0xb76 <__vector_11>
|
| 35 |
18: 71 c0 rjmp .+226 ; 0xfc <__bad_interrupt>
|
33 |
18: 71 c0 rjmp .+226 ; 0xfc <__bad_interrupt>
|
| 36 |
1a: 70 c0 rjmp .+224 ; 0xfc <__bad_interrupt>
|
34 |
1a: 70 c0 rjmp .+224 ; 0xfc <__bad_interrupt>
|
| 37 |
1c: 6f c0 rjmp .+222 ; 0xfc <__bad_interrupt>
|
35 |
1c: 6f c0 rjmp .+222 ; 0xfc <__bad_interrupt>
|
| 38 |
1e: 6e c0 rjmp .+220 ; 0xfc <__bad_interrupt>
|
36 |
1e: 6e c0 rjmp .+220 ; 0xfc <__bad_interrupt>
|
| 39 |
20: 6d c0 rjmp .+218 ; 0xfc <__bad_interrupt>
|
37 |
20: 6d c0 rjmp .+218 ; 0xfc <__bad_interrupt>
|
| 40 |
22: 0f c6 rjmp .+3102 ; 0xc42 <__vector_17>
|
38 |
22: 14 c6 rjmp .+3112 ; 0xc4c <__vector_17>
|
| 41 |
24: 6b c0 rjmp .+214 ; 0xfc <__bad_interrupt>
|
39 |
24: 6b c0 rjmp .+214 ; 0xfc <__bad_interrupt>
|
| 42 |
|
40 |
|
| 43 |
00000026 <__ctors_end>:
|
41 |
00000026 <__ctors_end>:
|
| 44 |
26: 29 c6 rjmp .+3154 ; 0xc7a <__vector_17+0x38>
|
42 |
26: 2e c6 rjmp .+3164 ; 0xc84 <__vector_17+0x38>
|
| 45 |
28: bf c6 rjmp .+3454 ; 0xda8 <__vector_17+0x166>
|
43 |
28: c1 c6 rjmp .+3458 ; 0xdac <__vector_17+0x160>
|
| 46 |
2a: be c6 rjmp .+3452 ; 0xda8 <__vector_17+0x166>
|
44 |
2a: c0 c6 rjmp .+3456 ; 0xdac <__vector_17+0x160>
|
| 47 |
2c: bd c6 rjmp .+3450 ; 0xda8 <__vector_17+0x166>
|
45 |
2c: bf c6 rjmp .+3454 ; 0xdac <__vector_17+0x160>
|
| 48 |
2e: bc c6 rjmp .+3448 ; 0xda8 <__vector_17+0x166>
|
46 |
2e: be c6 rjmp .+3452 ; 0xdac <__vector_17+0x160>
|
| 49 |
30: bb c6 rjmp .+3446 ; 0xda8 <__vector_17+0x166>
|
47 |
30: bd c6 rjmp .+3450 ; 0xdac <__vector_17+0x160>
|
| 50 |
32: ba c6 rjmp .+3444 ; 0xda8 <__vector_17+0x166>
|
48 |
32: bc c6 rjmp .+3448 ; 0xdac <__vector_17+0x160>
|
| 51 |
34: b9 c6 rjmp .+3442 ; 0xda8 <__vector_17+0x166>
|
49 |
34: bb c6 rjmp .+3446 ; 0xdac <__vector_17+0x160>
|
| 52 |
36: 21 c6 rjmp .+3138 ; 0xc7a <__vector_17+0x38>
|
50 |
36: 26 c6 rjmp .+3148 ; 0xc84 <__vector_17+0x38>
|
| 53 |
38: b7 c6 rjmp .+3438 ; 0xda8 <__vector_17+0x166>
|
51 |
38: b9 c6 rjmp .+3442 ; 0xdac <__vector_17+0x160>
|
| 54 |
3a: b6 c6 rjmp .+3436 ; 0xda8 <__vector_17+0x166>
|
52 |
3a: b8 c6 rjmp .+3440 ; 0xdac <__vector_17+0x160>
|
| 55 |
3c: b5 c6 rjmp .+3434 ; 0xda8 <__vector_17+0x166>
|
53 |
3c: b7 c6 rjmp .+3438 ; 0xdac <__vector_17+0x160>
|
| 56 |
3e: b4 c6 rjmp .+3432 ; 0xda8 <__vector_17+0x166>
|
54 |
3e: b6 c6 rjmp .+3436 ; 0xdac <__vector_17+0x160>
|
| 57 |
40: b3 c6 rjmp .+3430 ; 0xda8 <__vector_17+0x166>
|
55 |
40: b5 c6 rjmp .+3434 ; 0xdac <__vector_17+0x160>
|
| 58 |
42: b2 c6 rjmp .+3428 ; 0xda8 <__vector_17+0x166>
|
56 |
42: b4 c6 rjmp .+3432 ; 0xdac <__vector_17+0x160>
|
| 59 |
44: b1 c6 rjmp .+3426 ; 0xda8 <__vector_17+0x166>
|
57 |
44: b3 c6 rjmp .+3430 ; 0xdac <__vector_17+0x160>
|
| 60 |
46: 31 c6 rjmp .+3170 ; 0xcaa <__vector_17+0x68>
|
58 |
46: 36 c6 rjmp .+3180 ; 0xcb4 <__vector_17+0x68>
|
| 61 |
48: af c6 rjmp .+3422 ; 0xda8 <__vector_17+0x166>
|
59 |
48: b1 c6 rjmp .+3426 ; 0xdac <__vector_17+0x160>
|
| 62 |
4a: ae c6 rjmp .+3420 ; 0xda8 <__vector_17+0x166>
|
60 |
4a: b0 c6 rjmp .+3424 ; 0xdac <__vector_17+0x160>
|
| 63 |
4c: ad c6 rjmp .+3418 ; 0xda8 <__vector_17+0x166>
|
61 |
4c: af c6 rjmp .+3422 ; 0xdac <__vector_17+0x160>
|
| 64 |
4e: ac c6 rjmp .+3416 ; 0xda8 <__vector_17+0x166>
|
62 |
4e: ae c6 rjmp .+3420 ; 0xdac <__vector_17+0x160>
|
| 65 |
50: ab c6 rjmp .+3414 ; 0xda8 <__vector_17+0x166>
|
63 |
50: ad c6 rjmp .+3418 ; 0xdac <__vector_17+0x160>
|
| 66 |
52: aa c6 rjmp .+3412 ; 0xda8 <__vector_17+0x166>
|
64 |
52: ac c6 rjmp .+3416 ; 0xdac <__vector_17+0x160>
|
| 67 |
54: a9 c6 rjmp .+3410 ; 0xda8 <__vector_17+0x166>
|
65 |
54: ab c6 rjmp .+3414 ; 0xdac <__vector_17+0x160>
|
| 68 |
56: 3a c6 rjmp .+3188 ; 0xccc <__vector_17+0x8a>
|
66 |
56: 3e c6 rjmp .+3196 ; 0xcd4 <__vector_17+0x88>
|
| 69 |
58: a7 c6 rjmp .+3406 ; 0xda8 <__vector_17+0x166>
|
67 |
58: a9 c6 rjmp .+3410 ; 0xdac <__vector_17+0x160>
|
| 70 |
5a: a6 c6 rjmp .+3404 ; 0xda8 <__vector_17+0x166>
|
68 |
5a: a8 c6 rjmp .+3408 ; 0xdac <__vector_17+0x160>
|
| 71 |
5c: a5 c6 rjmp .+3402 ; 0xda8 <__vector_17+0x166>
|
69 |
5c: a7 c6 rjmp .+3406 ; 0xdac <__vector_17+0x160>
|
| 72 |
5e: a4 c6 rjmp .+3400 ; 0xda8 <__vector_17+0x166>
|
70 |
5e: a6 c6 rjmp .+3404 ; 0xdac <__vector_17+0x160>
|
| 73 |
60: a3 c6 rjmp .+3398 ; 0xda8 <__vector_17+0x166>
|
71 |
60: a5 c6 rjmp .+3402 ; 0xdac <__vector_17+0x160>
|
| 74 |
62: a2 c6 rjmp .+3396 ; 0xda8 <__vector_17+0x166>
|
72 |
62: a4 c6 rjmp .+3400 ; 0xdac <__vector_17+0x160>
|
| 75 |
64: a1 c6 rjmp .+3394 ; 0xda8 <__vector_17+0x166>
|
73 |
64: a3 c6 rjmp .+3398 ; 0xdac <__vector_17+0x160>
|
| 76 |
66: 3b c6 rjmp .+3190 ; 0xcde <__vector_17+0x9c>
|
74 |
66: 3f c6 rjmp .+3198 ; 0xce6 <__vector_17+0x9a>
|
| 77 |
68: 9f c6 rjmp .+3390 ; 0xda8 <__vector_17+0x166>
|
75 |
68: a1 c6 rjmp .+3394 ; 0xdac <__vector_17+0x160>
|
| 78 |
6a: 9e c6 rjmp .+3388 ; 0xda8 <__vector_17+0x166>
|
76 |
6a: a0 c6 rjmp .+3392 ; 0xdac <__vector_17+0x160>
|
| 79 |
6c: 9d c6 rjmp .+3386 ; 0xda8 <__vector_17+0x166>
|
77 |
6c: 9f c6 rjmp .+3390 ; 0xdac <__vector_17+0x160>
|
| 80 |
6e: 9c c6 rjmp .+3384 ; 0xda8 <__vector_17+0x166>
|
78 |
6e: 9e c6 rjmp .+3388 ; 0xdac <__vector_17+0x160>
|
| 81 |
70: 9b c6 rjmp .+3382 ; 0xda8 <__vector_17+0x166>
|
79 |
70: 9d c6 rjmp .+3386 ; 0xdac <__vector_17+0x160>
|
| 82 |
72: 9a c6 rjmp .+3380 ; 0xda8 <__vector_17+0x166>
|
80 |
72: 9c c6 rjmp .+3384 ; 0xdac <__vector_17+0x160>
|
| 83 |
74: 99 c6 rjmp .+3378 ; 0xda8 <__vector_17+0x166>
|
81 |
74: 9b c6 rjmp .+3382 ; 0xdac <__vector_17+0x160>
|
| 84 |
76: 54 c6 rjmp .+3240 ; 0xd20 <__vector_17+0xde>
|
82 |
76: 57 c6 rjmp .+3246 ; 0xd26 <__vector_17+0xda>
|
| 85 |
78: 97 c6 rjmp .+3374 ; 0xda8 <__vector_17+0x166>
|
83 |
78: 99 c6 rjmp .+3378 ; 0xdac <__vector_17+0x160>
|
| 86 |
7a: 96 c6 rjmp .+3372 ; 0xda8 <__vector_17+0x166>
|
84 |
7a: 98 c6 rjmp .+3376 ; 0xdac <__vector_17+0x160>
|
| 87 |
7c: 95 c6 rjmp .+3370 ; 0xda8 <__vector_17+0x166>
|
85 |
7c: 97 c6 rjmp .+3374 ; 0xdac <__vector_17+0x160>
|
| 88 |
7e: 94 c6 rjmp .+3368 ; 0xda8 <__vector_17+0x166>
|
86 |
7e: 96 c6 rjmp .+3372 ; 0xdac <__vector_17+0x160>
|
| 89 |
80: 93 c6 rjmp .+3366 ; 0xda8 <__vector_17+0x166>
|
87 |
80: 95 c6 rjmp .+3370 ; 0xdac <__vector_17+0x160>
|
| 90 |
82: 92 c6 rjmp .+3364 ; 0xda8 <__vector_17+0x166>
|
88 |
82: 94 c6 rjmp .+3368 ; 0xdac <__vector_17+0x160>
|
| 91 |
84: 91 c6 rjmp .+3362 ; 0xda8 <__vector_17+0x166>
|
89 |
84: 93 c6 rjmp .+3366 ; 0xdac <__vector_17+0x160>
|
| 92 |
86: 90 c6 rjmp .+3360 ; 0xda8 <__vector_17+0x166>
|
90 |
86: 92 c6 rjmp .+3364 ; 0xdac <__vector_17+0x160>
|
| 93 |
88: 8f c6 rjmp .+3358 ; 0xda8 <__vector_17+0x166>
|
91 |
88: 91 c6 rjmp .+3362 ; 0xdac <__vector_17+0x160>
|
| 94 |
8a: 8e c6 rjmp .+3356 ; 0xda8 <__vector_17+0x166>
|
92 |
8a: 90 c6 rjmp .+3360 ; 0xdac <__vector_17+0x160>
|
| 95 |
8c: 8d c6 rjmp .+3354 ; 0xda8 <__vector_17+0x166>
|
93 |
8c: 8f c6 rjmp .+3358 ; 0xdac <__vector_17+0x160>
|
| 96 |
8e: 8c c6 rjmp .+3352 ; 0xda8 <__vector_17+0x166>
|
94 |
8e: 8e c6 rjmp .+3356 ; 0xdac <__vector_17+0x160>
|
| 97 |
90: 8b c6 rjmp .+3350 ; 0xda8 <__vector_17+0x166>
|
95 |
90: 8d c6 rjmp .+3354 ; 0xdac <__vector_17+0x160>
|
| 98 |
92: 8a c6 rjmp .+3348 ; 0xda8 <__vector_17+0x166>
|
96 |
92: 8c c6 rjmp .+3352 ; 0xdac <__vector_17+0x160>
|
| 99 |
94: 89 c6 rjmp .+3346 ; 0xda8 <__vector_17+0x166>
|
97 |
94: 8b c6 rjmp .+3350 ; 0xdac <__vector_17+0x160>
|
| 100 |
96: 4d c6 rjmp .+3226 ; 0xd32 <__vector_17+0xf0>
|
98 |
96: 50 c6 rjmp .+3232 ; 0xd38 <__vector_17+0xec>
|
| 101 |
98: 87 c6 rjmp .+3342 ; 0xda8 <__vector_17+0x166>
|
99 |
98: 89 c6 rjmp .+3346 ; 0xdac <__vector_17+0x160>
|
| 102 |
9a: 86 c6 rjmp .+3340 ; 0xda8 <__vector_17+0x166>
|
100 |
9a: 88 c6 rjmp .+3344 ; 0xdac <__vector_17+0x160>
|
| 103 |
9c: 85 c6 rjmp .+3338 ; 0xda8 <__vector_17+0x166>
|
101 |
9c: 87 c6 rjmp .+3342 ; 0xdac <__vector_17+0x160>
|
| 104 |
9e: 84 c6 rjmp .+3336 ; 0xda8 <__vector_17+0x166>
|
102 |
9e: 86 c6 rjmp .+3340 ; 0xdac <__vector_17+0x160>
|
| 105 |
a0: 83 c6 rjmp .+3334 ; 0xda8 <__vector_17+0x166>
|
103 |
a0: 85 c6 rjmp .+3338 ; 0xdac <__vector_17+0x160>
|
| 106 |
a2: 82 c6 rjmp .+3332 ; 0xda8 <__vector_17+0x166>
|
104 |
a2: 84 c6 rjmp .+3336 ; 0xdac <__vector_17+0x160>
|
| 107 |
a4: 81 c6 rjmp .+3330 ; 0xda8 <__vector_17+0x166>
|
105 |
a4: 83 c6 rjmp .+3334 ; 0xdac <__vector_17+0x160>
|
| 108 |
a6: 12 c6 rjmp .+3108 ; 0xccc <__vector_17+0x8a>
|
106 |
a6: 16 c6 rjmp .+3116 ; 0xcd4 <__vector_17+0x88>
|
| 109 |
a8: 7f c6 rjmp .+3326 ; 0xda8 <__vector_17+0x166>
|
107 |
a8: 81 c6 rjmp .+3330 ; 0xdac <__vector_17+0x160>
|
| 110 |
aa: 7e c6 rjmp .+3324 ; 0xda8 <__vector_17+0x166>
|
108 |
aa: 80 c6 rjmp .+3328 ; 0xdac <__vector_17+0x160>
|
| 111 |
ac: 7d c6 rjmp .+3322 ; 0xda8 <__vector_17+0x166>
|
109 |
ac: 7f c6 rjmp .+3326 ; 0xdac <__vector_17+0x160>
|
| 112 |
ae: 7c c6 rjmp .+3320 ; 0xda8 <__vector_17+0x166>
|
110 |
ae: 7e c6 rjmp .+3324 ; 0xdac <__vector_17+0x160>
|
| 113 |
b0: 7b c6 rjmp .+3318 ; 0xda8 <__vector_17+0x166>
|
111 |
b0: 7d c6 rjmp .+3322 ; 0xdac <__vector_17+0x160>
|
| 114 |
b2: 7a c6 rjmp .+3316 ; 0xda8 <__vector_17+0x166>
|
112 |
b2: 7c c6 rjmp .+3320 ; 0xdac <__vector_17+0x160>
|
| 115 |
b4: 79 c6 rjmp .+3314 ; 0xda8 <__vector_17+0x166>
|
113 |
b4: 7b c6 rjmp .+3318 ; 0xdac <__vector_17+0x160>
|
| 116 |
b6: 4e c6 rjmp .+3228 ; 0xd54 <__vector_17+0x112>
|
114 |
b6: 51 c6 rjmp .+3234 ; 0xd5a <__vector_17+0x10e>
|
| 117 |
b8: 77 c6 rjmp .+3310 ; 0xda8 <__vector_17+0x166>
|
115 |
b8: 79 c6 rjmp .+3314 ; 0xdac <__vector_17+0x160>
|
| 118 |
ba: 76 c6 rjmp .+3308 ; 0xda8 <__vector_17+0x166>
|
116 |
ba: 78 c6 rjmp .+3312 ; 0xdac <__vector_17+0x160>
|
| 119 |
bc: 75 c6 rjmp .+3306 ; 0xda8 <__vector_17+0x166>
|
117 |
bc: 77 c6 rjmp .+3310 ; 0xdac <__vector_17+0x160>
|
| 120 |
be: 74 c6 rjmp .+3304 ; 0xda8 <__vector_17+0x166>
|
118 |
be: 76 c6 rjmp .+3308 ; 0xdac <__vector_17+0x160>
|
| 121 |
c0: 73 c6 rjmp .+3302 ; 0xda8 <__vector_17+0x166>
|
119 |
c0: 75 c6 rjmp .+3306 ; 0xdac <__vector_17+0x160>
|
| 122 |
c2: 72 c6 rjmp .+3300 ; 0xda8 <__vector_17+0x166>
|
120 |
c2: 74 c6 rjmp .+3304 ; 0xdac <__vector_17+0x160>
|
| 123 |
c4: 71 c6 rjmp .+3298 ; 0xda8 <__vector_17+0x166>
|
121 |
c4: 73 c6 rjmp .+3302 ; 0xdac <__vector_17+0x160>
|
| 124 |
c6: 62 c6 rjmp .+3268 ; 0xd8c <__vector_17+0x14a>
|
122 |
c6: 64 c6 rjmp .+3272 ; 0xd90 <__vector_17+0x144>
|
| 125 |
|
123 |
|
| 126 |
000000c8 <__init>:
|
124 |
000000c8 <__init>:
|
| 127 |
c8: 11 24 eor r1, r1
|
125 |
c8: 11 24 eor r1, r1
|
| 128 |
ca: 1f be out 0x3f, r1 ; 63
|
126 |
ca: 1f be out 0x3f, r1 ; 63
|
| 129 |
cc: cf e5 ldi r28, 0x5F ; 95
|
127 |
cc: cf e5 ldi r28, 0x5F ; 95
|
| Line 133... |
Line 131... |
| 133 |
|
131 |
|
| 134 |
000000d4 <__do_copy_data>:
|
132 |
000000d4 <__do_copy_data>:
|
| 135 |
d4: 10 e0 ldi r17, 0x00 ; 0
|
133 |
d4: 10 e0 ldi r17, 0x00 ; 0
|
| 136 |
d6: a0 e6 ldi r26, 0x60 ; 96
|
134 |
d6: a0 e6 ldi r26, 0x60 ; 96
|
| 137 |
d8: b0 e0 ldi r27, 0x00 ; 0
|
135 |
d8: b0 e0 ldi r27, 0x00 ; 0
|
| 138 |
da: ee eb ldi r30, 0xBE ; 190
|
136 |
da: e6 ed ldi r30, 0xD6 ; 214
|
| 139 |
dc: f0 e1 ldi r31, 0x10 ; 16
|
137 |
dc: f0 e1 ldi r31, 0x10 ; 16
|
| 140 |
de: 02 c0 rjmp .+4 ; 0xe4 <.do_copy_data_start>
|
138 |
de: 02 c0 rjmp .+4 ; 0xe4 <.do_copy_data_start>
|
| 141 |
|
139 |
|
| 142 |
000000e0 <.do_copy_data_loop>:
|
140 |
000000e0 <.do_copy_data_loop>:
|
| 143 |
e0: 05 90 lpm r0, Z+
|
141 |
e0: 05 90 lpm r0, Z+
|
| Line 162... |
Line 160... |
| 162 |
f6: b1 07 cpc r27, r17
|
160 |
f6: b1 07 cpc r27, r17
|
| 163 |
f8: e1 f7 brne .-8 ; 0xf2 <.do_clear_bss_loop>
|
161 |
f8: e1 f7 brne .-8 ; 0xf2 <.do_clear_bss_loop>
|
| 164 |
fa: 30 c0 rjmp .+96 ; 0x15c <main>
|
162 |
fa: 30 c0 rjmp .+96 ; 0x15c <main>
|
| 165 |
|
163 |
|
| 166 |
000000fc <__bad_interrupt>:
|
164 |
000000fc <__bad_interrupt>:
|
| 167 |
fc: 91 c7 rjmp .+3874 ; 0x1020 <__vector_default>
|
165 |
fc: 9d c7 rjmp .+3898 ; 0x1038 <__vector_default>
|
| 168 |
|
166 |
|
| 169 |
000000fe <CamInt_resetCam>:
|
167 |
000000fe <CamInt_resetCam>:
|
| 170 |
output the clock signal. Thus, if we reset the cam, the
|
168 |
output the clock signal. Thus, if we reset the cam, the
|
| 171 |
AVR has no clock, and thus doesn't run...
|
169 |
AVR has no clock, and thus doesn't run...
|
| 172 |
***********************************************************/
|
170 |
***********************************************************/
|
| Line 218... |
Line 216... |
| 218 |
150: e9 f7 brne .-6 ; 0x14c <CamInt_init+0x4c>
|
216 |
150: e9 f7 brne .-6 ; 0x14c <CamInt_init+0x4c>
|
| 219 |
/* Needed in order to truncate to 8 bit. */
|
217 |
/* Needed in order to truncate to 8 bit. */
|
| 220 |
uint8_t len;
|
218 |
uint8_t len;
|
| 221 |
len = (uint8_t) n;
|
219 |
len = (uint8_t) n;
|
| 222 |
|
220 |
|
| 223 |
asm volatile (
|
221 |
__asm__ __volatile__ (
|
| 224 |
152: a1 e0 ldi r26, 0x01 ; 1
|
222 |
152: a1 e0 ldi r26, 0x01 ; 1
|
| 225 |
154: b0 e0 ldi r27, 0x00 ; 0
|
223 |
154: b0 e0 ldi r27, 0x00 ; 0
|
| 226 |
156: 18 2e mov r1, r24
|
224 |
156: 18 2e mov r1, r24
|
| 227 |
158: a0 d7 rcall .+3904 ; 0x109a <__eeprom_read_block_1C1D1E>
|
225 |
158: ac d7 rcall .+3928 ; 0x10b2 <__eeprom_read_block_1C1D1E>
|
| 228 |
15a: 08 95 ret
|
226 |
15a: 08 95 ret
|
| 229 |
|
227 |
|
| 230 |
0000015c <main>:
|
228 |
0000015c <main>:
|
| 231 |
Inputs: none
|
229 |
Inputs: none
|
| 232 |
Outputs: int
|
230 |
Outputs: int
|
| Line 237... |
Line 235... |
| 237 |
15e: d4 e0 ldi r29, 0x04 ; 4
|
235 |
15e: d4 e0 ldi r29, 0x04 ; 4
|
| 238 |
160: de bf out 0x3e, r29 ; 62
|
236 |
160: de bf out 0x3e, r29 ; 62
|
| 239 |
162: cd bf out 0x3d, r28 ; 61
|
237 |
162: cd bf out 0x3d, r28 ; 61
|
| 240 |
/* initialize all of the interface modules */
|
238 |
/* initialize all of the interface modules */
|
| 241 |
DebugInt_init();
|
239 |
DebugInt_init();
|
| 242 |
164: cf d6 rcall .+3486 ; 0xf04 <DebugInt_init>
|
240 |
164: db d6 rcall .+3510 ; 0xf1c <DebugInt_init>
|
| 243 |
UartInt_init();
|
241 |
UartInt_init();
|
| 244 |
166: f4 d4 rcall .+2536 ; 0xb50 <UartInt_init>
|
242 |
166: f9 d4 rcall .+2546 ; 0xb5a <UartInt_init>
|
| 245 |
I2CInt_init();
|
243 |
I2CInt_init();
|
| 246 |
168: 2b d5 rcall .+2646 ; 0xbc0 <I2CInt_init>
|
244 |
168: 30 d5 rcall .+2656 ; 0xbca <I2CInt_init>
|
| 247 |
CamInt_init();
|
245 |
CamInt_init();
|
| 248 |
16a: ca df rcall .-108 ; 0x100 <CamInt_init>
|
246 |
16a: ca df rcall .-108 ; 0x100 <CamInt_init>
|
| 249 |
|
247 |
|
| 250 |
/* initialize the remaining modules that will process
|
248 |
/* initialize the remaining modules that will process
|
| 251 |
data...interrupts need to be on for these */
|
249 |
data...interrupts need to be on for these */
|
| 252 |
ENABLE_INTS();
|
250 |
ENABLE_INTS();
|
| 253 |
16c: 78 94 sei
|
251 |
16c: 78 94 sei
|
| 254 |
CamConfig_init();
|
252 |
CamConfig_init();
|
| 255 |
16e: 7e d6 rcall .+3324 ; 0xe6c <CamConfig_init>
|
253 |
16e: 8a d6 rcall .+3348 ; 0xe84 <CamConfig_init>
|
| 256 |
UIMgr_init();
|
254 |
UIMgr_init();
|
| 257 |
170: 8a d3 rcall .+1812 ; 0x886 <UIMgr_init>
|
255 |
170: 6a d3 rcall .+1748 ; 0x846 <UIMgr_init>
|
| 258 |
FrameMgr_init();
|
256 |
FrameMgr_init();
|
| 259 |
172: 37 d2 rcall .+1134 ; 0x5e2 <FrameMgr_init>
|
257 |
172: 25 d2 rcall .+1098 ; 0x5be <FrameMgr_init>
|
| 260 |
|
258 |
|
| 261 |
/* provide a short delay for the camera to stabilize before
|
259 |
/* provide a short delay for the camera to stabilize before
|
| 262 |
we let the executive start up */
|
260 |
we let the executive start up */
|
| 263 |
Utility_delay(1000);
|
261 |
Utility_delay(1000);
|
| 264 |
174: 88 ee ldi r24, 0xE8 ; 232
|
262 |
174: 88 ee ldi r24, 0xE8 ; 232
|
| 265 |
176: 93 e0 ldi r25, 0x03 ; 3
|
263 |
176: 93 e0 ldi r25, 0x03 ; 3
|
| 266 |
178: 8a d6 rcall .+3348 ; 0xe8e <Utility_delay>
|
264 |
178: 96 d6 rcall .+3372 ; 0xea6 <Utility_delay>
|
| 267 |
|
265 |
|
| 268 |
/* the rest of the application will be under the
|
266 |
/* the rest of the application will be under the
|
| 269 |
control of the Executive. */
|
267 |
control of the Executive. */
|
| 270 |
Exec_run();
|
268 |
Exec_run();
|
| 271 |
17a: 11 d0 rcall .+34 ; 0x19e <Exec_run>
|
269 |
17a: 11 d0 rcall .+34 ; 0x19e <Exec_run>
|
| Line 273... |
Line 271... |
| 273 |
/* this should never be reached */
|
271 |
/* this should never be reached */
|
| 274 |
return(0);
|
272 |
return(0);
|
| 275 |
}
|
273 |
}
|
| 276 |
17c: 80 e0 ldi r24, 0x00 ; 0
|
274 |
17c: 80 e0 ldi r24, 0x00 ; 0
|
| 277 |
17e: 90 e0 ldi r25, 0x00 ; 0
|
275 |
17e: 90 e0 ldi r25, 0x00 ; 0
|
| 278 |
180: 9d c7 rjmp .+3898 ; 0x10bc <_exit>
|
276 |
180: a9 c7 rjmp .+3922 ; 0x10d4 <_exit>
|
| 279 |
|
277 |
|
| 280 |
00000182 <Exec_writeEventFifo>:
|
278 |
00000182 <Exec_writeEventFifo>:
|
| 281 |
|
- |
|
| 282 |
182: f8 94 cli
|
279 |
182: f8 94 cli
|
| 283 |
184: 90 91 70 00 lds r25, 0x0070
|
280 |
184: 90 91 70 00 lds r25, 0x0070
|
| 284 |
188: ec e6 ldi r30, 0x6C ; 108
|
281 |
188: ec e6 ldi r30, 0x6C ; 108
|
| 285 |
18a: f2 e0 ldi r31, 0x02 ; 2
|
282 |
18a: f2 e0 ldi r31, 0x02 ; 2
|
| 286 |
18c: e9 0f add r30, r25
|
283 |
18c: e9 0f add r30, r25
|
| Line 291... |
Line 288... |
| 291 |
196: 90 93 70 00 sts 0x0070, r25
|
288 |
196: 90 93 70 00 sts 0x0070, r25
|
| 292 |
19a: 78 94 sei
|
289 |
19a: 78 94 sei
|
| 293 |
19c: 08 95 ret
|
290 |
19c: 08 95 ret
|
| 294 |
|
291 |
|
| 295 |
0000019e <Exec_run>:
|
292 |
0000019e <Exec_run>:
|
| - |
|
293 |
19e: cf 93 push r28
|
| - |
|
294 |
1a0: df 93 push r29
|
| - |
|
295 |
1a2: cc e6 ldi r28, 0x6C ; 108
|
| - |
|
296 |
1a4: d2 e0 ldi r29, 0x02 ; 2
|
| 296 |
19e: 80 91 72 00 lds r24, 0x0072
|
297 |
1a6: 80 91 72 00 lds r24, 0x0072
|
| 297 |
1a2: 88 23 and r24, r24
|
298 |
1aa: 88 23 and r24, r24
|
| 298 |
1a4: 99 f0 breq .+38 ; 0x1cc <Exec_run+0x2e>
|
299 |
1ac: 99 f0 breq .+38 ; 0x1d4 <Exec_run+0x36>
|
| 299 |
1a6: 80 ff sbrs r24, 0
|
300 |
1ae: 80 ff sbrs r24, 0
|
| 300 |
1a8: 07 c0 rjmp .+14 ; 0x1b8 <Exec_run+0x1a>
|
301 |
1b0: 07 c0 rjmp .+14 ; 0x1c0 <Exec_run+0x22>
|
| 301 |
1aa: f8 94 cli
|
302 |
1b2: f8 94 cli
|
| 302 |
1ac: 8e 7f andi r24, 0xFE ; 254
|
303 |
1b4: 8e 7f andi r24, 0xFE ; 254
|
| 303 |
1ae: 80 93 72 00 sts 0x0072, r24
|
304 |
1b6: 80 93 72 00 sts 0x0072, r24
|
| 304 |
1b2: 78 94 sei
|
305 |
1ba: 78 94 sei
|
| 305 |
1b4: b6 d0 rcall .+364 ; 0x322 <FrameMgr_processLine>
|
306 |
1bc: b2 d0 rcall .+356 ; 0x322 <FrameMgr_processLine>
|
| 306 |
1b6: ff d2 rcall .+1534 ; 0x7b6 <UIMgr_transmitPendingData>
|
307 |
1be: db d2 rcall .+1462 ; 0x776 <UIMgr_transmitPendingData>
|
| 307 |
1b8: 80 91 72 00 lds r24, 0x0072
|
308 |
1c0: 80 91 72 00 lds r24, 0x0072
|
| 308 |
1bc: 81 ff sbrs r24, 1
|
309 |
1c4: 81 ff sbrs r24, 1
|
| 309 |
1be: 06 c0 rjmp .+12 ; 0x1cc <Exec_run+0x2e>
|
310 |
1c6: 06 c0 rjmp .+12 ; 0x1d4 <Exec_run+0x36>
|
| 310 |
1c0: f8 94 cli
|
311 |
1c8: f8 94 cli
|
| 311 |
1c2: 8d 7f andi r24, 0xFD ; 253
|
312 |
1ca: 8d 7f andi r24, 0xFD ; 253
|
| 312 |
1c4: 80 93 72 00 sts 0x0072, r24
|
313 |
1cc: 80 93 72 00 sts 0x0072, r24
|
| 313 |
1c8: 78 94 sei
|
314 |
1d0: 78 94 sei
|
| 314 |
1ca: 12 d2 rcall .+1060 ; 0x5f0 <FrameMgr_acquireLine>
|
315 |
1d2: fc d1 rcall .+1016 ; 0x5cc <FrameMgr_acquireLine>
|
| 315 |
1cc: 20 91 71 00 lds r18, 0x0071
|
316 |
1d4: 90 91 71 00 lds r25, 0x0071
|
| 316 |
1d0: 80 91 70 00 lds r24, 0x0070
|
317 |
1d8: 80 91 70 00 lds r24, 0x0070
|
| 317 |
1d4: 82 17 cp r24, r18
|
318 |
1dc: 89 17 cp r24, r25
|
| 318 |
1d6: 19 f3 breq .-58 ; 0x19e <Exec_run>
|
319 |
1de: 19 f3 breq .-58 ; 0x1a6 <Exec_run+0x8>
|
| 319 |
1d8: f8 94 cli
|
320 |
1e0: f8 94 cli
|
| 320 |
1da: e2 2f mov r30, r18
|
321 |
1e2: fe 01 movw r30, r28
|
| 321 |
1dc: ff 27 eor r31, r31
|
322 |
1e4: e9 0f add r30, r25
|
| 322 |
1de: e4 59 subi r30, 0x94 ; 148
|
- |
|
| 323 |
1e0: fd 4f sbci r31, 0xFD ; 253
|
323 |
1e6: f1 1d adc r31, r1
|
| 324 |
1e2: 90 81 ld r25, Z
|
324 |
1e8: e0 81 ld r30, Z
|
| 325 |
1e4: 82 2f mov r24, r18
|
325 |
1ea: 89 2f mov r24, r25
|
| 326 |
1e6: 8f 5f subi r24, 0xFF ; 255
|
326 |
1ec: 8f 5f subi r24, 0xFF ; 255
|
| 327 |
1e8: 87 70 andi r24, 0x07 ; 7
|
327 |
1ee: 87 70 andi r24, 0x07 ; 7
|
| 328 |
1ea: 80 93 71 00 sts 0x0071, r24
|
328 |
1f0: 80 93 71 00 sts 0x0071, r24
|
| 329 |
1ee: 78 94 sei
|
329 |
1f4: 78 94 sei
|
| 330 |
1f0: 89 2f mov r24, r25
|
- |
|
| 331 |
1f2: 99 27 eor r25, r25
|
- |
|
| 332 |
1f4: 80 31 cpi r24, 0x10 ; 16
|
330 |
1f6: e0 31 cpi r30, 0x10 ; 16
|
| 333 |
1f6: 31 f1 breq .+76 ; 0x244 <Exec_run+0xa6>
|
331 |
1f8: 29 f1 breq .+74 ; 0x244 <Exec_run+0xa6>
|
| 334 |
1f8: 81 31 cpi r24, 0x11 ; 17
|
332 |
1fa: e1 31 cpi r30, 0x11 ; 17
|
| 335 |
1fa: 68 f4 brcc .+26 ; 0x216 <Exec_run+0x78>
|
333 |
1fc: 60 f4 brcc .+24 ; 0x216 <Exec_run+0x78>
|
| 336 |
1fc: 82 30 cpi r24, 0x02 ; 2
|
334 |
1fe: e2 30 cpi r30, 0x02 ; 2
|
| 337 |
1fe: c9 f0 breq .+50 ; 0x232 <Exec_run+0x94>
|
335 |
200: c1 f0 breq .+48 ; 0x232 <Exec_run+0x94>
|
| 338 |
200: 83 30 cpi r24, 0x03 ; 3
|
336 |
202: e3 30 cpi r30, 0x03 ; 3
|
| 339 |
202: 18 f4 brcc .+6 ; 0x20a <Exec_run+0x6c>
|
337 |
204: 18 f4 brcc .+6 ; 0x20c <Exec_run+0x6e>
|
| 340 |
204: 81 30 cpi r24, 0x01 ; 1
|
338 |
206: e1 30 cpi r30, 0x01 ; 1
|
| 341 |
206: 59 f6 brne .-106 ; 0x19e <Exec_run>
|
339 |
208: 71 f6 brne .-100 ; 0x1a6 <Exec_run+0x8>
|
| 342 |
208: 2b c0 rjmp .+86 ; 0x260 <Exec_run+0xc2>
|
340 |
20a: 2a c0 rjmp .+84 ; 0x260 <Exec_run+0xc2>
|
| 343 |
20a: 84 30 cpi r24, 0x04 ; 4
|
341 |
20c: e4 30 cpi r30, 0x04 ; 4
|
| 344 |
20c: 31 f1 breq .+76 ; 0x25a <Exec_run+0xbc>
|
342 |
20e: 29 f1 breq .+74 ; 0x25a <Exec_run+0xbc>
|
| 345 |
20e: 88 30 cpi r24, 0x08 ; 8
|
343 |
210: e8 30 cpi r30, 0x08 ; 8
|
| 346 |
210: 09 f0 breq .+2 ; 0x214 <Exec_run+0x76>
|
344 |
212: 49 f6 brne .-110 ; 0x1a6 <Exec_run+0x8>
|
| 347 |
212: c5 cf rjmp .-118 ; 0x19e <Exec_run>
|
- |
|
| 348 |
214: 1f c0 rjmp .+62 ; 0x254 <Exec_run+0xb6>
|
345 |
214: 1f c0 rjmp .+62 ; 0x254 <Exec_run+0xb6>
|
| 349 |
216: 80 38 cpi r24, 0x80 ; 128
|
346 |
216: e0 38 cpi r30, 0x80 ; 128
|
| 350 |
218: 79 f0 breq .+30 ; 0x238 <Exec_run+0x9a>
|
347 |
218: 79 f0 breq .+30 ; 0x238 <Exec_run+0x9a>
|
| 351 |
21a: 81 38 cpi r24, 0x81 ; 129
|
348 |
21a: e1 38 cpi r30, 0x81 ; 129
|
| 352 |
21c: 20 f4 brcc .+8 ; 0x226 <Exec_run+0x88>
|
349 |
21c: 20 f4 brcc .+8 ; 0x226 <Exec_run+0x88>
|
| 353 |
21e: 80 32 cpi r24, 0x20 ; 32
|
350 |
21e: e0 32 cpi r30, 0x20 ; 32
|
| 354 |
220: 09 f0 breq .+2 ; 0x224 <Exec_run+0x86>
|
351 |
220: 09 f0 breq .+2 ; 0x224 <Exec_run+0x86>
|
| 355 |
222: bd cf rjmp .-134 ; 0x19e <Exec_run>
|
352 |
222: c1 cf rjmp .-126 ; 0x1a6 <Exec_run+0x8>
|
| 356 |
224: 14 c0 rjmp .+40 ; 0x24e <Exec_run+0xb0>
|
353 |
224: 14 c0 rjmp .+40 ; 0x24e <Exec_run+0xb0>
|
| 357 |
226: 81 38 cpi r24, 0x81 ; 129
|
354 |
226: e1 38 cpi r30, 0x81 ; 129
|
| 358 |
228: 51 f0 breq .+20 ; 0x23e <Exec_run+0xa0>
|
355 |
228: 51 f0 breq .+20 ; 0x23e <Exec_run+0xa0>
|
| 359 |
22a: 80 39 cpi r24, 0x90 ; 144
|
356 |
22a: e0 39 cpi r30, 0x90 ; 144
|
| 360 |
22c: 09 f0 breq .+2 ; 0x230 <Exec_run+0x92>
|
357 |
22c: 09 f0 breq .+2 ; 0x230 <Exec_run+0x92>
|
| 361 |
22e: b7 cf rjmp .-146 ; 0x19e <Exec_run>
|
358 |
22e: bb cf rjmp .-138 ; 0x1a6 <Exec_run+0x8>
|
| 362 |
230: 1c c0 rjmp .+56 ; 0x26a <Exec_run+0xcc>
|
359 |
230: 1c c0 rjmp .+56 ; 0x26a <Exec_run+0xcc>
|
| 363 |
232: 82 e0 ldi r24, 0x02 ; 2
|
360 |
232: 82 e0 ldi r24, 0x02 ; 2
|
| 364 |
234: 2e d2 rcall .+1116 ; 0x692 <FrameMgr_dispatchEvent>
|
361 |
234: 19 d2 rcall .+1074 ; 0x668 <FrameMgr_dispatchEvent>
|
| 365 |
236: b3 cf rjmp .-154 ; 0x19e <Exec_run>
|
362 |
236: b7 cf rjmp .-146 ; 0x1a6 <Exec_run+0x8>
|
| 366 |
238: 80 e8 ldi r24, 0x80 ; 128
|
363 |
238: 80 e8 ldi r24, 0x80 ; 128
|
| 367 |
23a: 2b d2 rcall .+1110 ; 0x692 <FrameMgr_dispatchEvent>
|
364 |
23a: 16 d2 rcall .+1068 ; 0x668 <FrameMgr_dispatchEvent>
|
| 368 |
23c: b0 cf rjmp .-160 ; 0x19e <Exec_run>
|
365 |
23c: b4 cf rjmp .-152 ; 0x1a6 <Exec_run+0x8>
|
| 369 |
23e: 81 e8 ldi r24, 0x81 ; 129
|
366 |
23e: 81 e8 ldi r24, 0x81 ; 129
|
| 370 |
240: 28 d2 rcall .+1104 ; 0x692 <FrameMgr_dispatchEvent>
|
367 |
240: 13 d2 rcall .+1062 ; 0x668 <FrameMgr_dispatchEvent>
|
| 371 |
242: ad cf rjmp .-166 ; 0x19e <Exec_run>
|
368 |
242: b1 cf rjmp .-158 ; 0x1a6 <Exec_run+0x8>
|
| 372 |
244: 80 e1 ldi r24, 0x10 ; 16
|
369 |
244: 80 e1 ldi r24, 0x10 ; 16
|
| 373 |
246: 25 d2 rcall .+1098 ; 0x692 <FrameMgr_dispatchEvent>
|
370 |
246: 10 d2 rcall .+1056 ; 0x668 <FrameMgr_dispatchEvent>
|
| 374 |
248: 80 e1 ldi r24, 0x10 ; 16
|
371 |
248: 80 e1 ldi r24, 0x10 ; 16
|
| 375 |
24a: 75 d4 rcall .+2282 ; 0xb36 <UIMgr_dispatchEvent>
|
372 |
24a: 7a d4 rcall .+2292 ; 0xb40 <UIMgr_dispatchEvent>
|
| 376 |
24c: a8 cf rjmp .-176 ; 0x19e <Exec_run>
|
373 |
24c: ac cf rjmp .-168 ; 0x1a6 <Exec_run+0x8>
|
| 377 |
24e: 80 e2 ldi r24, 0x20 ; 32
|
374 |
24e: 80 e2 ldi r24, 0x20 ; 32
|
| 378 |
250: 20 d2 rcall .+1088 ; 0x692 <FrameMgr_dispatchEvent>
|
375 |
250: 0b d2 rcall .+1046 ; 0x668 <FrameMgr_dispatchEvent>
|
| 379 |
252: a5 cf rjmp .-182 ; 0x19e <Exec_run>
|
376 |
252: a9 cf rjmp .-174 ; 0x1a6 <Exec_run+0x8>
|
| 380 |
254: 88 e0 ldi r24, 0x08 ; 8
|
377 |
254: 88 e0 ldi r24, 0x08 ; 8
|
| 381 |
256: 1d d2 rcall .+1082 ; 0x692 <FrameMgr_dispatchEvent>
|
378 |
256: 08 d2 rcall .+1040 ; 0x668 <FrameMgr_dispatchEvent>
|
| 382 |
258: a2 cf rjmp .-188 ; 0x19e <Exec_run>
|
379 |
258: a6 cf rjmp .-180 ; 0x1a6 <Exec_run+0x8>
|
| 383 |
25a: 84 e0 ldi r24, 0x04 ; 4
|
380 |
25a: 84 e0 ldi r24, 0x04 ; 4
|
| 384 |
25c: 1a d2 rcall .+1076 ; 0x692 <FrameMgr_dispatchEvent>
|
381 |
25c: 05 d2 rcall .+1034 ; 0x668 <FrameMgr_dispatchEvent>
|
| 385 |
25e: 9f cf rjmp .-194 ; 0x19e <Exec_run>
|
382 |
25e: a3 cf rjmp .-186 ; 0x1a6 <Exec_run+0x8>
|
| 386 |
260: 81 e0 ldi r24, 0x01 ; 1
|
383 |
260: 81 e0 ldi r24, 0x01 ; 1
|
| 387 |
262: 69 d4 rcall .+2258 ; 0xb36 <UIMgr_dispatchEvent>
|
384 |
262: 6e d4 rcall .+2268 ; 0xb40 <UIMgr_dispatchEvent>
|
| 388 |
264: 81 e0 ldi r24, 0x01 ; 1
|
385 |
264: 81 e0 ldi r24, 0x01 ; 1
|
| 389 |
266: 15 d2 rcall .+1066 ; 0x692 <FrameMgr_dispatchEvent>
|
386 |
266: 00 d2 rcall .+1024 ; 0x668 <FrameMgr_dispatchEvent>
|
| 390 |
268: 9a cf rjmp .-204 ; 0x19e <Exec_run>
|
387 |
268: 9e cf rjmp .-196 ; 0x1a6 <Exec_run+0x8>
|
| 391 |
26a: 80 e9 ldi r24, 0x90 ; 144
|
388 |
26a: 80 e9 ldi r24, 0x90 ; 144
|
| 392 |
26c: 64 d4 rcall .+2248 ; 0xb36 <UIMgr_dispatchEvent>
|
389 |
26c: 69 d4 rcall .+2258 ; 0xb40 <UIMgr_dispatchEvent>
|
| 393 |
26e: 97 cf rjmp .-210 ; 0x19e <Exec_run>
|
390 |
26e: 9b cf rjmp .-202 ; 0x1a6 <Exec_run+0x8>
|
| 394 |
|
391 |
|
| 395 |
00000270 <FrameMgr_processFrame>:
|
392 |
00000270 <FrameMgr_processFrame>:
|
| 396 |
270: df 92 push r13
|
393 |
270: df 92 push r13
|
| 397 |
272: ef 92 push r14
|
394 |
272: ef 92 push r14
|
| 398 |
274: ff 92 push r15
|
395 |
274: ff 92 push r15
|
| Line 406... |
Line 403... |
| 406 |
28a: 88 23 and r24, r24
|
403 |
28a: 88 23 and r24, r24
|
| 407 |
28c: 09 f4 brne .+2 ; 0x290 <FrameMgr_processFrame+0x20>
|
404 |
28c: 09 f4 brne .+2 ; 0x290 <FrameMgr_processFrame+0x20>
|
| 408 |
28e: 3f c0 rjmp .+126 ; 0x30e <FrameMgr_processFrame+0x9e>
|
405 |
28e: 3f c0 rjmp .+126 ; 0x30e <FrameMgr_processFrame+0x9e>
|
| 409 |
290: e9 01 movw r28, r18
|
406 |
290: e9 01 movw r28, r18
|
| 410 |
292: 8a e0 ldi r24, 0x0A ; 10
|
407 |
292: 8a e0 ldi r24, 0x0A ; 10
|
| 411 |
294: 5c d2 rcall .+1208 ; 0x74e <UIMgr_writeTxFifo>
|
408 |
294: 43 d2 rcall .+1158 ; 0x71c <UIMgr_writeTxFifo>
|
| 412 |
296: 80 91 73 00 lds r24, 0x0073
|
409 |
296: 80 91 73 00 lds r24, 0x0073
|
| 413 |
29a: 59 d2 rcall .+1202 ; 0x74e <UIMgr_writeTxFifo>
|
410 |
29a: 40 d2 rcall .+1152 ; 0x71c <UIMgr_writeTxFifo>
|
| 414 |
29c: dd 24 eor r13, r13
|
411 |
29c: dd 24 eor r13, r13
|
| 415 |
29e: 8f 81 ldd r24, Y+7 ; 0x07
|
412 |
29e: 8f 81 ldd r24, Y+7 ; 0x07
|
| 416 |
2a0: 81 30 cpi r24, 0x01 ; 1
|
413 |
2a0: 81 30 cpi r24, 0x01 ; 1
|
| 417 |
2a2: 69 f5 brne .+90 ; 0x2fe <FrameMgr_processFrame+0x8e>
|
414 |
2a2: 69 f5 brne .+90 ; 0x2fe <FrameMgr_processFrame+0x8e>
|
| 418 |
2a4: 88 81 ld r24, Y
|
415 |
2a4: 88 81 ld r24, Y
|
| Line 449... |
Line 446... |
| 449 |
2e2: 80 e0 ldi r24, 0x00 ; 0
|
446 |
2e2: 80 e0 ldi r24, 0x00 ; 0
|
| 450 |
2e4: 1b 81 ldd r17, Y+3 ; 0x03
|
447 |
2e4: 1b 81 ldd r17, Y+3 ; 0x03
|
| 451 |
2e6: 0c 81 ldd r16, Y+4 ; 0x04
|
448 |
2e6: 0c 81 ldd r16, Y+4 ; 0x04
|
| 452 |
2e8: fd 80 ldd r15, Y+5 ; 0x05
|
449 |
2e8: fd 80 ldd r15, Y+5 ; 0x05
|
| 453 |
2ea: ee 80 ldd r14, Y+6 ; 0x06
|
450 |
2ea: ee 80 ldd r14, Y+6 ; 0x06
|
| 454 |
2ec: 30 d2 rcall .+1120 ; 0x74e <UIMgr_writeTxFifo>
|
451 |
2ec: 17 d2 rcall .+1070 ; 0x71c <UIMgr_writeTxFifo>
|
| 455 |
2ee: 81 2f mov r24, r17
|
452 |
2ee: 81 2f mov r24, r17
|
| 456 |
2f0: 2e d2 rcall .+1116 ; 0x74e <UIMgr_writeTxFifo>
|
453 |
2f0: 15 d2 rcall .+1066 ; 0x71c <UIMgr_writeTxFifo>
|
| 457 |
2f2: 80 2f mov r24, r16
|
454 |
2f2: 80 2f mov r24, r16
|
| 458 |
2f4: 2c d2 rcall .+1112 ; 0x74e <UIMgr_writeTxFifo>
|
455 |
2f4: 13 d2 rcall .+1062 ; 0x71c <UIMgr_writeTxFifo>
|
| 459 |
2f6: 8f 2d mov r24, r15
|
456 |
2f6: 8f 2d mov r24, r15
|
| 460 |
2f8: 2a d2 rcall .+1108 ; 0x74e <UIMgr_writeTxFifo>
|
457 |
2f8: 11 d2 rcall .+1058 ; 0x71c <UIMgr_writeTxFifo>
|
| 461 |
2fa: 8e 2d mov r24, r14
|
458 |
2fa: 8e 2d mov r24, r14
|
| 462 |
2fc: 28 d2 rcall .+1104 ; 0x74e <UIMgr_writeTxFifo>
|
459 |
2fc: 0f d2 rcall .+1054 ; 0x71c <UIMgr_writeTxFifo>
|
| 463 |
2fe: d3 94 inc r13
|
460 |
2fe: d3 94 inc r13
|
| 464 |
300: 88 e0 ldi r24, 0x08 ; 8
|
461 |
300: 88 e0 ldi r24, 0x08 ; 8
|
| 465 |
302: d8 16 cp r13, r24
|
462 |
302: d8 16 cp r13, r24
|
| 466 |
304: 11 f0 breq .+4 ; 0x30a <FrameMgr_processFrame+0x9a>
|
463 |
304: 11 f0 breq .+4 ; 0x30a <FrameMgr_processFrame+0x9a>
|
| 467 |
306: 28 96 adiw r28, 0x08 ; 8
|
464 |
306: 28 96 adiw r28, 0x08 ; 8
|
| 468 |
308: ca cf rjmp .-108 ; 0x29e <FrameMgr_processFrame+0x2e>
|
465 |
308: ca cf rjmp .-108 ; 0x29e <FrameMgr_processFrame+0x2e>
|
| 469 |
30a: 8f ef ldi r24, 0xFF ; 255
|
466 |
30a: 8f ef ldi r24, 0xFF ; 255
|
| 470 |
30c: 20 d2 rcall .+1088 ; 0x74e <UIMgr_writeTxFifo>
|
467 |
30c: 07 d2 rcall .+1038 ; 0x71c <UIMgr_writeTxFifo>
|
| 471 |
30e: 84 e0 ldi r24, 0x04 ; 4
|
468 |
30e: 84 e0 ldi r24, 0x04 ; 4
|
| 472 |
310: 38 df rcall .-400 ; 0x182 <Exec_writeEventFifo>
|
469 |
310: 38 df rcall .-400 ; 0x182 <Exec_writeEventFifo>
|
| 473 |
312: df 91 pop r29
|
470 |
312: df 91 pop r29
|
| 474 |
314: cf 91 pop r28
|
471 |
314: cf 91 pop r28
|
| 475 |
316: 1f 91 pop r17
|
472 |
316: 1f 91 pop r17
|
| Line 486... |
Line 483... |
| 486 |
328: 5f 92 push r5
|
483 |
328: 5f 92 push r5
|
| 487 |
32a: 6f 92 push r6
|
484 |
32a: 6f 92 push r6
|
| 488 |
32c: 7f 92 push r7
|
485 |
32c: 7f 92 push r7
|
| 489 |
32e: 8f 92 push r8
|
486 |
32e: 8f 92 push r8
|
| 490 |
330: 9f 92 push r9
|
487 |
330: 9f 92 push r9
|
| 491 |
332: af 92 push r10
|
488 |
332: bf 92 push r11
|
| 492 |
334: bf 92 push r11
|
489 |
334: cf 92 push r12
|
| 493 |
336: cf 92 push r12
|
490 |
336: df 92 push r13
|
| 494 |
338: df 92 push r13
|
491 |
338: ef 92 push r14
|
| 495 |
33a: ef 92 push r14
|
492 |
33a: ff 92 push r15
|
| 496 |
33c: ff 92 push r15
|
493 |
33c: 0f 93 push r16
|
| 497 |
33e: 0f 93 push r16
|
494 |
33e: 1f 93 push r17
|
| 498 |
340: 1f 93 push r17
|
495 |
340: cf 93 push r28
|
| 499 |
342: cf 93 push r28
|
496 |
342: df 93 push r29
|
| 500 |
344: df 93 push r29
|
497 |
344: cd b7 in r28, 0x3d ; 61
|
| 501 |
346: cd b7 in r28, 0x3d ; 61
|
498 |
346: de b7 in r29, 0x3e ; 62
|
| 502 |
348: de b7 in r29, 0x3e ; 62
|
499 |
348: 21 97 sbiw r28, 0x01 ; 1
|
| 503 |
34a: 21 97 sbiw r28, 0x01 ; 1
|
500 |
34a: 0f b6 in r0, 0x3f ; 63
|
| 504 |
34c: 0f b6 in r0, 0x3f ; 63
|
501 |
34c: f8 94 cli
|
| 505 |
34e: f8 94 cli
|
502 |
34e: de bf out 0x3e, r29 ; 62
|
| 506 |
350: de bf out 0x3e, r29 ; 62
|
503 |
350: 0f be out 0x3f, r0 ; 63
|
| 507 |
352: 0f be out 0x3f, r0 ; 63
|
504 |
352: cd bf out 0x3d, r28 ; 61
|
| 508 |
354: cd bf out 0x3d, r28 ; 61
|
505 |
354: 40 91 60 00 lds r20, 0x0060
|
| 509 |
356: 00 91 60 00 lds r16, 0x0060
|
506 |
358: 50 91 61 00 lds r21, 0x0061
|
| 510 |
35a: 10 91 61 00 lds r17, 0x0061
|
507 |
35c: 80 91 74 00 lds r24, 0x0074
|
| 511 |
35e: 80 91 74 00 lds r24, 0x0074
|
508 |
360: 82 30 cpi r24, 0x02 ; 2
|
| 512 |
362: 82 30 cpi r24, 0x02 ; 2
|
509 |
362: 09 f0 breq .+2 ; 0x366 <FrameMgr_processLine+0x44>
|
| 513 |
364: 09 f0 breq .+2 ; 0x368 <FrameMgr_processLine+0x46>
|
510 |
364: 5b c0 rjmp .+182 ; 0x41c <FrameMgr_processLine+0xfa>
|
| 514 |
366: 6a c0 rjmp .+212 ; 0x43c <FrameMgr_processLine+0x11a>
|
511 |
366: 8b e0 ldi r24, 0x0B ; 11
|
| 515 |
368: 8b e0 ldi r24, 0x0B ; 11
|
512 |
368: 02 d4 rcall .+2052 ; 0xb6e <UartInt_txByte>
|
| 516 |
36a: fc d3 rcall .+2040 ; 0xb64 <UartInt_txByte>
|
513 |
36a: 80 91 75 00 lds r24, 0x0075
|
| 517 |
36c: 80 91 75 00 lds r24, 0x0075
|
514 |
36e: ff d3 rcall .+2046 ; 0xb6e <UartInt_txByte>
|
| 518 |
370: f9 d3 rcall .+2034 ; 0xb64 <UartInt_txByte>
|
515 |
370: 0c eb ldi r16, 0xBC ; 188
|
| 519 |
372: 0f 2e mov r0, r31
|
516 |
372: 11 e0 ldi r17, 0x01 ; 1
|
| 520 |
374: fc eb ldi r31, 0xBC ; 188
|
517 |
374: 0f 2e mov r0, r31
|
| 521 |
376: cf 2e mov r12, r31
|
518 |
376: fc e0 ldi r31, 0x0C ; 12
|
| 522 |
378: f1 e0 ldi r31, 0x01 ; 1
|
519 |
378: ef 2e mov r14, r31
|
| 523 |
37a: df 2e mov r13, r31
|
520 |
37a: f1 e0 ldi r31, 0x01 ; 1
|
| 524 |
37c: f0 2d mov r31, r0
|
521 |
37c: ff 2e mov r15, r31
|
| 525 |
37e: 00 e0 ldi r16, 0x00 ; 0
|
522 |
37e: f0 2d mov r31, r0
|
| 526 |
380: 10 e0 ldi r17, 0x00 ; 0
|
523 |
380: 0f 2e mov r0, r31
|
| 527 |
382: 0f 2e mov r0, r31
|
524 |
382: fc e6 ldi r31, 0x6C ; 108
|
| 528 |
384: fc e0 ldi r31, 0x0C ; 12
|
525 |
384: cf 2e mov r12, r31
|
| 529 |
386: ef 2e mov r14, r31
|
526 |
386: f2 e0 ldi r31, 0x02 ; 2
|
| 530 |
388: f1 e0 ldi r31, 0x01 ; 1
|
527 |
388: df 2e mov r13, r31
|
| 531 |
38a: ff 2e mov r15, r31
|
528 |
38a: f0 2d mov r31, r0
|
| 532 |
38c: f0 2d mov r31, r0
|
529 |
38c: d8 01 movw r26, r16
|
| 533 |
38e: f6 01 movw r30, r12
|
530 |
38e: 8c 91 ld r24, X
|
| 534 |
390: 80 81 ld r24, Z
|
531 |
390: 89 83 std Y+1, r24 ; 0x01
|
| 535 |
392: 89 83 std Y+1, r24 ; 0x01
|
532 |
392: 89 81 ldd r24, Y+1 ; 0x01
|
| 536 |
394: 89 81 ldd r24, Y+1 ; 0x01
|
533 |
394: 8f 70 andi r24, 0x0F ; 15
|
| 537 |
396: 8f 70 andi r24, 0x0F ; 15
|
534 |
396: 89 83 std Y+1, r24 ; 0x01
|
| 538 |
398: 89 83 std Y+1, r24 ; 0x01
|
535 |
398: 89 81 ldd r24, Y+1 ; 0x01
|
| 539 |
39a: 89 81 ldd r24, Y+1 ; 0x01
|
536 |
39a: 82 95 swap r24
|
| 540 |
39c: 82 95 swap r24
|
537 |
39c: 80 7f andi r24, 0xF0 ; 240
|
| 541 |
39e: 80 7f andi r24, 0xF0 ; 240
|
538 |
39e: 89 83 std Y+1, r24 ; 0x01
|
| 542 |
3a0: 89 83 std Y+1, r24 ; 0x01
|
539 |
3a0: 99 81 ldd r25, Y+1 ; 0x01
|
| 543 |
3a2: 99 81 ldd r25, Y+1 ; 0x01
|
540 |
3a2: f7 01 movw r30, r14
|
| 544 |
3a4: f7 01 movw r30, r14
|
541 |
3a4: 80 81 ld r24, Z
|
| 545 |
3a6: 80 81 ld r24, Z
|
542 |
3a6: 8f 70 andi r24, 0x0F ; 15
|
| 546 |
3a8: 8f 70 andi r24, 0x0F ; 15
|
543 |
3a8: 89 2b or r24, r25
|
| 547 |
3aa: 89 2b or r24, r25
|
544 |
3aa: 89 83 std Y+1, r24 ; 0x01
|
| 548 |
3ac: 89 83 std Y+1, r24 ; 0x01
|
545 |
3ac: 89 81 ldd r24, Y+1 ; 0x01
|
| 549 |
3ae: 89 81 ldd r24, Y+1 ; 0x01
|
546 |
3ae: df d3 rcall .+1982 ; 0xb6e <UartInt_txByte>
|
| 550 |
3b0: d9 d3 rcall .+1970 ; 0xb64 <UartInt_txByte>
|
547 |
3b0: f7 01 movw r30, r14
|
| 551 |
3b2: d8 01 movw r26, r16
|
548 |
3b2: 81 81 ldd r24, Z+1 ; 0x01
|
| 552 |
3b4: 11 96 adiw r26, 0x01 ; 1
|
549 |
3b4: 89 83 std Y+1, r24 ; 0x01
|
| 553 |
3b6: fd 01 movw r30, r26
|
550 |
3b6: 89 81 ldd r24, Y+1 ; 0x01
|
| 554 |
3b8: e4 5f subi r30, 0xF4 ; 244
|
551 |
3b8: 8f 70 andi r24, 0x0F ; 15
|
| 555 |
3ba: fe 4f sbci r31, 0xFE ; 254
|
552 |
3ba: 89 83 std Y+1, r24 ; 0x01
|
| 556 |
3bc: 80 81 ld r24, Z
|
553 |
3bc: 89 81 ldd r24, Y+1 ; 0x01
|
| 557 |
3be: 89 83 std Y+1, r24 ; 0x01
|
554 |
3be: 82 95 swap r24
|
| 558 |
3c0: 89 81 ldd r24, Y+1 ; 0x01
|
555 |
3c0: 80 7f andi r24, 0xF0 ; 240
|
| 559 |
3c2: 8f 70 andi r24, 0x0F ; 15
|
556 |
3c2: 89 83 std Y+1, r24 ; 0x01
|
| 560 |
3c4: 89 83 std Y+1, r24 ; 0x01
|
557 |
3c4: 99 81 ldd r25, Y+1 ; 0x01
|
| 561 |
3c6: 89 81 ldd r24, Y+1 ; 0x01
|
558 |
3c6: f8 01 movw r30, r16
|
| 562 |
3c8: 82 95 swap r24
|
559 |
3c8: 81 81 ldd r24, Z+1 ; 0x01
|
| 563 |
3ca: 80 7f andi r24, 0xF0 ; 240
|
560 |
3ca: 8f 70 andi r24, 0x0F ; 15
|
| 564 |
3cc: 89 83 std Y+1, r24 ; 0x01
|
561 |
3cc: 89 2b or r24, r25
|
| 565 |
3ce: 99 81 ldd r25, Y+1 ; 0x01
|
562 |
3ce: 89 83 std Y+1, r24 ; 0x01
|
| 566 |
3d0: a4 54 subi r26, 0x44 ; 68
|
563 |
3d0: 89 81 ldd r24, Y+1 ; 0x01
|
| 567 |
3d2: be 4f sbci r27, 0xFE ; 254
|
564 |
3d2: cd d3 rcall .+1946 ; 0xb6e <UartInt_txByte>
|
| 568 |
3d4: 8c 91 ld r24, X
|
565 |
3d4: 0e 5f subi r16, 0xFE ; 254
|
| 569 |
3d6: 8f 70 andi r24, 0x0F ; 15
|
566 |
3d6: 1f 4f sbci r17, 0xFF ; 255
|
| 570 |
3d8: 89 2b or r24, r25
|
567 |
3d8: 82 e0 ldi r24, 0x02 ; 2
|
| 571 |
3da: 89 83 std Y+1, r24 ; 0x01
|
568 |
3da: 90 e0 ldi r25, 0x00 ; 0
|
| 572 |
3dc: 89 81 ldd r24, Y+1 ; 0x01
|
569 |
3dc: e8 0e add r14, r24
|
| 573 |
3de: c2 d3 rcall .+1924 ; 0xb64 <UartInt_txByte>
|
570 |
3de: f9 1e adc r15, r25
|
| 574 |
3e0: 82 e0 ldi r24, 0x02 ; 2
|
571 |
3e0: 0c 15 cp r16, r12
|
| 575 |
3e2: 90 e0 ldi r25, 0x00 ; 0
|
572 |
3e2: 1d 05 cpc r17, r13
|
| 576 |
3e4: c8 0e add r12, r24
|
573 |
3e4: 99 f6 brne .-90 ; 0x38c <FrameMgr_processLine+0x6a>
|
| 577 |
3e6: d9 1e adc r13, r25
|
574 |
3e6: 8f e0 ldi r24, 0x0F ; 15
|
| 578 |
3e8: 0e 5f subi r16, 0xFE ; 254
|
575 |
3e8: c2 d3 rcall .+1924 ; 0xb6e <UartInt_txByte>
|
| 579 |
3ea: 1f 4f sbci r17, 0xFF ; 255
|
576 |
3ea: 80 91 75 00 lds r24, 0x0075
|
| 580 |
3ec: e8 0e add r14, r24
|
577 |
3ee: 8f 5f subi r24, 0xFF ; 255
|
| 581 |
3ee: f9 1e adc r15, r25
|
578 |
3f0: 80 93 75 00 sts 0x0075, r24
|
| 582 |
3f0: 00 3b cpi r16, 0xB0 ; 176
|
579 |
3f4: 88 34 cpi r24, 0x48 ; 72
|
| 583 |
3f2: 11 05 cpc r17, r1
|
580 |
3f6: 60 f0 brcs .+24 ; 0x410 <FrameMgr_processLine+0xee>
|
| 584 |
3f4: 61 f6 brne .-104 ; 0x38e <FrameMgr_processLine+0x6c>
|
581 |
3f8: 10 92 75 00 sts 0x0075, r1
|
| 585 |
3f6: 8f e0 ldi r24, 0x0F ; 15
|
582 |
3fc: 10 92 74 00 sts 0x0074, r1
|
| 586 |
3f8: b5 d3 rcall .+1898 ; 0xb64 <UartInt_txByte>
|
583 |
400: 89 b7 in r24, 0x39 ; 57
|
| 587 |
3fa: 80 91 75 00 lds r24, 0x0075
|
584 |
402: 8b 7f andi r24, 0xFB ; 251
|
| 588 |
3fe: 8f 5f subi r24, 0xFF ; 255
|
585 |
404: 89 bf out 0x39, r24 ; 57
|
| 589 |
400: 80 93 75 00 sts 0x0075, r24
|
586 |
406: 60 e0 ldi r22, 0x00 ; 0
|
| 590 |
404: 88 34 cpi r24, 0x48 ; 72
|
587 |
408: 81 e1 ldi r24, 0x11 ; 17
|
| 591 |
406: 60 f0 brcs .+24 ; 0x420 <FrameMgr_processLine+0xfe>
|
588 |
40a: f3 d4 rcall .+2534 ; 0xdf2 <CamConfig_setCamReg>
|
| 592 |
408: 10 92 75 00 sts 0x0075, r1
|
589 |
40c: f7 d4 rcall .+2542 ; 0xdfc <CamConfig_sendFifoCmds>
|
| 593 |
40c: 10 92 74 00 sts 0x0074, r1
|
590 |
40e: bf c0 rjmp .+382 ; 0x58e <__stack+0x12f>
|
| 594 |
410: 89 b7 in r24, 0x39 ; 57
|
591 |
410: 80 91 72 00 lds r24, 0x0072
|
| 595 |
412: 8b 7f andi r24, 0xFB ; 251
|
592 |
414: 82 60 ori r24, 0x02 ; 2
|
| 596 |
414: 89 bf out 0x39, r24 ; 57
|
593 |
416: 80 93 72 00 sts 0x0072, r24
|
| 597 |
416: 60 e0 ldi r22, 0x00 ; 0
|
594 |
41a: b9 c0 rjmp .+370 ; 0x58e <__stack+0x12f>
|
| 598 |
418: 81 e1 ldi r24, 0x11 ; 17
|
595 |
41c: 81 30 cpi r24, 0x01 ; 1
|
| 599 |
41a: e9 d4 rcall .+2514 ; 0xdee <CamConfig_setCamReg>
|
596 |
41e: 09 f0 breq .+2 ; 0x422 <FrameMgr_processLine+0x100>
|
| 600 |
41c: ed d4 rcall .+2522 ; 0xdf8 <CamConfig_sendFifoCmds>
|
597 |
420: b6 c0 rjmp .+364 ; 0x58e <__stack+0x12f>
|
| 601 |
41e: c8 c0 rjmp .+400 ; 0x5b0 <__stack+0x151>
|
598 |
422: b0 90 76 00 lds r11, 0x0076
|
| 602 |
420: 80 91 72 00 lds r24, 0x0072
|
599 |
426: eb 2c mov r14, r11
|
| 603 |
424: 82 60 ori r24, 0x02 ; 2
|
600 |
428: ff 24 eor r15, r15
|
| 604 |
426: 80 93 72 00 sts 0x0072, r24
|
601 |
42a: 37 01 movw r6, r14
|
| 605 |
42a: c2 c0 rjmp .+388 ; 0x5b0 <__stack+0x151>
|
602 |
42c: 08 94 sec
|
| 606 |
42c: 80 e2 ldi r24, 0x20 ; 32
|
603 |
42e: 61 08 sbc r6, r1
|
| 607 |
42e: a9 de rcall .-686 ; 0x182 <Exec_writeEventFifo>
|
604 |
430: 71 08 sbc r7, r1
|
| 608 |
430: 89 b7 in r24, 0x39 ; 57
|
605 |
432: 00 91 73 00 lds r16, 0x0073
|
| 609 |
432: 8b 7f andi r24, 0xFB ; 251
|
606 |
436: 10 e0 ldi r17, 0x00 ; 0
|
| 610 |
434: 89 bf out 0x39, r24 ; 57
|
607 |
438: 60 e0 ldi r22, 0x00 ; 0
|
| 611 |
436: 10 92 76 00 sts 0x0076, r1
|
608 |
43a: 71 e0 ldi r23, 0x01 ; 1
|
| 612 |
43a: ba c0 rjmp .+372 ; 0x5b0 <__stack+0x151>
|
609 |
43c: 0f 2e mov r0, r31
|
| 613 |
43c: 81 30 cpi r24, 0x01 ; 1
|
610 |
43e: fc eb ldi r31, 0xBC ; 188
|
| 614 |
43e: 09 f0 breq .+2 ; 0x442 <FrameMgr_processLine+0x120>
|
611 |
440: 2f 2e mov r2, r31
|
| 615 |
440: b7 c0 rjmp .+366 ; 0x5b0 <__stack+0x151>
|
612 |
442: f1 e0 ldi r31, 0x01 ; 1
|
| 616 |
442: f0 90 76 00 lds r15, 0x0076
|
613 |
444: 3f 2e mov r3, r31
|
| 617 |
446: cf 2c mov r12, r15
|
614 |
446: f0 2d mov r31, r0
|
| 618 |
448: dd 24 eor r13, r13
|
615 |
448: d1 01 movw r26, r2
|
| 619 |
44a: 36 01 movw r6, r12
|
616 |
44a: 3c 91 ld r19, X
|
| 620 |
44c: 08 94 sec
|
617 |
44c: 17 0f add r17, r23
|
| 621 |
44e: 61 08 sbc r6, r1
|
618 |
44e: f1 01 movw r30, r2
|
| 622 |
450: 71 08 sbc r7, r1
|
619 |
450: 71 81 ldd r23, Z+1 ; 0x01
|
| 623 |
452: 70 91 73 00 lds r23, 0x0073
|
620 |
452: 82 e0 ldi r24, 0x02 ; 2
|
| 624 |
456: 0f 2e mov r0, r31
|
621 |
454: 90 e0 ldi r25, 0x00 ; 0
|
| 625 |
458: fc eb ldi r31, 0xBC ; 188
|
622 |
456: 28 0e add r2, r24
|
| 626 |
45a: 2f 2e mov r2, r31
|
623 |
458: 39 1e adc r3, r25
|
| 627 |
45c: f1 e0 ldi r31, 0x01 ; 1
|
624 |
45a: 67 0f add r22, r23
|
| 628 |
45e: 3f 2e mov r3, r31
|
625 |
45c: 33 23 and r19, r19
|
| 629 |
460: f0 2d mov r31, r0
|
626 |
45e: 09 f4 brne .+2 ; 0x462 <__stack+0x3>
|
| 630 |
462: 50 e0 ldi r21, 0x00 ; 0
|
627 |
460: 57 c0 rjmp .+174 ; 0x510 <__stack+0xb1>
|
| 631 |
464: 40 e0 ldi r20, 0x00 ; 0
|
628 |
462: 74 30 cpi r23, 0x04 ; 4
|
| 632 |
466: 61 e0 ldi r22, 0x01 ; 1
|
629 |
464: 08 f4 brcc .+2 ; 0x468 <__stack+0x9>
|
| 633 |
468: ef 2c mov r14, r15
|
630 |
466: 54 c0 rjmp .+168 ; 0x510 <__stack+0xb1>
|
| 634 |
46a: e3 94 inc r14
|
631 |
468: fa 01 movw r30, r20
|
| 635 |
46c: f1 01 movw r30, r2
|
632 |
46a: 20 e0 ldi r18, 0x00 ; 0
|
| 636 |
46e: 30 81 ld r19, Z
|
633 |
46c: 80 81 ld r24, Z
|
| 637 |
470: 56 0f add r21, r22
|
634 |
46e: 83 17 cp r24, r19
|
| 638 |
472: 61 81 ldd r22, Z+1 ; 0x01
|
635 |
470: b1 f5 brne .+108 ; 0x4de <__stack+0x7f>
|
| 639 |
474: 82 e0 ldi r24, 0x02 ; 2
|
636 |
472: 87 81 ldd r24, Z+7 ; 0x07
|
| 640 |
476: 90 e0 ldi r25, 0x00 ; 0
|
637 |
474: 81 30 cpi r24, 0x01 ; 1
|
| 641 |
478: 28 0e add r2, r24
|
638 |
476: 99 f5 brne .+102 ; 0x4de <__stack+0x7f>
|
| 642 |
47a: 39 1e adc r3, r25
|
639 |
478: 0f 2e mov r0, r31
|
| 643 |
47c: 46 0f add r20, r22
|
640 |
47a: f6 e0 ldi r31, 0x06 ; 6
|
| 644 |
47e: 33 23 and r19, r19
|
641 |
47c: cf 2e mov r12, r31
|
| 645 |
480: 09 f4 brne .+2 ; 0x484 <__stack+0x25>
|
642 |
47e: dd 24 eor r13, r13
|
| 646 |
482: 5c c0 rjmp .+184 ; 0x53c <__stack+0xdd>
|
643 |
480: f0 2d mov r31, r0
|
| 647 |
484: 64 30 cpi r22, 0x04 ; 4
|
644 |
482: ce 0e add r12, r30
|
| 648 |
486: 08 f4 brcc .+2 ; 0x48a <__stack+0x2b>
|
645 |
484: df 1e adc r13, r31
|
| 649 |
488: 59 c0 rjmp .+178 ; 0x53c <__stack+0xdd>
|
646 |
486: 86 81 ldd r24, Z+6 ; 0x06
|
| 650 |
48a: d8 01 movw r26, r16
|
647 |
488: 99 27 eor r25, r25
|
| 651 |
48c: 20 e0 ldi r18, 0x00 ; 0
|
648 |
48a: 86 15 cp r24, r6
|
| 652 |
48e: 8c 91 ld r24, X
|
649 |
48c: 97 05 cpc r25, r7
|
| 653 |
490: 38 17 cp r19, r24
|
650 |
48e: 39 f5 brne .+78 ; 0x4de <__stack+0x7f>
|
| 654 |
492: c9 f5 brne .+114 ; 0x506 <__stack+0xa7>
|
651 |
490: 2f 01 movw r4, r30
|
| 655 |
494: fd 01 movw r30, r26
|
652 |
492: 08 94 sec
|
| 656 |
496: 87 81 ldd r24, Z+7 ; 0x07
|
653 |
494: 41 1c adc r4, r1
|
| 657 |
498: 81 30 cpi r24, 0x01 ; 1
|
654 |
496: 51 1c adc r5, r1
|
| 658 |
49a: a9 f5 brne .+106 ; 0x506 <__stack+0xa7>
|
655 |
498: 81 81 ldd r24, Z+1 ; 0x01
|
| 659 |
49c: 0f 2e mov r0, r31
|
656 |
49a: 88 24 eor r8, r8
|
| 660 |
49e: f6 e0 ldi r31, 0x06 ; 6
|
657 |
49c: 99 24 eor r9, r9
|
| 661 |
4a0: af 2e mov r10, r31
|
658 |
49e: 68 94 set
|
| 662 |
4a2: bb 24 eor r11, r11
|
659 |
4a0: 81 f8 bld r8, 1
|
| 663 |
4a4: f0 2d mov r31, r0
|
660 |
4a2: 8e 0e add r8, r30
|
| 664 |
4a6: aa 0e add r10, r26
|
661 |
4a4: 9f 1e adc r9, r31
|
| 665 |
4a8: bb 1e adc r11, r27
|
662 |
4a6: 92 81 ldd r25, Z+2 ; 0x02
|
| 666 |
4aa: 86 81 ldd r24, Z+6 ; 0x06
|
663 |
4a8: 18 17 cp r17, r24
|
| 667 |
4ac: 99 27 eor r25, r25
|
664 |
4aa: 10 f0 brcs .+4 ; 0x4b0 <__stack+0x51>
|
| 668 |
4ae: 86 15 cp r24, r6
|
665 |
4ac: 91 17 cp r25, r17
|
| 669 |
4b0: 97 05 cpc r25, r7
|
666 |
4ae: 40 f4 brcc .+16 ; 0x4c0 <__stack+0x61>
|
| 670 |
4b2: 49 f5 brne .+82 ; 0x506 <__stack+0xa7>
|
667 |
4b0: 68 17 cp r22, r24
|
| 671 |
4b4: 2d 01 movw r4, r26
|
668 |
4b2: 10 f0 brcs .+4 ; 0x4b8 <__stack+0x59>
|
| 672 |
4b6: 08 94 sec
|
669 |
4b4: 96 17 cp r25, r22
|
| 673 |
4b8: 41 1c adc r4, r1
|
670 |
4b6: 20 f4 brcc .+8 ; 0x4c0 <__stack+0x61>
|
| 674 |
4ba: 51 1c adc r5, r1
|
671 |
4b8: 81 17 cp r24, r17
|
| 675 |
4bc: 81 81 ldd r24, Z+1 ; 0x01
|
672 |
4ba: 88 f0 brcs .+34 ; 0x4de <__stack+0x7f>
|
| 676 |
4be: 88 24 eor r8, r8
|
673 |
4bc: 69 17 cp r22, r25
|
| 677 |
4c0: 99 24 eor r9, r9
|
674 |
4be: 78 f0 brcs .+30 ; 0x4de <__stack+0x7f>
|
| 678 |
4c2: 68 94 set
|
675 |
4c0: d2 01 movw r26, r4
|
| 679 |
4c4: 81 f8 bld r8, 1
|
676 |
4c2: 1c 93 st X, r17
|
| 680 |
4c6: 8a 0e add r8, r26
|
677 |
4c4: d4 01 movw r26, r8
|
| 681 |
4c8: 9b 1e adc r9, r27
|
678 |
4c6: 6c 93 st X, r22
|
| 682 |
4ca: 92 81 ldd r25, Z+2 ; 0x02
|
679 |
4c8: 83 81 ldd r24, Z+3 ; 0x03
|
| 683 |
4cc: 58 17 cp r21, r24
|
680 |
4ca: 18 17 cp r17, r24
|
| 684 |
4ce: 10 f0 brcs .+4 ; 0x4d4 <__stack+0x75>
|
681 |
4cc: 08 f4 brcc .+2 ; 0x4d0 <__stack+0x71>
|
| 685 |
4d0: 95 17 cp r25, r21
|
682 |
4ce: 13 83 std Z+3, r17 ; 0x03
|
| 686 |
4d2: 40 f4 brcc .+16 ; 0x4e4 <__stack+0x85>
|
683 |
4d0: 85 81 ldd r24, Z+5 ; 0x05
|
| 687 |
4d4: 48 17 cp r20, r24
|
684 |
4d2: 86 17 cp r24, r22
|
| 688 |
4d6: 10 f0 brcs .+4 ; 0x4dc <__stack+0x7d>
|
685 |
4d4: 08 f4 brcc .+2 ; 0x4d8 <__stack+0x79>
|
| 689 |
4d8: 94 17 cp r25, r20
|
686 |
4d6: 65 83 std Z+5, r22 ; 0x05
|
| 690 |
4da: 20 f4 brcc .+8 ; 0x4e4 <__stack+0x85>
|
687 |
4d8: f6 01 movw r30, r12
|
| 691 |
4dc: 85 17 cp r24, r21
|
688 |
4da: b0 82 st Z, r11
|
| 692 |
4de: 98 f0 brcs .+38 ; 0x506 <__stack+0xa7>
|
689 |
4dc: 19 c0 rjmp .+50 ; 0x510 <__stack+0xb1>
|
| 693 |
4e0: 49 17 cp r20, r25
|
690 |
4de: 2f 5f subi r18, 0xFF ; 255
|
| 694 |
4e2: 88 f0 brcs .+34 ; 0x506 <__stack+0xa7>
|
691 |
4e0: 28 30 cpi r18, 0x08 ; 8
|
| 695 |
4e4: f2 01 movw r30, r4
|
692 |
4e2: 09 f4 brne .+2 ; 0x4e6 <__stack+0x87>
|
| 696 |
4e6: 50 83 st Z, r21
|
693 |
4e4: 50 c0 rjmp .+160 ; 0x586 <__stack+0x127>
|
| 697 |
4e8: f4 01 movw r30, r8
|
694 |
4e6: 38 96 adiw r30, 0x08 ; 8
|
| 698 |
4ea: 40 83 st Z, r20
|
695 |
4e8: c1 cf rjmp .-126 ; 0x46c <__stack+0xd>
|
| 699 |
4ec: fd 01 movw r30, r26
|
696 |
4ea: fa 01 movw r30, r20
|
| 700 |
4ee: 83 81 ldd r24, Z+3 ; 0x03
|
697 |
4ec: 90 e0 ldi r25, 0x00 ; 0
|
| 701 |
4f0: 58 17 cp r21, r24
|
698 |
4ee: 87 81 ldd r24, Z+7 ; 0x07
|
| 702 |
4f2: 08 f4 brcc .+2 ; 0x4f6 <__stack+0x97>
|
699 |
4f0: 88 23 and r24, r24
|
| 703 |
4f4: 53 83 std Z+3, r21 ; 0x03
|
700 |
4f2: 21 f0 breq .+8 ; 0x4fc <__stack+0x9d>
|
| 704 |
4f6: fd 01 movw r30, r26
|
701 |
4f4: 38 96 adiw r30, 0x08 ; 8
|
| 705 |
4f8: 85 81 ldd r24, Z+5 ; 0x05
|
702 |
4f6: 9f 5f subi r25, 0xFF ; 255
|
| 706 |
4fa: 84 17 cp r24, r20
|
703 |
4f8: 98 30 cpi r25, 0x08 ; 8
|
| 707 |
4fc: 08 f4 brcc .+2 ; 0x500 <__stack+0xa1>
|
704 |
4fa: c9 f7 brne .-14 ; 0x4ee <__stack+0x8f>
|
| 708 |
4fe: 45 83 std Z+5, r20 ; 0x05
|
705 |
4fc: 30 83 st Z, r19
|
| 709 |
500: f5 01 movw r30, r10
|
706 |
4fe: 11 83 std Z+1, r17 ; 0x01
|
| 710 |
502: f0 82 st Z, r15
|
707 |
500: 62 83 std Z+2, r22 ; 0x02
|
| 711 |
504: 1b c0 rjmp .+54 ; 0x53c <__stack+0xdd>
|
708 |
502: 13 83 std Z+3, r17 ; 0x03
|
| 712 |
506: 2f 5f subi r18, 0xFF ; 255
|
709 |
504: b4 82 std Z+4, r11 ; 0x04
|
| 713 |
508: 28 30 cpi r18, 0x08 ; 8
|
710 |
506: 65 83 std Z+5, r22 ; 0x05
|
| 714 |
50a: 09 f4 brne .+2 ; 0x50e <__stack+0xaf>
|
711 |
508: b6 82 std Z+6, r11 ; 0x06
|
| 715 |
50c: 4d c0 rjmp .+154 ; 0x5a8 <__stack+0x149>
|
712 |
50a: 81 e0 ldi r24, 0x01 ; 1
|
| 716 |
50e: 18 96 adiw r26, 0x08 ; 8
|
713 |
50c: 87 83 std Z+7, r24 ; 0x07
|
| 717 |
510: be cf rjmp .-132 ; 0x48e <__stack+0x2f>
|
714 |
50e: 0f 5f subi r16, 0xFF ; 255
|
| 718 |
512: d8 01 movw r26, r16
|
715 |
510: 60 3b cpi r22, 0xB0 ; 176
|
| 719 |
514: 90 e0 ldi r25, 0x00 ; 0
|
716 |
512: 08 f4 brcc .+2 ; 0x516 <__stack+0xb7>
|
| 720 |
516: fd 01 movw r30, r26
|
717 |
514: 99 cf rjmp .-206 ; 0x448 <FrameMgr_processLine+0x126>
|
| 721 |
518: 87 81 ldd r24, Z+7 ; 0x07
|
718 |
516: 00 93 73 00 sts 0x0073, r16
|
| 722 |
51a: 88 23 and r24, r24
|
719 |
51a: c7 01 movw r24, r14
|
| 723 |
51c: 21 f0 breq .+8 ; 0x526 <__stack+0xc7>
|
720 |
51c: 87 70 andi r24, 0x07 ; 7
|
| 724 |
51e: 18 96 adiw r26, 0x08 ; 8
|
721 |
51e: 90 70 andi r25, 0x00 ; 0
|
| 725 |
520: 9f 5f subi r25, 0xFF ; 255
|
722 |
520: 07 97 sbiw r24, 0x07 ; 7
|
| 726 |
522: 98 30 cpi r25, 0x08 ; 8
|
723 |
522: e9 f4 brne .+58 ; 0x55e <__stack+0xff>
|
| 727 |
524: c1 f7 brne .-16 ; 0x516 <__stack+0xb7>
|
724 |
524: 60 e0 ldi r22, 0x00 ; 0
|
| 728 |
526: 3c 93 st X, r19
|
725 |
526: fa 01 movw r30, r20
|
| 729 |
528: fd 01 movw r30, r26
|
726 |
528: 87 81 ldd r24, Z+7 ; 0x07
|
| 730 |
52a: 51 83 std Z+1, r21 ; 0x01
|
727 |
52a: 81 30 cpi r24, 0x01 ; 1
|
| 731 |
52c: 42 83 std Z+2, r20 ; 0x02
|
728 |
52c: 81 f4 brne .+32 ; 0x54e <__stack+0xef>
|
| 732 |
52e: 53 83 std Z+3, r21 ; 0x03
|
729 |
52e: 86 81 ldd r24, Z+6 ; 0x06
|
| 733 |
530: f4 82 std Z+4, r15 ; 0x04
|
730 |
530: 28 2f mov r18, r24
|
| 734 |
532: 45 83 std Z+5, r20 ; 0x05
|
731 |
532: 33 27 eor r19, r19
|
| 735 |
534: f6 82 std Z+6, r15 ; 0x06
|
732 |
534: 84 81 ldd r24, Z+4 ; 0x04
|
| 736 |
536: 81 e0 ldi r24, 0x01 ; 1
|
733 |
536: d9 01 movw r26, r18
|
| 737 |
538: 87 83 std Z+7, r24 ; 0x07
|
734 |
538: a8 1b sub r26, r24
|
| 738 |
53a: 7f 5f subi r23, 0xFF ; 255
|
735 |
53a: b1 09 sbc r27, r1
|
| 739 |
53c: 40 3b cpi r20, 0xB0 ; 176
|
736 |
53c: 13 97 sbiw r26, 0x03 ; 3
|
| 740 |
53e: 08 f4 brcc .+2 ; 0x542 <__stack+0xe3>
|
737 |
53e: 3c f4 brge .+14 ; 0x54e <__stack+0xef>
|
| 741 |
540: 95 cf rjmp .-214 ; 0x46c <__stack+0xd>
|
738 |
540: c7 01 movw r24, r14
|
| 742 |
542: 70 93 73 00 sts 0x0073, r23
|
739 |
542: 82 1b sub r24, r18
|
| 743 |
546: c6 01 movw r24, r12
|
740 |
544: 93 0b sbc r25, r19
|
| 744 |
548: 87 70 andi r24, 0x07 ; 7
|
741 |
546: 03 97 sbiw r24, 0x03 ; 3
|
| 745 |
54a: 90 70 andi r25, 0x00 ; 0
|
742 |
548: 14 f0 brlt .+4 ; 0x54e <__stack+0xef>
|
| 746 |
54c: 07 97 sbiw r24, 0x07 ; 7
|
743 |
54a: 17 82 std Z+7, r1 ; 0x07
|
| 747 |
54e: 01 f5 brne .+64 ; 0x590 <__stack+0x131>
|
744 |
54c: 01 50 subi r16, 0x01 ; 1
|
| 748 |
550: d8 01 movw r26, r16
|
745 |
54e: 6f 5f subi r22, 0xFF ; 255
|
| 749 |
552: 17 96 adiw r26, 0x07 ; 7
|
746 |
550: 68 30 cpi r22, 0x08 ; 8
|
| 750 |
554: 40 e0 ldi r20, 0x00 ; 0
|
747 |
552: 19 f0 breq .+6 ; 0x55a <__stack+0xfb>
|
| 751 |
556: 8c 91 ld r24, X
|
748 |
554: 48 5f subi r20, 0xF8 ; 248
|
| 752 |
558: 81 30 cpi r24, 0x01 ; 1
|
749 |
556: 5f 4f sbci r21, 0xFF ; 255
|
| 753 |
55a: a1 f4 brne .+40 ; 0x584 <__stack+0x125>
|
750 |
558: e6 cf rjmp .-52 ; 0x526 <__stack+0xc7>
|
| 754 |
55c: fd 01 movw r30, r26
|
751 |
55a: 00 93 73 00 sts 0x0073, r16
|
| 755 |
55e: 31 97 sbiw r30, 0x01 ; 1
|
752 |
55e: 8b 2d mov r24, r11
|
| 756 |
560: 90 81 ld r25, Z
|
753 |
560: 8f 5f subi r24, 0xFF ; 255
|
| 757 |
562: fd 01 movw r30, r26
|
754 |
562: 80 93 76 00 sts 0x0076, r24
|
| 758 |
564: 33 97 sbiw r30, 0x03 ; 3
|
755 |
566: 80 39 cpi r24, 0x90 ; 144
|
| 759 |
566: 80 81 ld r24, Z
|
756 |
568: 41 f4 brne .+16 ; 0x57a <__stack+0x11b>
|
| 760 |
568: 29 2f mov r18, r25
|
757 |
56a: 80 e2 ldi r24, 0x20 ; 32
|
| 761 |
56a: 33 27 eor r19, r19
|
758 |
56c: 0a de rcall .-1004 ; 0x182 <Exec_writeEventFifo>
|
| 762 |
56c: f9 01 movw r30, r18
|
759 |
56e: 89 b7 in r24, 0x39 ; 57
|
| 763 |
56e: e8 1b sub r30, r24
|
760 |
570: 8b 7f andi r24, 0xFB ; 251
|
| 764 |
570: f1 09 sbc r31, r1
|
761 |
572: 89 bf out 0x39, r24 ; 57
|
| 765 |
572: 33 97 sbiw r30, 0x03 ; 3
|
762 |
574: 10 92 76 00 sts 0x0076, r1
|
| 766 |
574: 3c f4 brge .+14 ; 0x584 <__stack+0x125>
|
763 |
578: 0a c0 rjmp .+20 ; 0x58e <__stack+0x12f>
|
| 767 |
576: c6 01 movw r24, r12
|
764 |
57a: 80 91 72 00 lds r24, 0x0072
|
| 768 |
578: 82 1b sub r24, r18
|
765 |
57e: 82 60 ori r24, 0x02 ; 2
|
| 769 |
57a: 93 0b sbc r25, r19
|
766 |
580: 80 93 72 00 sts 0x0072, r24
|
| 770 |
57c: 03 97 sbiw r24, 0x03 ; 3
|
767 |
584: 04 c0 rjmp .+8 ; 0x58e <__stack+0x12f>
|
| 771 |
57e: 14 f0 brlt .+4 ; 0x584 <__stack+0x125>
|
768 |
586: 08 30 cpi r16, 0x08 ; 8
|
| 772 |
580: 1c 92 st X, r1
|
769 |
588: 08 f4 brcc .+2 ; 0x58c <__stack+0x12d>
|
| 773 |
582: 71 50 subi r23, 0x01 ; 1
|
770 |
58a: af cf rjmp .-162 ; 0x4ea <__stack+0x8b>
|
| 774 |
584: 4f 5f subi r20, 0xFF ; 255
|
771 |
58c: c1 cf rjmp .-126 ; 0x510 <__stack+0xb1>
|
| 775 |
586: 18 96 adiw r26, 0x08 ; 8
|
772 |
58e: 21 96 adiw r28, 0x01 ; 1
|
| 776 |
588: 48 30 cpi r20, 0x08 ; 8
|
773 |
590: 0f b6 in r0, 0x3f ; 63
|
| 777 |
58a: 29 f7 brne .-54 ; 0x556 <__stack+0xf7>
|
774 |
592: f8 94 cli
|
| 778 |
58c: 70 93 73 00 sts 0x0073, r23
|
775 |
594: de bf out 0x3e, r29 ; 62
|
| 779 |
590: e0 92 76 00 sts 0x0076, r14
|
776 |
596: 0f be out 0x3f, r0 ; 63
|
| 780 |
594: f0 e9 ldi r31, 0x90 ; 144
|
777 |
598: cd bf out 0x3d, r28 ; 61
|
| 781 |
596: ef 16 cp r14, r31
|
778 |
59a: df 91 pop r29
|
| 782 |
598: 09 f4 brne .+2 ; 0x59c <__stack+0x13d>
|
779 |
59c: cf 91 pop r28
|
| 783 |
59a: 48 cf rjmp .-368 ; 0x42c <FrameMgr_processLine+0x10a>
|
780 |
59e: 1f 91 pop r17
|
| 784 |
59c: 80 91 72 00 lds r24, 0x0072
|
781 |
5a0: 0f 91 pop r16
|
| 785 |
5a0: 82 60 ori r24, 0x02 ; 2
|
782 |
5a2: ff 90 pop r15
|
| 786 |
5a2: 80 93 72 00 sts 0x0072, r24
|
783 |
5a4: ef 90 pop r14
|
| 787 |
5a6: 04 c0 rjmp .+8 ; 0x5b0 <__stack+0x151>
|
784 |
5a6: df 90 pop r13
|
| 788 |
5a8: 78 30 cpi r23, 0x08 ; 8
|
785 |
5a8: cf 90 pop r12
|
| 789 |
5aa: 08 f4 brcc .+2 ; 0x5ae <__stack+0x14f>
|
786 |
5aa: bf 90 pop r11
|
| 790 |
5ac: b2 cf rjmp .-156 ; 0x512 <__stack+0xb3>
|
787 |
5ac: 9f 90 pop r9
|
| 791 |
5ae: c6 cf rjmp .-116 ; 0x53c <__stack+0xdd>
|
788 |
5ae: 8f 90 pop r8
|
| 792 |
5b0: 21 96 adiw r28, 0x01 ; 1
|
789 |
5b0: 7f 90 pop r7
|
| 793 |
5b2: 0f b6 in r0, 0x3f ; 63
|
790 |
5b2: 6f 90 pop r6
|
| 794 |
5b4: f8 94 cli
|
791 |
5b4: 5f 90 pop r5
|
| 795 |
5b6: de bf out 0x3e, r29 ; 62
|
792 |
5b6: 4f 90 pop r4
|
| 796 |
5b8: 0f be out 0x3f, r0 ; 63
|
793 |
5b8: 3f 90 pop r3
|
| 797 |
5ba: cd bf out 0x3d, r28 ; 61
|
794 |
5ba: 2f 90 pop r2
|
| 798 |
5bc: df 91 pop r29
|
795 |
5bc: 08 95 ret
|
| 799 |
5be: cf 91 pop r28
|
796 |
|
| 800 |
5c0: 1f 91 pop r17
|
797 |
000005be <FrameMgr_init>:
|
| 801 |
5c2: 0f 91 pop r16
|
798 |
5be: 80 e4 ldi r24, 0x40 ; 64
|
| 802 |
5c4: ff 90 pop r15
|
799 |
5c0: e8 e7 ldi r30, 0x78 ; 120
|
| 803 |
5c6: ef 90 pop r14
|
800 |
5c2: f0 e0 ldi r31, 0x00 ; 0
|
| 804 |
5c8: df 90 pop r13
|
801 |
5c4: 11 92 st Z+, r1
|
| 805 |
5ca: cf 90 pop r12
|
802 |
5c6: 8a 95 dec r24
|
| 806 |
5cc: bf 90 pop r11
|
803 |
5c8: e9 f7 brne .-6 ; 0x5c4 <FrameMgr_init+0x6>
|
| 807 |
5ce: af 90 pop r10
|
804 |
5ca: 08 95 ret
|
| 808 |
5d0: 9f 90 pop r9
|
805 |
|
| 809 |
5d2: 8f 90 pop r8
|
806 |
000005cc <FrameMgr_acquireLine>:
|
| 810 |
5d4: 7f 90 pop r7
|
807 |
5cc: 80 91 74 00 lds r24, 0x0074
|
| 811 |
5d6: 6f 90 pop r6
|
808 |
5d0: 82 30 cpi r24, 0x02 ; 2
|
| 812 |
5d8: 5f 90 pop r5
|
809 |
5d2: 31 f5 brne .+76 ; 0x620 <FrameMgr_acquireLine+0x54>
|
| 813 |
5da: 4f 90 pop r4
|
810 |
5d4: 80 91 75 00 lds r24, 0x0075
|
| 814 |
5dc: 3f 90 pop r3
|
811 |
5d8: 98 2f mov r25, r24
|
| 815 |
5de: 2f 90 pop r2
|
812 |
5da: 99 0f add r25, r25
|
| 816 |
5e0: 08 95 ret
|
813 |
5dc: 80 eb ldi r24, 0xB0 ; 176
|
| 817 |
|
814 |
5de: ec eb ldi r30, 0xBC ; 188
|
| 818 |
000005e2 <FrameMgr_init>:
|
815 |
5e0: f1 e0 ldi r31, 0x01 ; 1
|
| 819 |
5e2: 80 e4 ldi r24, 0x40 ; 64
|
816 |
5e2: 28 2f mov r18, r24
|
| 820 |
5e4: e8 e7 ldi r30, 0x78 ; 120
|
817 |
5e4: 11 92 st Z+, r1
|
| 821 |
5e6: f0 e0 ldi r31, 0x00 ; 0
|
818 |
5e6: 2a 95 dec r18
|
| 822 |
5e8: 11 92 st Z+, r1
|
819 |
5e8: e9 f7 brne .-6 ; 0x5e4 <FrameMgr_acquireLine+0x18>
|
| 823 |
5ea: 8a 95 dec r24
|
820 |
5ea: ec e0 ldi r30, 0x0C ; 12
|
| 824 |
5ec: e9 f7 brne .-6 ; 0x5e8 <FrameMgr_init+0x6>
|
821 |
5ec: f1 e0 ldi r31, 0x01 ; 1
|
| 825 |
5ee: 08 95 ret
|
822 |
5ee: 11 92 st Z+, r1
|
| 826 |
|
823 |
5f0: 8a 95 dec r24
|
| 827 |
000005f0 <FrameMgr_acquireLine>:
|
824 |
5f2: e9 f7 brne .-6 ; 0x5ee <FrameMgr_acquireLine+0x22>
|
| 828 |
5f0: 80 91 74 00 lds r24, 0x0074
|
825 |
5f4: 82 9b sbis 0x10, 2 ; 16
|
| 829 |
5f4: 82 30 cpi r24, 0x02 ; 2
|
826 |
5f6: fe cf rjmp .-4 ; 0x5f4 <FrameMgr_acquireLine+0x28>
|
| 830 |
5f6: 49 f5 brne .+82 ; 0x64a <FrameMgr_acquireLine+0x5a>
|
827 |
5f8: 82 9b sbis 0x10, 2 ; 16
|
| 831 |
5f8: 80 91 75 00 lds r24, 0x0075
|
828 |
5fa: 07 c0 rjmp .+14 ; 0x60a <FrameMgr_acquireLine+0x3e>
|
| 832 |
5fc: 28 2f mov r18, r24
|
829 |
5fc: fd cf rjmp .-6 ; 0x5f8 <FrameMgr_acquireLine+0x2c>
|
| 833 |
5fe: 22 0f add r18, r18
|
830 |
5fe: 84 9b sbis 0x10, 4 ; 16
|
| 834 |
600: 80 eb ldi r24, 0xB0 ; 176
|
831 |
600: fe cf rjmp .-4 ; 0x5fe <FrameMgr_acquireLine+0x32>
|
| 835 |
602: ec eb ldi r30, 0xBC ; 188
|
832 |
602: 91 50 subi r25, 0x01 ; 1
|
| 836 |
604: f1 e0 ldi r31, 0x01 ; 1
|
833 |
604: 84 9b sbis 0x10, 4 ; 16
|
| 837 |
606: 98 2f mov r25, r24
|
834 |
606: 04 c0 rjmp .+8 ; 0x610 <FrameMgr_acquireLine+0x44>
|
| 838 |
608: 11 92 st Z+, r1
|
835 |
608: fd cf rjmp .-6 ; 0x604 <FrameMgr_acquireLine+0x38>
|
| 839 |
60a: 9a 95 dec r25
|
836 |
60a: 99 23 and r25, r25
|
| 840 |
60c: e9 f7 brne .-6 ; 0x608 <FrameMgr_acquireLine+0x18>
|
837 |
60c: c1 f7 brne .-16 ; 0x5fe <FrameMgr_acquireLine+0x32>
|
| 841 |
60e: ec e0 ldi r30, 0x0C ; 12
|
838 |
60e: 02 c0 rjmp .+4 ; 0x614 <FrameMgr_acquireLine+0x48>
|
| 842 |
610: f1 e0 ldi r31, 0x01 ; 1
|
839 |
610: 99 23 and r25, r25
|
| 843 |
612: 11 92 st Z+, r1
|
840 |
612: a9 f7 brne .-22 ; 0x5fe <FrameMgr_acquireLine+0x32>
|
| 844 |
614: 8a 95 dec r24
|
841 |
614: 6c e0 ldi r22, 0x0C ; 12
|
| 845 |
616: e9 f7 brne .-6 ; 0x612 <FrameMgr_acquireLine+0x22>
|
842 |
616: 71 e0 ldi r23, 0x01 ; 1
|
| 846 |
618: 82 9b sbis 0x10, 2 ; 16
|
843 |
618: 8c eb ldi r24, 0xBC ; 188
|
| 847 |
61a: fe cf rjmp .-4 ; 0x618 <FrameMgr_acquireLine+0x28>
|
844 |
61a: 91 e0 ldi r25, 0x01 ; 1
|
| 848 |
61c: 82 9b sbis 0x10, 2 ; 16
|
845 |
61c: e4 d4 rcall .+2504 ; 0xfe6 <CamIntAsm_acquireDumpLine>
|
| 849 |
61e: 07 c0 rjmp .+14 ; 0x62e <FrameMgr_acquireLine+0x3e>
|
846 |
61e: 08 95 ret
|
| 850 |
620: fd cf rjmp .-6 ; 0x61c <FrameMgr_acquireLine+0x2c>
|
847 |
620: 81 30 cpi r24, 0x01 ; 1
|
| 851 |
622: 90 e0 ldi r25, 0x00 ; 0
|
848 |
622: 39 f4 brne .+14 ; 0x632 <FrameMgr_acquireLine+0x66>
|
| 852 |
624: 84 9b sbis 0x10, 4 ; 16
|
849 |
624: 84 99 sbic 0x10, 4 ; 16
|
| 853 |
626: fe cf rjmp .-4 ; 0x624 <FrameMgr_acquireLine+0x34>
|
850 |
626: fe cf rjmp .-4 ; 0x624 <FrameMgr_acquireLine+0x58>
|
| 854 |
628: 84 9b sbis 0x10, 4 ; 16
|
851 |
628: 60 e0 ldi r22, 0x00 ; 0
|
| 855 |
62a: 04 c0 rjmp .+8 ; 0x634 <FrameMgr_acquireLine+0x44>
|
852 |
62a: 73 e0 ldi r23, 0x03 ; 3
|
| 856 |
62c: fd cf rjmp .-6 ; 0x628 <FrameMgr_acquireLine+0x38>
|
853 |
62c: 8c eb ldi r24, 0xBC ; 188
|
| 857 |
62e: 22 23 and r18, r18
|
854 |
62e: 91 e0 ldi r25, 0x01 ; 1
|
| 858 |
630: c1 f7 brne .-16 ; 0x622 <FrameMgr_acquireLine+0x32>
|
855 |
630: 93 d4 rcall .+2342 ; 0xf58 <CamIntAsm_acquireTrackingLine>
|
| 859 |
632: 05 c0 rjmp .+10 ; 0x63e <FrameMgr_acquireLine+0x4e>
|
856 |
632: 08 95 ret
|
| 860 |
634: 91 50 subi r25, 0x01 ; 1
|
857 |
|
| 861 |
636: 82 2f mov r24, r18
|
858 |
00000634 <FrameMgr_acquireFrame>:
|
| 862 |
638: 81 95 neg r24
|
859 |
634: 80 91 74 00 lds r24, 0x0074
|
| 863 |
63a: 98 17 cp r25, r24
|
860 |
638: 81 30 cpi r24, 0x01 ; 1
|
| 864 |
63c: 99 f7 brne .-26 ; 0x624 <FrameMgr_acquireLine+0x34>
|
861 |
63a: a9 f4 brne .+42 ; 0x666 <FrameMgr_acquireFrame+0x32>
|
| 865 |
63e: 6c e0 ldi r22, 0x0C ; 12
|
862 |
63c: 10 92 76 00 sts 0x0076, r1
|
| 866 |
640: 71 e0 ldi r23, 0x01 ; 1
|
863 |
640: 80 91 73 00 lds r24, 0x0073
|
| 867 |
642: 8c eb ldi r24, 0xBC ; 188
|
864 |
644: 80 93 77 00 sts 0x0077, r24
|
| 868 |
644: 91 e0 ldi r25, 0x01 ; 1
|
865 |
648: 10 92 73 00 sts 0x0073, r1
|
| 869 |
646: c3 d4 rcall .+2438 ; 0xfce <CamIntAsm_acquireDumpLine>
|
866 |
64c: 80 e4 ldi r24, 0x40 ; 64
|
| 870 |
648: 08 95 ret
|
867 |
64e: e8 e7 ldi r30, 0x78 ; 120
|
| 871 |
64a: 81 30 cpi r24, 0x01 ; 1
|
868 |
650: f0 e0 ldi r31, 0x00 ; 0
|
| 872 |
64c: 39 f4 brne .+14 ; 0x65c <FrameMgr_acquireLine+0x6c>
|
869 |
652: 11 92 st Z+, r1
|
| 873 |
64e: 84 99 sbic 0x10, 4 ; 16
|
870 |
654: 8a 95 dec r24
|
| 874 |
650: fe cf rjmp .-4 ; 0x64e <FrameMgr_acquireLine+0x5e>
|
871 |
656: e9 f7 brne .-6 ; 0x652 <FrameMgr_acquireFrame+0x1e>
|
| 875 |
652: 60 e0 ldi r22, 0x00 ; 0
|
872 |
658: 82 9b sbis 0x10, 2 ; 16
|
| 876 |
654: 73 e0 ldi r23, 0x03 ; 3
|
873 |
65a: fe cf rjmp .-4 ; 0x658 <FrameMgr_acquireFrame+0x24>
|
| 877 |
656: 8c eb ldi r24, 0xBC ; 188
|
874 |
65c: 60 e0 ldi r22, 0x00 ; 0
|
| 878 |
658: 91 e0 ldi r25, 0x01 ; 1
|
875 |
65e: 73 e0 ldi r23, 0x03 ; 3
|
| 879 |
65a: 72 d4 rcall .+2276 ; 0xf40 <CamIntAsm_acquireTrackingLine>
|
876 |
660: 8c eb ldi r24, 0xBC ; 188
|
| 880 |
65c: 08 95 ret
|
877 |
662: 91 e0 ldi r25, 0x01 ; 1
|
| 881 |
|
878 |
664: 79 d4 rcall .+2290 ; 0xf58 <CamIntAsm_acquireTrackingLine>
|
| 882 |
0000065e <FrameMgr_acquireFrame>:
|
879 |
666: 08 95 ret
|
| 883 |
65e: 80 91 74 00 lds r24, 0x0074
|
880 |
|
| 884 |
662: 81 30 cpi r24, 0x01 ; 1
|
881 |
00000668 <FrameMgr_dispatchEvent>:
|
| 885 |
664: a9 f4 brne .+42 ; 0x690 <FrameMgr_acquireFrame+0x32>
|
882 |
668: 84 30 cpi r24, 0x04 ; 4
|
| 886 |
666: 10 92 76 00 sts 0x0076, r1
|
883 |
66a: 19 f1 breq .+70 ; 0x6b2 <FrameMgr_dispatchEvent+0x4a>
|
| 887 |
66a: 80 91 73 00 lds r24, 0x0073
|
884 |
66c: 85 30 cpi r24, 0x05 ; 5
|
| 888 |
66e: 80 93 77 00 sts 0x0077, r24
|
885 |
66e: 28 f4 brcc .+10 ; 0x67a <FrameMgr_dispatchEvent+0x12>
|
| 889 |
672: 10 92 73 00 sts 0x0073, r1
|
886 |
670: 81 30 cpi r24, 0x01 ; 1
|
| 890 |
676: 80 e4 ldi r24, 0x40 ; 64
|
887 |
672: 09 f1 breq .+66 ; 0x6b6 <FrameMgr_dispatchEvent+0x4e>
|
| 891 |
678: e8 e7 ldi r30, 0x78 ; 120
|
888 |
674: 82 30 cpi r24, 0x02 ; 2
|
| 892 |
67a: f0 e0 ldi r31, 0x00 ; 0
|
889 |
676: 41 f5 brne .+80 ; 0x6c8 <FrameMgr_dispatchEvent+0x60>
|
| 893 |
67c: 11 92 st Z+, r1
|
890 |
678: 07 c0 rjmp .+14 ; 0x688 <FrameMgr_dispatchEvent+0x20>
|
| 894 |
67e: 8a 95 dec r24
|
891 |
67a: 80 38 cpi r24, 0x80 ; 128
|
| 895 |
680: e9 f7 brne .-6 ; 0x67c <FrameMgr_acquireFrame+0x1e>
|
892 |
67c: 99 f0 breq .+38 ; 0x6a4 <FrameMgr_dispatchEvent+0x3c>
|
| 896 |
682: 82 9b sbis 0x10, 2 ; 16
|
893 |
67e: 81 38 cpi r24, 0x81 ; 129
|
| 897 |
684: fe cf rjmp .-4 ; 0x682 <FrameMgr_acquireFrame+0x24>
|
894 |
680: 09 f1 breq .+66 ; 0x6c4 <FrameMgr_dispatchEvent+0x5c>
|
| 898 |
686: 60 e0 ldi r22, 0x00 ; 0
|
895 |
682: 80 32 cpi r24, 0x20 ; 32
|
| 899 |
688: 73 e0 ldi r23, 0x03 ; 3
|
896 |
684: 09 f5 brne .+66 ; 0x6c8 <FrameMgr_dispatchEvent+0x60>
|
| 900 |
68a: 8c eb ldi r24, 0xBC ; 188
|
897 |
686: 13 c0 rjmp .+38 ; 0x6ae <FrameMgr_dispatchEvent+0x46>
|
| 901 |
68c: 91 e0 ldi r25, 0x01 ; 1
|
898 |
688: 61 e0 ldi r22, 0x01 ; 1
|
| 902 |
68e: 58 d4 rcall .+2224 ; 0xf40 <CamIntAsm_acquireTrackingLine>
|
899 |
68a: 81 e1 ldi r24, 0x11 ; 17
|
| 903 |
690: 08 95 ret
|
900 |
68c: b2 d3 rcall .+1892 ; 0xdf2 <CamConfig_setCamReg>
|
| 904 |
|
901 |
68e: b6 d3 rcall .+1900 ; 0xdfc <CamConfig_sendFifoCmds>
|
| 905 |
00000692 <FrameMgr_dispatchEvent>:
|
902 |
690: 88 ee ldi r24, 0xE8 ; 232
|
| 906 |
692: 84 30 cpi r24, 0x04 ; 4
|
903 |
692: 93 e0 ldi r25, 0x03 ; 3
|
| 907 |
694: 19 f1 breq .+70 ; 0x6dc <FrameMgr_dispatchEvent+0x4a>
|
904 |
694: 08 d4 rcall .+2064 ; 0xea6 <Utility_delay>
|
| 908 |
696: 85 30 cpi r24, 0x05 ; 5
|
905 |
696: 10 92 75 00 sts 0x0075, r1
|
| 909 |
698: 28 f4 brcc .+10 ; 0x6a4 <FrameMgr_dispatchEvent+0x12>
|
906 |
69a: 82 e0 ldi r24, 0x02 ; 2
|
| 910 |
69a: 81 30 cpi r24, 0x01 ; 1
|
907 |
69c: 80 93 74 00 sts 0x0074, r24
|
| 911 |
69c: 09 f1 breq .+66 ; 0x6e0 <FrameMgr_dispatchEvent+0x4e>
|
908 |
6a0: 95 df rcall .-214 ; 0x5cc <FrameMgr_acquireLine>
|
| 912 |
69e: 82 30 cpi r24, 0x02 ; 2
|
909 |
6a2: 08 95 ret
|
| 913 |
6a0: 41 f5 brne .+80 ; 0x6f2 <FrameMgr_dispatchEvent+0x60>
|
910 |
6a4: 81 e0 ldi r24, 0x01 ; 1
|
| 914 |
6a2: 07 c0 rjmp .+14 ; 0x6b2 <FrameMgr_dispatchEvent+0x20>
|
911 |
6a6: 80 93 74 00 sts 0x0074, r24
|
| 915 |
6a4: 80 38 cpi r24, 0x80 ; 128
|
912 |
6aa: c4 df rcall .-120 ; 0x634 <FrameMgr_acquireFrame>
|
| 916 |
6a6: 99 f0 breq .+38 ; 0x6ce <FrameMgr_dispatchEvent+0x3c>
|
913 |
6ac: 08 95 ret
|
| 917 |
6a8: 81 38 cpi r24, 0x81 ; 129
|
914 |
6ae: e0 dd rcall .-1088 ; 0x270 <FrameMgr_processFrame>
|
| 918 |
6aa: 09 f1 breq .+66 ; 0x6ee <FrameMgr_dispatchEvent+0x5c>
|
915 |
6b0: 08 95 ret
|
| 919 |
6ac: 80 32 cpi r24, 0x20 ; 32
|
916 |
6b2: c0 df rcall .-128 ; 0x634 <FrameMgr_acquireFrame>
|
| 920 |
6ae: 09 f5 brne .+66 ; 0x6f2 <FrameMgr_dispatchEvent+0x60>
|
917 |
6b4: 08 95 ret
|
| 921 |
6b0: 13 c0 rjmp .+38 ; 0x6d8 <FrameMgr_dispatchEvent+0x46>
|
918 |
6b6: 80 91 74 00 lds r24, 0x0074
|
| 922 |
6b2: 61 e0 ldi r22, 0x01 ; 1
|
919 |
6ba: 88 23 and r24, r24
|
| 923 |
6b4: 81 e1 ldi r24, 0x11 ; 17
|
920 |
6bc: 29 f0 breq .+10 ; 0x6c8 <FrameMgr_dispatchEvent+0x60>
|
| 924 |
6b6: 9b d3 rcall .+1846 ; 0xdee <CamConfig_setCamReg>
|
921 |
6be: 84 e0 ldi r24, 0x04 ; 4
|
| 925 |
6b8: 9f d3 rcall .+1854 ; 0xdf8 <CamConfig_sendFifoCmds>
|
922 |
6c0: 60 dd rcall .-1344 ; 0x182 <Exec_writeEventFifo>
|
| 926 |
6ba: 88 ee ldi r24, 0xE8 ; 232
|
923 |
6c2: 08 95 ret
|
| 927 |
6bc: 93 e0 ldi r25, 0x03 ; 3
|
924 |
6c4: 10 92 74 00 sts 0x0074, r1
|
| 928 |
6be: e7 d3 rcall .+1998 ; 0xe8e <Utility_delay>
|
925 |
6c8: 08 95 ret
|
| 929 |
6c0: 10 92 75 00 sts 0x0075, r1
|
- |
|
| 930 |
6c4: 82 e0 ldi r24, 0x02 ; 2
|
- |
|
| 931 |
6c6: 80 93 74 00 sts 0x0074, r24
|
- |
|
| 932 |
6ca: 92 df rcall .-220 ; 0x5f0 <FrameMgr_acquireLine>
|
- |
|
| 933 |
6cc: 08 95 ret
|
- |
|
| 934 |
6ce: 81 e0 ldi r24, 0x01 ; 1
|
- |
|
| 935 |
6d0: 80 93 74 00 sts 0x0074, r24
|
- |
|
| 936 |
6d4: c4 df rcall .-120 ; 0x65e <FrameMgr_acquireFrame>
|
- |
|
| 937 |
6d6: 08 95 ret
|
- |
|
| 938 |
6d8: cb dd rcall .-1130 ; 0x270 <FrameMgr_processFrame>
|
- |
|
| 939 |
6da: 08 95 ret
|
- |
|
| 940 |
6dc: c0 df rcall .-128 ; 0x65e <FrameMgr_acquireFrame>
|
- |
|
| 941 |
6de: 08 95 ret
|
- |
|
| 942 |
6e0: 80 91 74 00 lds r24, 0x0074
|
- |
|
| 943 |
6e4: 88 23 and r24, r24
|
- |
|
| 944 |
6e6: 29 f0 breq .+10 ; 0x6f2 <FrameMgr_dispatchEvent+0x60>
|
- |
|
| 945 |
6e8: 84 e0 ldi r24, 0x04 ; 4
|
- |
|
| 946 |
6ea: 4b dd rcall .-1386 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 947 |
6ec: 08 95 ret
|
- |
|
| 948 |
6ee: 10 92 74 00 sts 0x0074, r1
|
- |
|
| 949 |
6f2: 08 95 ret
|
- |
|
| 950 |
|
- |
|
| 951 |
000006f4 <UIMgr_writeBufferToTxFifo>:
|
- |
|
| 952 |
6f4: dc 01 movw r26, r24
|
- |
|
| 953 |
6f6: 86 2f mov r24, r22
|
- |
|
| 954 |
6f8: 66 23 and r22, r22
|
- |
|
| 955 |
6fa: c9 f0 breq .+50 ; 0x72e <UIMgr_writeBufferToTxFifo+0x3a>
|
- |
|
| 956 |
6fc: f8 94 cli
|
- |
|
| 957 |
6fe: 61 50 subi r22, 0x01 ; 1
|
- |
|
| 958 |
700: 6f 3f cpi r22, 0xFF ; 255
|
- |
|
| 959 |
702: a1 f0 breq .+40 ; 0x72c <UIMgr_writeBufferToTxFifo+0x38>
|
- |
|
| 960 |
704: 26 2f mov r18, r22
|
- |
|
| 961 |
706: 44 e9 ldi r20, 0x94 ; 148
|
- |
|
| 962 |
708: 52 e0 ldi r21, 0x02 ; 2
|
- |
|
| 963 |
70a: 86 1b sub r24, r22
|
- |
|
| 964 |
70c: 68 2f mov r22, r24
|
- |
|
| 965 |
70e: 62 50 subi r22, 0x02 ; 2
|
- |
|
| 966 |
710: 80 91 ba 00 lds r24, 0x00BA
|
- |
|
| 967 |
714: fa 01 movw r30, r20
|
- |
|
| 968 |
716: e8 0f add r30, r24
|
- |
|
| 969 |
718: f1 1d adc r31, r1
|
- |
|
| 970 |
71a: 9d 91 ld r25, X+
|
- |
|
| 971 |
71c: 90 83 st Z, r25
|
- |
|
| 972 |
71e: 8f 5f subi r24, 0xFF ; 255
|
- |
|
| 973 |
720: 8f 73 andi r24, 0x3F ; 63
|
- |
|
| 974 |
722: 80 93 ba 00 sts 0x00BA, r24
|
- |
|
| 975 |
726: 21 50 subi r18, 0x01 ; 1
|
- |
|
| 976 |
728: 62 17 cp r22, r18
|
- |
|
| 977 |
72a: 91 f7 brne .-28 ; 0x710 <UIMgr_writeBufferToTxFifo+0x1c>
|
- |
|
| 978 |
72c: 78 94 sei
|
- |
|
| 979 |
72e: 08 95 ret
|
- |
|
| 980 |
|
- |
|
| 981 |
00000730 <UIMgr_readTxFifo>:
|
- |
|
| 982 |
730: f8 94 cli
|
- |
|
| 983 |
732: 90 91 bb 00 lds r25, 0x00BB
|
- |
|
| 984 |
736: e4 e9 ldi r30, 0x94 ; 148
|
- |
|
| 985 |
738: f2 e0 ldi r31, 0x02 ; 2
|
- |
|
| 986 |
73a: e9 0f add r30, r25
|
- |
|
| 987 |
73c: f1 1d adc r31, r1
|
- |
|
| 988 |
73e: 80 81 ld r24, Z
|
- |
|
| 989 |
740: 9f 5f subi r25, 0xFF ; 255
|
- |
|
| 990 |
742: 9f 73 andi r25, 0x3F ; 63
|
- |
|
| 991 |
744: 90 93 bb 00 sts 0x00BB, r25
|
- |
|
| 992 |
748: 78 94 sei
|
- |
|
| 993 |
74a: 99 27 eor r25, r25
|
- |
|
| 994 |
74c: 08 95 ret
|
- |
|
| 995 |
|
- |
|
| 996 |
0000074e <UIMgr_writeTxFifo>:
|
- |
|
| 997 |
74e: f8 94 cli
|
- |
|
| 998 |
750: 90 91 ba 00 lds r25, 0x00BA
|
- |
|
| 999 |
754: e4 e9 ldi r30, 0x94 ; 148
|
- |
|
| 1000 |
756: f2 e0 ldi r31, 0x02 ; 2
|
- |
|
| 1001 |
758: e9 0f add r30, r25
|
- |
|
| 1002 |
75a: f1 1d adc r31, r1
|
- |
|
| 1003 |
75c: 80 83 st Z, r24
|
- |
|
| 1004 |
75e: 9f 5f subi r25, 0xFF ; 255
|
- |
|
| 1005 |
760: 9f 73 andi r25, 0x3F ; 63
|
- |
|
| 1006 |
762: 90 93 ba 00 sts 0x00BA, r25
|
- |
|
| 1007 |
766: 78 94 sei
|
- |
|
| 1008 |
768: 08 95 ret
|
- |
|
| 1009 |
|
- |
|
| 1010 |
0000076a <UIMgr_flushTxBuffer>:
|
- |
|
| 1011 |
76a: 90 91 ba 00 lds r25, 0x00BA
|
- |
|
| 1012 |
76e: 80 91 bb 00 lds r24, 0x00BB
|
- |
|
| 1013 |
772: 98 17 cp r25, r24
|
- |
|
| 1014 |
774: 41 f0 breq .+16 ; 0x786 <UIMgr_flushTxBuffer+0x1c>
|
- |
|
| 1015 |
776: dc df rcall .-72 ; 0x730 <UIMgr_readTxFifo>
|
- |
|
| 1016 |
778: f5 d1 rcall .+1002 ; 0xb64 <UartInt_txByte>
|
- |
|
| 1017 |
77a: 90 91 ba 00 lds r25, 0x00BA
|
- |
|
| 1018 |
77e: 80 91 bb 00 lds r24, 0x00BB
|
- |
|
| 1019 |
782: 98 17 cp r25, r24
|
- |
|
| 1020 |
784: c1 f7 brne .-16 ; 0x776 <UIMgr_flushTxBuffer+0xc>
|
- |
|
| 1021 |
786: 08 95 ret
|
- |
|
| 1022 |
|
926 |
|
| 1023 |
00000788 <UIMgr_txBuffer>:
|
927 |
000006ca <UIMgr_writeBufferToTxFifo>:
|
| 1024 |
788: 0f 93 push r16
|
- |
|
| 1025 |
78a: 1f 93 push r17
|
- |
|
| 1026 |
78c: cf 93 push r28
|
- |
|
| 1027 |
78e: df 93 push r29
|
- |
|
| 1028 |
790: ec 01 movw r28, r24
|
- |
|
| 1029 |
792: 86 2f mov r24, r22
|
- |
|
| 1030 |
794: 61 50 subi r22, 0x01 ; 1
|
- |
|
| 1031 |
796: 6f 3f cpi r22, 0xFF ; 255
|
- |
|
| 1032 |
798: 49 f0 breq .+18 ; 0x7ac <UIMgr_txBuffer+0x24>
|
- |
|
| 1033 |
79a: 16 2f mov r17, r22
|
- |
|
| 1034 |
79c: 86 1b sub r24, r22
|
- |
|
| 1035 |
79e: 08 2f mov r16, r24
|
- |
|
| 1036 |
7a0: 02 50 subi r16, 0x02 ; 2
|
- |
|
| 1037 |
7a2: 89 91 ld r24, Y+
|
- |
|
| 1038 |
7a4: df d1 rcall .+958 ; 0xb64 <UartInt_txByte>
|
- |
|
| 1039 |
7a6: 11 50 subi r17, 0x01 ; 1
|
- |
|
| 1040 |
7a8: 01 17 cp r16, r17
|
- |
|
| 1041 |
7aa: d9 f7 brne .-10 ; 0x7a2 <UIMgr_txBuffer+0x1a>
|
- |
|
| 1042 |
7ac: df 91 pop r29
|
- |
|
| 1043 |
7ae: cf 91 pop r28
|
- |
|
| 1044 |
7b0: 1f 91 pop r17
|
- |
|
| 1045 |
7b2: 0f 91 pop r16
|
- |
|
| 1046 |
7b4: 08 95 ret
|
- |
|
| 1047 |
|
- |
|
| 1048 |
000007b6 <UIMgr_transmitPendingData>:
|
- |
|
| 1049 |
7b6: 90 91 ba 00 lds r25, 0x00BA
|
- |
|
| 1050 |
7ba: 80 91 bb 00 lds r24, 0x00BB
|
- |
|
| 1051 |
7be: 98 17 cp r25, r24
|
- |
|
| 1052 |
7c0: 11 f0 breq .+4 ; 0x7c6 <UIMgr_transmitPendingData+0x10>
|
- |
|
| 1053 |
7c2: b6 df rcall .-148 ; 0x730 <UIMgr_readTxFifo>
|
- |
|
| 1054 |
7c4: cf d1 rcall .+926 ; 0xb64 <UartInt_txByte>
|
- |
|
| 1055 |
7c6: 08 95 ret
|
- |
|
| 1056 |
|
- |
|
| 1057 |
000007c8 <UIMgr_convertTokenToCmd>:
|
- |
|
| 1058 |
7c8: 90 91 bf 00 lds r25, 0x00BF
|
- |
|
| 1059 |
7cc: 90 35 cpi r25, 0x50 ; 80
|
- |
|
| 1060 |
7ce: 41 f4 brne .+16 ; 0x7e0 <UIMgr_convertTokenToCmd+0x18>
|
- |
|
| 1061 |
7d0: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1062 |
7d4: 87 34 cpi r24, 0x47 ; 71
|
- |
|
| 1063 |
7d6: 09 f5 brne .+66 ; 0x81a <UIMgr_convertTokenToCmd+0x52>
|
- |
|
| 1064 |
7d8: 81 e0 ldi r24, 0x01 ; 1
|
- |
|
| 1065 |
7da: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1066 |
7de: 48 c0 rjmp .+144 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1067 |
7e0: 97 34 cpi r25, 0x47 ; 71
|
- |
|
| 1068 |
7e2: 39 f4 brne .+14 ; 0x7f2 <UIMgr_convertTokenToCmd+0x2a>
|
- |
|
| 1069 |
7e4: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1070 |
7e8: 86 35 cpi r24, 0x56 ; 86
|
- |
|
| 1071 |
7ea: 09 f5 brne .+66 ; 0x82e <UIMgr_convertTokenToCmd+0x66>
|
- |
|
| 1072 |
7ec: 10 92 62 00 sts 0x0062, r1
|
- |
|
| 1073 |
7f0: 3f c0 rjmp .+126 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1074 |
7f2: 94 34 cpi r25, 0x44 ; 68
|
- |
|
| 1075 |
7f4: 41 f4 brne .+16 ; 0x806 <UIMgr_convertTokenToCmd+0x3e>
|
- |
|
| 1076 |
7f6: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1077 |
7fa: 86 34 cpi r24, 0x46 ; 70
|
- |
|
| 1078 |
7fc: 11 f5 brne .+68 ; 0x842 <UIMgr_convertTokenToCmd+0x7a>
|
- |
|
| 1079 |
7fe: 83 e0 ldi r24, 0x03 ; 3
|
- |
|
| 1080 |
800: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1081 |
804: 35 c0 rjmp .+106 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1082 |
806: 93 34 cpi r25, 0x43 ; 67
|
- |
|
| 1083 |
808: 41 f4 brne .+16 ; 0x81a <UIMgr_convertTokenToCmd+0x52>
|
- |
|
| 1084 |
80a: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1085 |
80e: 82 35 cpi r24, 0x52 ; 82
|
- |
|
| 1086 |
810: 11 f5 brne .+68 ; 0x856 <UIMgr_convertTokenToCmd+0x8e>
|
- |
|
| 1087 |
812: 82 e0 ldi r24, 0x02 ; 2
|
- |
|
| 1088 |
814: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1089 |
818: 2b c0 rjmp .+86 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1090 |
81a: 95 34 cpi r25, 0x45 ; 69
|
- |
|
| 1091 |
81c: 41 f4 brne .+16 ; 0x82e <UIMgr_convertTokenToCmd+0x66>
|
- |
|
| 1092 |
81e: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1093 |
822: 84 35 cpi r24, 0x54 ; 84
|
- |
|
| 1094 |
824: 11 f5 brne .+68 ; 0x86a <UIMgr_convertTokenToCmd+0xa2>
|
- |
|
| 1095 |
826: 84 e0 ldi r24, 0x04 ; 4
|
- |
|
| 1096 |
828: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1097 |
82c: 21 c0 rjmp .+66 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1098 |
82e: 93 35 cpi r25, 0x53 ; 83
|
- |
|
| 1099 |
830: 41 f4 brne .+16 ; 0x842 <UIMgr_convertTokenToCmd+0x7a>
|
- |
|
| 1100 |
832: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1101 |
836: 8d 34 cpi r24, 0x4D ; 77
|
- |
|
| 1102 |
838: c1 f4 brne .+48 ; 0x86a <UIMgr_convertTokenToCmd+0xa2>
|
- |
|
| 1103 |
83a: 86 e0 ldi r24, 0x06 ; 6
|
- |
|
| 1104 |
83c: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1105 |
840: 17 c0 rjmp .+46 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1106 |
842: 94 34 cpi r25, 0x44 ; 68
|
- |
|
| 1107 |
844: 41 f4 brne .+16 ; 0x856 <UIMgr_convertTokenToCmd+0x8e>
|
- |
|
| 1108 |
846: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1109 |
84a: 84 35 cpi r24, 0x54 ; 84
|
- |
|
| 1110 |
84c: 71 f4 brne .+28 ; 0x86a <UIMgr_convertTokenToCmd+0xa2>
|
- |
|
| 1111 |
84e: 85 e0 ldi r24, 0x05 ; 5
|
- |
|
| 1112 |
850: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1113 |
854: 0d c0 rjmp .+26 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1114 |
856: 92 35 cpi r25, 0x52 ; 82
|
- |
|
| 1115 |
858: 41 f4 brne .+16 ; 0x86a <UIMgr_convertTokenToCmd+0xa2>
|
- |
|
| 1116 |
85a: 80 91 c0 00 lds r24, 0x00C0
|
- |
|
| 1117 |
85e: 83 35 cpi r24, 0x53 ; 83
|
- |
|
| 1118 |
860: 21 f4 brne .+8 ; 0x86a <UIMgr_convertTokenToCmd+0xa2>
|
- |
|
| 1119 |
862: 87 e0 ldi r24, 0x07 ; 7
|
- |
|
| 1120 |
864: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1121 |
868: 03 c0 rjmp .+6 ; 0x870 <UIMgr_convertTokenToCmd+0xa8>
|
- |
|
| 1122 |
86a: 89 e0 ldi r24, 0x09 ; 9
|
- |
|
| 1123 |
86c: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1124 |
870: 83 e0 ldi r24, 0x03 ; 3
|
- |
|
| 1125 |
872: ef eb ldi r30, 0xBF ; 191
|
- |
|
| 1126 |
874: f0 e0 ldi r31, 0x00 ; 0
|
- |
|
| 1127 |
876: 11 92 st Z+, r1
|
- |
|
| 1128 |
878: 8a 95 dec r24
|
- |
|
| 1129 |
87a: e9 f7 brne .-6 ; 0x876 <UIMgr_convertTokenToCmd+0xae>
|
- |
|
| 1130 |
87c: 10 92 be 00 sts 0x00BE, r1
|
- |
|
| 1131 |
880: 10 92 bd 00 sts 0x00BD, r1
|
- |
|
| 1132 |
884: 08 95 ret
|
- |
|
| 1133 |
|
- |
|
| 1134 |
00000886 <UIMgr_init>:
|
- |
|
| 1135 |
886: 10 92 bf 00 sts 0x00BF, r1
|
- |
|
| 1136 |
88a: 10 92 c0 00 sts 0x00C0, r1
|
- |
|
| 1137 |
88e: 10 92 c1 00 sts 0x00C1, r1
|
- |
|
| 1138 |
892: 10 92 c2 00 sts 0x00C2, r1
|
- |
|
| 1139 |
896: 80 e4 ldi r24, 0x40 ; 64
|
- |
|
| 1140 |
898: e3 ec ldi r30, 0xC3 ; 195
|
- |
|
| 1141 |
89a: f0 e0 ldi r31, 0x00 ; 0
|
- |
|
| 1142 |
89c: 98 2f mov r25, r24
|
- |
|
| 1143 |
89e: 11 92 st Z+, r1
|
- |
|
| 1144 |
8a0: 9a 95 dec r25
|
- |
|
| 1145 |
8a2: e9 f7 brne .-6 ; 0x89e <UIMgr_init+0x18>
|
- |
|
| 1146 |
8a4: e4 e9 ldi r30, 0x94 ; 148
|
- |
|
| 1147 |
8a6: f2 e0 ldi r31, 0x02 ; 2
|
- |
|
| 1148 |
8a8: 11 92 st Z+, r1
|
- |
|
| 1149 |
8aa: 8a 95 dec r24
|
- |
|
| 1150 |
8ac: e9 f7 brne .-6 ; 0x8a8 <UIMgr_init+0x22>
|
- |
|
| 1151 |
8ae: 80 e2 ldi r24, 0x20 ; 32
|
- |
|
| 1152 |
8b0: e4 e7 ldi r30, 0x74 ; 116
|
- |
|
| 1153 |
8b2: f2 e0 ldi r31, 0x02 ; 2
|
- |
|
| 1154 |
8b4: 11 92 st Z+, r1
|
- |
|
| 1155 |
8b6: 8a 95 dec r24
|
- |
|
| 1156 |
8b8: e9 f7 brne .-6 ; 0x8b4 <UIMgr_init+0x2e>
|
- |
|
| 1157 |
8ba: 08 95 ret
|
- |
|
| 1158 |
|
- |
|
| 1159 |
000008bc <UIMgr_convertTokenToValue>:
|
928 |
static unsigned char tokenCount = 0;
|
| 1160 |
8bc: 8f eb ldi r24, 0xBF ; 191
|
- |
|
| 1161 |
8be: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 1162 |
8c0: b0 d3 rcall .+1888 ; 0x1022 <atoi>
|
- |
|
| 1163 |
8c2: 9c 01 movw r18, r24
|
- |
|
| 1164 |
8c4: 8f 3f cpi r24, 0xFF ; 255
|
- |
|
| 1165 |
8c6: 91 05 cpc r25, r1
|
- |
|
| 1166 |
8c8: 69 f0 breq .+26 ; 0x8e4 <UIMgr_convertTokenToValue+0x28>
|
- |
|
| 1167 |
8ca: 60 f0 brcs .+24 ; 0x8e4 <UIMgr_convertTokenToValue+0x28>
|
- |
|
| 1168 |
8cc: 89 e0 ldi r24, 0x09 ; 9
|
- |
|
| 1169 |
8ce: 80 93 62 00 sts 0x0062, r24
|
- |
|
| 1170 |
8d2: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1171 |
8d6: e3 ec ldi r30, 0xC3 ; 195
|
- |
|
| 1172 |
8d8: f0 e0 ldi r31, 0x00 ; 0
|
- |
|
| 1173 |
8da: e8 0f add r30, r24
|
- |
|
| 1174 |
8dc: f1 1d adc r31, r1
|
- |
|
| 1175 |
8de: 8f ef ldi r24, 0xFF ; 255
|
- |
|
| 1176 |
8e0: 80 83 st Z, r24
|
- |
|
| 1177 |
8e2: 07 c0 rjmp .+14 ; 0x8f2 <UIMgr_convertTokenToValue+0x36>
|
- |
|
| 1178 |
8e4: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1179 |
8e8: e3 ec ldi r30, 0xC3 ; 195
|
- |
|
| 1180 |
8ea: f0 e0 ldi r31, 0x00 ; 0
|
- |
|
| 1181 |
8ec: e8 0f add r30, r24
|
- |
|
| 1182 |
8ee: f1 1d adc r31, r1
|
- |
|
| 1183 |
8f0: 20 83 st Z, r18
|
- |
|
| 1184 |
8f2: 83 e0 ldi r24, 0x03 ; 3
|
- |
|
| 1185 |
8f4: ef eb ldi r30, 0xBF ; 191
|
- |
|
| 1186 |
8f6: f0 e0 ldi r31, 0x00 ; 0
|
- |
|
| 1187 |
8f8: 11 92 st Z+, r1
|
- |
|
| 1188 |
8fa: 8a 95 dec r24
|
- |
|
| 1189 |
8fc: e9 f7 brne .-6 ; 0x8f8 <UIMgr_convertTokenToValue+0x3c>
|
- |
|
| 1190 |
8fe: 10 92 be 00 sts 0x00BE, r1
|
- |
|
| 1191 |
902: 10 92 bd 00 sts 0x00BD, r1
|
- |
|
| 1192 |
906: 08 95 ret
|
- |
|
| 1193 |
|
- |
|
| 1194 |
00000908 <UIMgr_processReceivedData>:
|
- |
|
| 1195 |
908: ff 92 push r15
|
- |
|
| 1196 |
90a: 0f 93 push r16
|
- |
|
| 1197 |
90c: 1f 93 push r17
|
- |
|
| 1198 |
90e: cf 93 push r28
|
- |
|
| 1199 |
910: df 93 push r29
|
- |
|
| 1200 |
912: 0f 2e mov r0, r31
|
- |
|
| 1201 |
914: f9 e0 ldi r31, 0x09 ; 9
|
- |
|
| 1202 |
916: ff 2e mov r15, r31
|
- |
|
| 1203 |
918: f0 2d mov r31, r0
|
- |
|
| 1204 |
91a: ff c0 rjmp .+510 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
- |
|
| 1205 |
91c: f8 94 cli
|
- |
|
| 1206 |
91e: e2 2f mov r30, r18
|
- |
|
| 1207 |
920: ff 27 eor r31, r31
|
- |
|
| 1208 |
922: ec 58 subi r30, 0x8C ; 140
|
- |
|
| 1209 |
924: fd 4f sbci r31, 0xFD ; 253
|
- |
|
| 1210 |
926: 90 81 ld r25, Z
|
- |
|
| 1211 |
928: 82 2f mov r24, r18
|
- |
|
| 1212 |
92a: 8f 5f subi r24, 0xFF ; 255
|
- |
|
| 1213 |
92c: 8f 71 andi r24, 0x1F ; 31
|
- |
|
| 1214 |
92e: 80 93 b9 00 sts 0x00B9, r24
|
- |
|
| 1215 |
932: 78 94 sei
|
- |
|
| 1216 |
934: 9d 30 cpi r25, 0x0D ; 13
|
- |
|
| 1217 |
936: 09 f0 breq .+2 ; 0x93a <UIMgr_processReceivedData+0x32>
|
- |
|
| 1218 |
938: b1 c0 rjmp .+354 ; 0xa9c <UIMgr_processReceivedData+0x194>
|
- |
|
| 1219 |
93a: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1220 |
93e: 88 23 and r24, r24
|
- |
|
| 1221 |
940: 11 f4 brne .+4 ; 0x946 <UIMgr_processReceivedData+0x3e>
|
- |
|
| 1222 |
942: 42 df rcall .-380 ; 0x7c8 <UIMgr_convertTokenToCmd>
|
- |
|
| 1223 |
944: 06 c0 rjmp .+12 ; 0x952 <UIMgr_processReceivedData+0x4a>
|
- |
|
| 1224 |
946: ba df rcall .-140 ; 0x8bc <UIMgr_convertTokenToValue>
|
- |
|
| 1225 |
948: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1226 |
94c: 8f 5f subi r24, 0xFF ; 255
|
- |
|
| 1227 |
94e: 80 93 bc 00 sts 0x00BC, r24
|
- |
|
| 1228 |
952: 84 e6 ldi r24, 0x64 ; 100
|
- |
|
| 1229 |
954: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 1230 |
956: 9b d2 rcall .+1334 ; 0xe8e <Utility_delay>
|
- |
|
| 1231 |
958: 80 91 62 00 lds r24, 0x0062
|
- |
|
| 1232 |
95c: 88 50 subi r24, 0x08 ; 8
|
- |
|
| 1233 |
95e: 82 30 cpi r24, 0x02 ; 2
|
- |
|
| 1234 |
960: 58 f4 brcc .+22 ; 0x978 <UIMgr_processReceivedData+0x70>
|
- |
|
| 1235 |
962: 8e e4 ldi r24, 0x4E ; 78
|
- |
|
| 1236 |
964: f4 de rcall .-536 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1237 |
966: 83 e4 ldi r24, 0x43 ; 67
|
- |
|
| 1238 |
968: f2 de rcall .-540 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1239 |
96a: 8b e4 ldi r24, 0x4B ; 75
|
- |
|
| 1240 |
96c: f0 de rcall .-544 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1241 |
96e: 8d e0 ldi r24, 0x0D ; 13
|
- |
|
| 1242 |
970: ee de rcall .-548 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1243 |
972: 80 e9 ldi r24, 0x90 ; 144
|
- |
|
| 1244 |
974: 06 dc rcall .-2036 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 1245 |
976: 89 c0 rjmp .+274 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1246 |
978: 81 e4 ldi r24, 0x41 ; 65
|
- |
|
| 1247 |
97a: e9 de rcall .-558 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1248 |
97c: 83 e4 ldi r24, 0x43 ; 67
|
- |
|
| 1249 |
97e: e7 de rcall .-562 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1250 |
980: 8b e4 ldi r24, 0x4B ; 75
|
- |
|
| 1251 |
982: e5 de rcall .-566 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1252 |
984: 8d e0 ldi r24, 0x0D ; 13
|
- |
|
| 1253 |
986: e3 de rcall .-570 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1254 |
988: 80 e9 ldi r24, 0x90 ; 144
|
- |
|
| 1255 |
98a: fb db rcall .-2058 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 1256 |
98c: 80 91 62 00 lds r24, 0x0062
|
- |
|
| 1257 |
990: 81 30 cpi r24, 0x01 ; 1
|
- |
|
| 1258 |
992: 09 f4 brne .+2 ; 0x996 <UIMgr_processReceivedData+0x8e>
|
- |
|
| 1259 |
994: 7a c0 rjmp .+244 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1260 |
996: 88 23 and r24, r24
|
- |
|
| 1261 |
998: 71 f4 brne .+28 ; 0x9b6 <UIMgr_processReceivedData+0xae>
|
- |
|
| 1262 |
99a: 80 91 63 00 lds r24, 0x0063
|
- |
|
| 1263 |
99e: 88 23 and r24, r24
|
- |
|
| 1264 |
9a0: 09 f4 brne .+2 ; 0x9a4 <UIMgr_processReceivedData+0x9c>
|
- |
|
| 1265 |
9a2: 73 c0 rjmp .+230 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1266 |
9a4: c3 e6 ldi r28, 0x63 ; 99
|
- |
|
| 1267 |
9a6: d0 e0 ldi r29, 0x00 ; 0
|
- |
|
| 1268 |
9a8: 21 96 adiw r28, 0x01 ; 1
|
- |
|
| 1269 |
9aa: d1 de rcall .-606 ; 0x74e <UIMgr_writeTxFifo>
|
- |
|
| 1270 |
9ac: 88 81 ld r24, Y
|
- |
|
| 1271 |
9ae: 88 23 and r24, r24
|
- |
|
| 1272 |
9b0: 09 f4 brne .+2 ; 0x9b4 <UIMgr_processReceivedData+0xac>
|
- |
|
| 1273 |
9b2: 6b c0 rjmp .+214 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1274 |
9b4: f9 cf rjmp .-14 ; 0x9a8 <UIMgr_processReceivedData+0xa0>
|
- |
|
| 1275 |
9b6: 87 30 cpi r24, 0x07 ; 7
|
- |
|
| 1276 |
9b8: 11 f4 brne .+4 ; 0x9be <UIMgr_processReceivedData+0xb6>
|
- |
|
| 1277 |
9ba: a1 db rcall .-2238 ; 0xfe <CamInt_resetCam>
|
- |
|
| 1278 |
9bc: 66 c0 rjmp .+204 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1279 |
9be: 83 30 cpi r24, 0x03 ; 3
|
- |
|
| 1280 |
9c0: 31 f4 brne .+12 ; 0x9ce <UIMgr_processReceivedData+0xc6>
|
- |
|
| 1281 |
9c2: 84 e6 ldi r24, 0x64 ; 100
|
- |
|
| 1282 |
9c4: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 1283 |
9c6: 63 d2 rcall .+1222 ; 0xe8e <Utility_delay>
|
- |
|
| 1284 |
9c8: 82 e0 ldi r24, 0x02 ; 2
|
- |
|
| 1285 |
9ca: db db rcall .-2122 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 1286 |
9cc: 5e c0 rjmp .+188 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1287 |
9ce: 82 30 cpi r24, 0x02 ; 2
|
- |
|
| 1288 |
9d0: 99 f4 brne .+38 ; 0x9f8 <UIMgr_processReceivedData+0xf0>
|
- |
|
| 1289 |
9d2: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1290 |
9d6: 82 30 cpi r24, 0x02 ; 2
|
- |
|
| 1291 |
9d8: 68 f0 brcs .+26 ; 0x9f4 <UIMgr_processReceivedData+0xec>
|
- |
|
| 1292 |
9da: 11 e0 ldi r17, 0x01 ; 1
|
- |
|
| 1293 |
9dc: e1 2f mov r30, r17
|
- |
|
| 1294 |
9de: ff 27 eor r31, r31
|
- |
|
| 1295 |
9e0: ed 53 subi r30, 0x3D ; 61
|
- |
|
| 1296 |
9e2: ff 4f sbci r31, 0xFF ; 255
|
- |
|
| 1297 |
9e4: 61 81 ldd r22, Z+1 ; 0x01
|
- |
|
| 1298 |
9e6: 80 81 ld r24, Z
|
- |
|
| 1299 |
9e8: 02 d2 rcall .+1028 ; 0xdee <CamConfig_setCamReg>
|
- |
|
| 1300 |
9ea: 1e 5f subi r17, 0xFE ; 254
|
- |
|
| 1301 |
9ec: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1302 |
9f0: 18 17 cp r17, r24
|
- |
|
| 1303 |
9f2: a0 f3 brcs .-24 ; 0x9dc <UIMgr_processReceivedData+0xd4>
|
- |
|
| 1304 |
9f4: 01 d2 rcall .+1026 ; 0xdf8 <CamConfig_sendFifoCmds>
|
- |
|
| 1305 |
9f6: 49 c0 rjmp .+146 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1306 |
9f8: 84 30 cpi r24, 0x04 ; 4
|
- |
|
| 1307 |
9fa: 31 f4 brne .+12 ; 0xa08 <UIMgr_processReceivedData+0x100>
|
- |
|
| 1308 |
9fc: 84 e6 ldi r24, 0x64 ; 100
|
- |
|
| 1309 |
9fe: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 1310 |
a00: 46 d2 rcall .+1164 ; 0xe8e <Utility_delay>
|
- |
|
| 1311 |
a02: 80 e8 ldi r24, 0x80 ; 128
|
- |
|
| 1312 |
a04: be db rcall .-2180 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 1313 |
a06: 41 c0 rjmp .+130 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1314 |
a08: 85 30 cpi r24, 0x05 ; 5
|
- |
|
| 1315 |
a0a: 19 f4 brne .+6 ; 0xa12 <UIMgr_processReceivedData+0x10a>
|
- |
|
| 1316 |
a0c: 81 e8 ldi r24, 0x81 ; 129
|
- |
|
| 1317 |
a0e: b9 db rcall .-2190 ; 0x182 <Exec_writeEventFifo>
|
- |
|
| 1318 |
a10: 3c c0 rjmp .+120 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1319 |
a12: 86 30 cpi r24, 0x06 ; 6
|
- |
|
| 1320 |
a14: 09 f0 breq .+2 ; 0xa18 <UIMgr_processReceivedData+0x110>
|
- |
|
| 1321 |
a16: 39 c0 rjmp .+114 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1322 |
a18: 80 91 bc 00 lds r24, 0x00BC
|
- |
|
| 1323 |
a1c: 88 23 and r24, r24
|
- |
|
| 1324 |
a1e: 09 f4 brne .+2 ; 0xa22 <UIMgr_processReceivedData+0x11a>
|
- |
|
| 1325 |
a20: 34 c0 rjmp .+104 ; 0xa8a <UIMgr_processReceivedData+0x182>
|
- |
|
| 1326 |
a22: 40 e0 ldi r20, 0x00 ; 0
|
- |
|
| 1327 |
a24: 03 ec ldi r16, 0xC3 ; 195
|
- |
|
| 1328 |
a26: 10 e0 ldi r17, 0x00 ; 0
|
- |
|
| 1329 |
a28: 60 e0 ldi r22, 0x00 ; 0
|
- |
|
| 1330 |
a2a: 73 e0 ldi r23, 0x03 ; 3
|
- |
|
| 1331 |
a2c: 84 2f mov r24, r20
|
- |
|
| 1332 |
a2e: 99 27 eor r25, r25
|
- |
|
| 1333 |
a30: 9c 01 movw r18, r24
|
- |
|
| 1334 |
a32: 2f 5f subi r18, 0xFF ; 255
|
- |
|
| 1335 |
a34: 3f 4f sbci r19, 0xFF ; 255
|
- |
|
| 1336 |
a36: f9 01 movw r30, r18
|
- |
|
| 1337 |
a38: e0 0f add r30, r16
|
- |
|
| 1338 |
a3a: f1 1f adc r31, r17
|
- |
|
| 1339 |
a3c: e0 81 ld r30, Z
|
- |
|
| 1340 |
a3e: ec 01 movw r28, r24
|
- |
|
| 1341 |
a40: c6 0f add r28, r22
|
- |
|
| 1342 |
a42: d7 1f adc r29, r23
|
- |
|
| 1343 |
a44: e8 83 st Y, r30
|
- |
|
| 1344 |
uint8_t
|
- |
|
| 1345 |
eeprom_read_byte (const uint8_t *addr)
|
- |
|
| 1346 |
{
|
- |
|
| 1347 |
uint8_t result;
|
- |
|
| 1348 |
asm volatile
|
- |
|
| 1349 |
a46: d9 01 movw r26, r18
|
- |
|
| 1350 |
a48: 20 d3 rcall .+1600 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
- |
|
| 1351 |
a4a: 80 2d mov r24, r0
|
- |
|
| 1352 |
static unsigned char tokenBuffer[MAX_TOKEN_COUNT];
|
929 |
static unsigned char tokenBuffer[MAX_TOKEN_COUNT];
|
| 1353 |
static UIMgr_Cmd_t receivedCmd = noCmd;
|
930 |
static UIMgr_Cmd_t receivedCmd = noCmd;
|
| 1354 |
static unsigned char AVRcamVersion[] = "AVRcam v1.4\r";
|
931 |
static unsigned char AVRcamVersion[] = "AVRcam v1.4\r";
|
| 1355 |
|
932 |
|
| 1356 |
/* Local Function Declaration */
|
933 |
/* Local Function Declaration */
|
| Line 1626... |
Line 1203... |
| 1626 |
|
1203 |
|
| 1627 |
/* write each colorMap byte to EEPROM, but only those
|
1204 |
/* write each colorMap byte to EEPROM, but only those
|
| 1628 |
that changed...this will help reduce wear on the EEPROM */
|
1205 |
that changed...this will help reduce wear on the EEPROM */
|
| 1629 |
eepromData = eeprom_read_byte( (unsigned char*)(i+1));
|
1206 |
eepromData = eeprom_read_byte( (unsigned char*)(i+1));
|
| 1630 |
if (eepromData != colorMap[i])
|
1207 |
if (eepromData != colorMap[i])
|
| 1631 |
a4c: e8 17 cp r30, r24
|
- |
|
| 1632 |
a4e: c1 f0 breq .+48 ; 0xa80 <UIMgr_processReceivedData+0x178>
|
- |
|
| 1633 |
|
- |
|
| 1634 |
void
|
- |
|
| 1635 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
- |
|
| 1636 |
{
|
- |
|
| 1637 |
asm volatile (
|
- |
|
| 1638 |
a50: d9 01 movw r26, r18
|
- |
|
| 1639 |
a52: 0e 2e mov r0, r30
|
- |
|
| 1640 |
a54: 27 d3 rcall .+1614 ; 0x10a4 <__eeprom_write_byte_1C1D1E>
|
- |
|
| 1641 |
a56: d9 01 movw r26, r18
|
- |
|
| 1642 |
a58: 18 d3 rcall .+1584 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
- |
|
| 1643 |
a5a: 80 2d mov r24, r0
|
- |
|
| 1644 |
{
|
1208 |
{
|
| 1645 |
/* need to actually perform the write because the
|
1209 |
/* need to actually perform the write because the
|
| 1646 |
data in eeprom is different than the current colorMap */
|
1210 |
data in eeprom is different than the current colorMap */
|
| 1647 |
eeprom_write_succeeded = FALSE;
|
1211 |
eeprom_write_succeeded = FALSE;
|
| 1648 |
while(eeprom_write_succeeded == FALSE && num_writes < MAX_EEPROM_WRITE_ATTEMPTS)
|
1212 |
while(eeprom_write_succeeded == FALSE && num_writes < MAX_EEPROM_WRITE_ATTEMPTS)
|
| 1649 |
{
|
1213 |
{
|
| 1650 |
eeprom_write_byte((unsigned char*)(i+1),colorMap[i]);
|
1214 |
eeprom_write_byte((unsigned char*)(i+1),colorMap[i]);
|
| 1651 |
num_writes++;
|
1215 |
num_writes++;
|
| 1652 |
eepromData = eeprom_read_byte( (unsigned char*)(i+1));
|
1216 |
eepromData = eeprom_read_byte( (unsigned char*)(i+1));
|
| 1653 |
if (eepromData == colorMap[i])
|
1217 |
if (eepromData == colorMap[i])
|
| - |
|
1218 |
{
|
| - |
|
1219 |
eeprom_write_succeeded = TRUE;
|
| - |
|
1220 |
}
|
| - |
|
1221 |
}
|
| - |
|
1222 |
num_writes = 0;
|
| - |
|
1223 |
}
|
| - |
|
1224 |
}
|
| - |
|
1225 |
|
| - |
|
1226 |
#if DEBUG_COLOR_MAP
|
| - |
|
1227 |
/* for debugging...send out the entire color map */
|
| - |
|
1228 |
UIMgr_txBuffer("\r\n",2);
|
| - |
|
1229 |
for (i=0; i<NUM_ELEMENTS_IN_COLOR_MAP; i++)
|
| - |
|
1230 |
{
|
| - |
|
1231 |
memset(asciiBuffer,0x00,5);
|
| - |
|
1232 |
itoa(colorMap[i],asciiBuffer,10);
|
| - |
|
1233 |
UIMgr_txBuffer(asciiBuffer,3);
|
| - |
|
1234 |
UIMgr_txBuffer(" ",1);
|
| - |
|
1235 |
if (i==15 || i == 31)
|
| - |
|
1236 |
{
|
| - |
|
1237 |
/* break up the output */
|
| - |
|
1238 |
UIMgr_txBuffer("\r\n",2);
|
| - |
|
1239 |
}
|
| - |
|
1240 |
}
|
| - |
|
1241 |
#endif
|
| - |
|
1242 |
}
|
| - |
|
1243 |
}
|
| - |
|
1244 |
|
| - |
|
1245 |
/***********************************************************
|
| - |
|
1246 |
Function Name: UIMgr_convertTokenToValue
|
| - |
|
1247 |
Function Description: This function is responsible for
|
| - |
|
1248 |
converting a received token to a hex value It will
|
| - |
|
1249 |
access the asciiTokenBuffer directly, and store the
|
| - |
|
1250 |
result in the appropriate token buffer.
|
| - |
|
1251 |
Inputs: none
|
| - |
|
1252 |
Outputs: none
|
| - |
|
1253 |
***********************************************************/
|
| - |
|
1254 |
static void UIMgr_convertTokenToValue(void)
|
| - |
|
1255 |
{
|
| - |
|
1256 |
unsigned int newValue;
|
| - |
|
1257 |
|
| - |
|
1258 |
newValue = atoi(asciiTokenBuffer);
|
| - |
|
1259 |
if (newValue > 255)
|
| - |
|
1260 |
{
|
| - |
|
1261 |
/* the value is too large */
|
| - |
|
1262 |
receivedCmd = invalidCmd;
|
| - |
|
1263 |
tokenBuffer[tokenCount] = 0xFF; /* to indicate an error */
|
| - |
|
1264 |
}
|
| - |
|
1265 |
else
|
| - |
|
1266 |
{
|
| - |
|
1267 |
/* copy the value into the tokenBuffer */
|
| - |
|
1268 |
tokenBuffer[tokenCount] = newValue;
|
| - |
|
1269 |
}
|
| - |
|
1270 |
memset(asciiTokenBuffer,0x00,MAX_TOKEN_LENGTH);
|
| - |
|
1271 |
charIndex = 0;
|
| - |
|
1272 |
charCount = 0;
|
| - |
|
1273 |
}
|
| - |
|
1274 |
/***********************************************************
|
| - |
|
1275 |
Function Name: UIMgr_convertTokenToCmd
|
| - |
|
1276 |
Function Description: This function is responsible for
|
| - |
|
1277 |
parsing a received 2-character command. It will
|
| - |
|
1278 |
access the asciiTokenBuffer directly.
|
| - |
|
1279 |
Inputs: none
|
| - |
|
1280 |
Outputs: none
|
| - |
|
1281 |
***********************************************************/
|
| - |
|
1282 |
static void UIMgr_convertTokenToCmd(void)
|
| - |
|
1283 |
{
|
| - |
|
1284 |
if ( (asciiTokenBuffer[0] == 'P') &&
|
| - |
|
1285 |
(asciiTokenBuffer[1] == 'G') )
|
| - |
|
1286 |
{
|
| - |
|
1287 |
/* we got a "ping" command...but we still need to see
|
| - |
|
1288 |
if we are going to get the \r */
|
| - |
|
1289 |
receivedCmd = pingCmd;
|
| - |
|
1290 |
}
|
| - |
|
1291 |
else if ( (asciiTokenBuffer[0] == 'G') &&
|
| - |
|
1292 |
(asciiTokenBuffer[1] == 'V') )
|
| - |
|
1293 |
{
|
| - |
|
1294 |
/* we got the "get version" command */
|
| - |
|
1295 |
receivedCmd = getVersionCmd;
|
| - |
|
1296 |
}
|
| - |
|
1297 |
else if ( (asciiTokenBuffer[0] == 'D') &&
|
| - |
|
1298 |
(asciiTokenBuffer[1] == 'F') )
|
| - |
|
1299 |
{
|
| - |
|
1300 |
/* we should go into frame dump mode */
|
| - |
|
1301 |
receivedCmd = dumpFrameCmd;
|
| - |
|
1302 |
}
|
| - |
|
1303 |
else if ( (asciiTokenBuffer[0] == 'C') &&
|
| - |
|
1304 |
(asciiTokenBuffer[1] == 'R') )
|
| - |
|
1305 |
{
|
| - |
|
1306 |
/* the user wants to set registers in the OV6620 */
|
| - |
|
1307 |
receivedCmd = setCameraRegsCmd;
|
| - |
|
1308 |
}
|
| - |
|
1309 |
else if ( (asciiTokenBuffer[0] == 'E') &&
|
| - |
|
1310 |
(asciiTokenBuffer[1] == 'T') )
|
| - |
|
1311 |
{
|
| - |
|
1312 |
/* the user wants to enable tracking */
|
| - |
|
1313 |
receivedCmd = enableTrackingCmd;
|
| - |
|
1314 |
}
|
| - |
|
1315 |
else if ( (asciiTokenBuffer[0] == 'S') &&
|
| - |
|
1316 |
(asciiTokenBuffer[1] == 'M') )
|
| - |
|
1317 |
{
|
| - |
|
1318 |
/* the user wants to set the color map */
|
| - |
|
1319 |
receivedCmd = setColorMapCmd;
|
| - |
|
1320 |
}
|
| - |
|
1321 |
else if ( (asciiTokenBuffer[0] == 'D') &&
|
| - |
|
1322 |
(asciiTokenBuffer[1] == 'T') )
|
| - |
|
1323 |
{
|
| - |
|
1324 |
receivedCmd = disableTrackingCmd;
|
| - |
|
1325 |
}
|
| - |
|
1326 |
else if ( (asciiTokenBuffer[0] == 'R') &&
|
| - |
|
1327 |
(asciiTokenBuffer[1] == 'S') )
|
| - |
|
1328 |
{
|
| - |
|
1329 |
receivedCmd = resetCameraCmd;
|
| - |
|
1330 |
}
|
| - |
|
1331 |
else
|
| - |
|
1332 |
{
|
| - |
|
1333 |
/* don't recognize the cmd */
|
| - |
|
1334 |
receivedCmd = invalidCmd;
|
| - |
|
1335 |
}
|
| - |
|
1336 |
memset(asciiTokenBuffer,0x00,MAX_TOKEN_LENGTH);
|
| - |
|
1337 |
charIndex = 0;
|
| - |
|
1338 |
charCount = 0;
|
| - |
|
1339 |
}
|
| - |
|
1340 |
/***********************************************************
|
| - |
|
1341 |
Function Name: UIMgr_sendAck
|
| - |
|
1342 |
Function Description: This function is responsible for
|
| - |
|
1343 |
queuing up an ACK to be sent to the user.
|
| - |
|
1344 |
Inputs: none
|
| - |
|
1345 |
Outputs: none
|
| - |
|
1346 |
***********************************************************/
|
| - |
|
1347 |
static void UIMgr_sendAck(void)
|
| - |
|
1348 |
{
|
| - |
|
1349 |
UIMgr_writeTxFifo('A');
|
| - |
|
1350 |
UIMgr_writeTxFifo('C');
|
| - |
|
1351 |
UIMgr_writeTxFifo('K');
|
| - |
|
1352 |
UIMgr_writeTxFifo('\r');
|
| - |
|
1353 |
}
|
| - |
|
1354 |
|
| - |
|
1355 |
/***********************************************************
|
| - |
|
1356 |
Function Name: UIMgr_sendNck
|
| - |
|
1357 |
Function Description: This function is responsible for
|
| - |
|
1358 |
queueing up an NCK to be sent to the user.
|
| - |
|
1359 |
Inputs: none
|
| - |
|
1360 |
Outputs: none
|
| - |
|
1361 |
***********************************************************/
|
| - |
|
1362 |
static void UIMgr_sendNck(void)
|
| - |
|
1363 |
{
|
| - |
|
1364 |
UIMgr_writeTxFifo('N');
|
| - |
|
1365 |
UIMgr_writeTxFifo('C');
|
| - |
|
1366 |
UIMgr_writeTxFifo('K');
|
| - |
|
1367 |
UIMgr_writeTxFifo('\r');
|
| - |
|
1368 |
}
|
| - |
|
1369 |
|
| - |
|
1370 |
|
| - |
|
1371 |
/***********************************************************
|
| - |
|
1372 |
Function Name: UIMgr_writeBufferToTxFifo
|
| - |
|
1373 |
Function Description: This function is responsible for
|
| - |
|
1374 |
placing "length" bytes into the tx FIFO.
|
| - |
|
1375 |
Inputs: pData - a pointer to the data to send
|
| - |
|
1376 |
length - the number of bytes to send
|
| - |
|
1377 |
Outputs: none
|
| - |
|
1378 |
***********************************************************/
|
| - |
|
1379 |
void UIMgr_writeBufferToTxFifo(unsigned char *pData, unsigned char length)
|
| - |
|
1380 |
{
|
| - |
|
1381 |
6ca: dc 01 movw r26, r24
|
| - |
|
1382 |
unsigned char tmpHead;
|
| - |
|
1383 |
if (length == 0)
|
| - |
|
1384 |
6cc: 66 23 and r22, r22
|
| - |
|
1385 |
6ce: b1 f0 breq .+44 ; 0x6fc <UIMgr_writeBufferToTxFifo+0x32>
|
| - |
|
1386 |
{
|
| - |
|
1387 |
return;
|
| - |
|
1388 |
}
|
| - |
|
1389 |
|
| - |
|
1390 |
DISABLE_INTS();
|
| - |
|
1391 |
6d0: f8 94 cli
|
| - |
|
1392 |
while(length-- != 0)
|
| - |
|
1393 |
6d2: 61 50 subi r22, 0x01 ; 1
|
| - |
|
1394 |
6d4: 6f 3f cpi r22, 0xFF ; 255
|
| - |
|
1395 |
6d6: 89 f0 breq .+34 ; 0x6fa <UIMgr_writeBufferToTxFifo+0x30>
|
| - |
|
1396 |
6d8: 90 91 ba 00 lds r25, 0x00BA
|
| - |
|
1397 |
{
|
| - |
|
1398 |
UIMgr_txFifo[UIMgr_txFifoHead] = *pData++;
|
| - |
|
1399 |
6dc: 24 e9 ldi r18, 0x94 ; 148
|
| - |
|
1400 |
6de: 32 e0 ldi r19, 0x02 ; 2
|
| - |
|
1401 |
6e0: f9 01 movw r30, r18
|
| - |
|
1402 |
6e2: e9 0f add r30, r25
|
| - |
|
1403 |
6e4: f1 1d adc r31, r1
|
| - |
|
1404 |
6e6: 8d 91 ld r24, X+
|
| - |
|
1405 |
6e8: 80 83 st Z, r24
|
| - |
|
1406 |
|
| - |
|
1407 |
/* now move the head up */
|
| - |
|
1408 |
tmpHead = (UIMgr_txFifoHead + 1) & (UI_MGR_TX_FIFO_MASK);
|
| - |
|
1409 |
6ea: 89 2f mov r24, r25
|
| - |
|
1410 |
6ec: 8f 5f subi r24, 0xFF ; 255
|
| - |
|
1411 |
6ee: 98 2f mov r25, r24
|
| - |
|
1412 |
6f0: 9f 73 andi r25, 0x3F ; 63
|
| - |
|
1413 |
6f2: 61 50 subi r22, 0x01 ; 1
|
| - |
|
1414 |
6f4: a8 f7 brcc .-22 ; 0x6e0 <UIMgr_writeBufferToTxFifo+0x16>
|
| - |
|
1415 |
6f6: 90 93 ba 00 sts 0x00BA, r25
|
| - |
|
1416 |
UIMgr_txFifoHead = tmpHead;
|
| - |
|
1417 |
}
|
| - |
|
1418 |
ENABLE_INTS();
|
| - |
|
1419 |
6fa: 78 94 sei
|
| - |
|
1420 |
6fc: 08 95 ret
|
| - |
|
1421 |
|
| - |
|
1422 |
000006fe <UIMgr_readTxFifo>:
|
| - |
|
1423 |
}
|
| - |
|
1424 |
|
| - |
|
1425 |
/***********************************************************
|
| - |
|
1426 |
Function Name: UIMgr_txBuffer
|
| - |
|
1427 |
Function Description: This function is responsible for
|
| - |
|
1428 |
sending 'length' bytes out using the UartInterface
|
| - |
|
1429 |
module.
|
| - |
|
1430 |
Inputs: pData - a pointer to the data to send
|
| - |
|
1431 |
length - the number of bytes to send
|
| - |
|
1432 |
Outputs: none
|
| - |
|
1433 |
***********************************************************/
|
| - |
|
1434 |
void UIMgr_txBuffer(unsigned char *pData, unsigned char length)
|
| - |
|
1435 |
{
|
| - |
|
1436 |
while(length-- != 0)
|
| - |
|
1437 |
{
|
| - |
|
1438 |
UartInt_txByte(*pData++);
|
| - |
|
1439 |
}
|
| - |
|
1440 |
}
|
| - |
|
1441 |
|
| - |
|
1442 |
/***********************************************************
|
| - |
|
1443 |
Function Name: UIMgr_flushTxBuffer
|
| - |
|
1444 |
Function Description: This function is responsible for
|
| - |
|
1445 |
sending all data currently in the serial tx buffer
|
| - |
|
1446 |
to the user.
|
| - |
|
1447 |
Inputs: none
|
| - |
|
1448 |
Outputs: none
|
| - |
|
1449 |
***********************************************************/
|
| - |
|
1450 |
void UIMgr_flushTxBuffer(void)
|
| - |
|
1451 |
{
|
| - |
|
1452 |
while(IS_DATA_IN_TX_FIFO() == TRUE)
|
| - |
|
1453 |
{
|
| - |
|
1454 |
UartInt_txByte(UIMgr_readTxFifo() );
|
| - |
|
1455 |
}
|
| - |
|
1456 |
}
|
| - |
|
1457 |
|
| - |
|
1458 |
/***********************************************************
|
| - |
|
1459 |
Function Name: UIMgr_readRxFifo
|
| - |
|
1460 |
Function Description: This function is responsible for
|
| - |
|
1461 |
reading a single byte of data from the rx fifo, and
|
| - |
|
1462 |
updating the appropriate pointers.
|
| - |
|
1463 |
Inputs: none
|
| - |
|
1464 |
Outputs: unsigned char-the data read
|
| - |
|
1465 |
***********************************************************/
|
| - |
|
1466 |
static unsigned char UIMgr_readRxFifo(void)
|
| - |
|
1467 |
{
|
| - |
|
1468 |
unsigned char dataByte, tmpTail;
|
| - |
|
1469 |
|
| - |
|
1470 |
/* just return the current tail from the rx fifo */
|
| - |
|
1471 |
DISABLE_INTS();
|
| - |
|
1472 |
dataByte = UIMgr_rxFifo[UIMgr_rxFifoTail];
|
| - |
|
1473 |
tmpTail = (UIMgr_rxFifoTail+1) & (UI_MGR_RX_FIFO_MASK);
|
| - |
|
1474 |
UIMgr_rxFifoTail = tmpTail;
|
| - |
|
1475 |
ENABLE_INTS();
|
| - |
|
1476 |
|
| - |
|
1477 |
return(dataByte);
|
| - |
|
1478 |
}
|
| - |
|
1479 |
|
| - |
|
1480 |
/***********************************************************
|
| - |
|
1481 |
Function Name: UIMgr_readTxFifo
|
| - |
|
1482 |
Function Description: This function is responsible for
|
| - |
|
1483 |
reading a single byte of data from the tx fifo, and
|
| - |
|
1484 |
updating the appropriate pointers.
|
| - |
|
1485 |
Inputs: none
|
| - |
|
1486 |
Outputs: unsigned char-the data read
|
| - |
|
1487 |
***********************************************************/
|
| - |
|
1488 |
static unsigned char UIMgr_readTxFifo(void)
|
| - |
|
1489 |
{
|
| - |
|
1490 |
unsigned char dataByte, tmpTail;
|
| - |
|
1491 |
|
| - |
|
1492 |
/* just return the current tail from the tx fifo */
|
| - |
|
1493 |
DISABLE_INTS();
|
| - |
|
1494 |
6fe: f8 94 cli
|
| - |
|
1495 |
dataByte = UIMgr_txFifo[UIMgr_txFifoTail];
|
| - |
|
1496 |
700: 90 91 bb 00 lds r25, 0x00BB
|
| - |
|
1497 |
704: e4 e9 ldi r30, 0x94 ; 148
|
| - |
|
1498 |
706: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
1499 |
708: e9 0f add r30, r25
|
| - |
|
1500 |
70a: f1 1d adc r31, r1
|
| 1654 |
a5c: 98 81 ld r25, Y
|
1501 |
70c: 80 81 ld r24, Z
|
| - |
|
1502 |
tmpTail = (UIMgr_txFifoTail+1) & (UI_MGR_TX_FIFO_MASK);
|
| - |
|
1503 |
UIMgr_txFifoTail = tmpTail;
|
| - |
|
1504 |
70e: 9f 5f subi r25, 0xFF ; 255
|
| - |
|
1505 |
710: 9f 73 andi r25, 0x3F ; 63
|
| - |
|
1506 |
712: 90 93 bb 00 sts 0x00BB, r25
|
| - |
|
1507 |
ENABLE_INTS();
|
| - |
|
1508 |
716: 78 94 sei
|
| - |
|
1509 |
|
| - |
|
1510 |
return(dataByte);
|
| - |
|
1511 |
}
|
| - |
|
1512 |
718: 99 27 eor r25, r25
|
| - |
|
1513 |
71a: 08 95 ret
|
| - |
|
1514 |
|
| - |
|
1515 |
0000071c <UIMgr_writeTxFifo>:
|
| - |
|
1516 |
|
| - |
|
1517 |
/***********************************************************
|
| - |
|
1518 |
Function Name: UIMgr_writeTxFifo
|
| - |
|
1519 |
Function Description: This function is responsible for
|
| - |
|
1520 |
writing a single byte to the TxFifo and
|
| - |
|
1521 |
updating the appropriate pointers.
|
| - |
|
1522 |
Inputs: data - the byte to write to the Fifo
|
| - |
|
1523 |
Outputs: none
|
| - |
|
1524 |
***********************************************************/
|
| - |
|
1525 |
void UIMgr_writeTxFifo(unsigned char data)
|
| - |
|
1526 |
{
|
| - |
|
1527 |
unsigned char tmpHead;
|
| - |
|
1528 |
|
| - |
|
1529 |
DISABLE_INTS();
|
| - |
|
1530 |
71c: f8 94 cli
|
| - |
|
1531 |
UIMgr_txFifo[UIMgr_txFifoHead] = data;
|
| - |
|
1532 |
71e: 90 91 ba 00 lds r25, 0x00BA
|
| - |
|
1533 |
722: e4 e9 ldi r30, 0x94 ; 148
|
| - |
|
1534 |
724: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
1535 |
726: e9 0f add r30, r25
|
| - |
|
1536 |
728: f1 1d adc r31, r1
|
| - |
|
1537 |
72a: 80 83 st Z, r24
|
| - |
|
1538 |
|
| - |
|
1539 |
/* now move the head up */
|
| - |
|
1540 |
tmpHead = (UIMgr_txFifoHead + 1) & (UI_MGR_TX_FIFO_MASK);
|
| - |
|
1541 |
UIMgr_txFifoHead = tmpHead;
|
| - |
|
1542 |
72c: 9f 5f subi r25, 0xFF ; 255
|
| - |
|
1543 |
72e: 9f 73 andi r25, 0x3F ; 63
|
| - |
|
1544 |
730: 90 93 ba 00 sts 0x00BA, r25
|
| - |
|
1545 |
ENABLE_INTS();
|
| - |
|
1546 |
734: 78 94 sei
|
| - |
|
1547 |
736: 08 95 ret
|
| - |
|
1548 |
|
| - |
|
1549 |
00000738 <UIMgr_flushTxBuffer>:
|
| - |
|
1550 |
738: 90 91 ba 00 lds r25, 0x00BA
|
| - |
|
1551 |
73c: 80 91 bb 00 lds r24, 0x00BB
|
| - |
|
1552 |
740: 98 17 cp r25, r24
|
| - |
|
1553 |
742: 41 f0 breq .+16 ; 0x754 <UIMgr_flushTxBuffer+0x1c>
|
| - |
|
1554 |
744: dc df rcall .-72 ; 0x6fe <UIMgr_readTxFifo>
|
| - |
|
1555 |
746: 13 d2 rcall .+1062 ; 0xb6e <UartInt_txByte>
|
| - |
|
1556 |
748: 90 91 ba 00 lds r25, 0x00BA
|
| - |
|
1557 |
74c: 80 91 bb 00 lds r24, 0x00BB
|
| - |
|
1558 |
750: 98 17 cp r25, r24
|
| - |
|
1559 |
752: c1 f7 brne .-16 ; 0x744 <UIMgr_flushTxBuffer+0xc>
|
| - |
|
1560 |
754: 08 95 ret
|
| - |
|
1561 |
|
| - |
|
1562 |
00000756 <UIMgr_txBuffer>:
|
| - |
|
1563 |
756: 1f 93 push r17
|
| - |
|
1564 |
758: cf 93 push r28
|
| - |
|
1565 |
75a: df 93 push r29
|
| - |
|
1566 |
75c: ec 01 movw r28, r24
|
| - |
|
1567 |
75e: 16 2f mov r17, r22
|
| - |
|
1568 |
760: 11 50 subi r17, 0x01 ; 1
|
| - |
|
1569 |
762: 1f 3f cpi r17, 0xFF ; 255
|
| - |
|
1570 |
764: 21 f0 breq .+8 ; 0x76e <UIMgr_txBuffer+0x18>
|
| - |
|
1571 |
766: 89 91 ld r24, Y+
|
| - |
|
1572 |
768: 02 d2 rcall .+1028 ; 0xb6e <UartInt_txByte>
|
| - |
|
1573 |
76a: 11 50 subi r17, 0x01 ; 1
|
| - |
|
1574 |
76c: e0 f7 brcc .-8 ; 0x766 <UIMgr_txBuffer+0x10>
|
| - |
|
1575 |
76e: df 91 pop r29
|
| - |
|
1576 |
770: cf 91 pop r28
|
| - |
|
1577 |
772: 1f 91 pop r17
|
| - |
|
1578 |
774: 08 95 ret
|
| - |
|
1579 |
|
| - |
|
1580 |
00000776 <UIMgr_transmitPendingData>:
|
| - |
|
1581 |
776: 90 91 ba 00 lds r25, 0x00BA
|
| - |
|
1582 |
77a: 80 91 bb 00 lds r24, 0x00BB
|
| 1655 |
a5e: 98 17 cp r25, r24
|
1583 |
77e: 98 17 cp r25, r24
|
| - |
|
1584 |
780: 11 f0 breq .+4 ; 0x786 <UIMgr_transmitPendingData+0x10>
|
| - |
|
1585 |
782: bd df rcall .-134 ; 0x6fe <UIMgr_readTxFifo>
|
| - |
|
1586 |
784: f4 d1 rcall .+1000 ; 0xb6e <UartInt_txByte>
|
| - |
|
1587 |
786: 08 95 ret
|
| - |
|
1588 |
|
| - |
|
1589 |
00000788 <UIMgr_convertTokenToCmd>:
|
| - |
|
1590 |
788: 90 91 bf 00 lds r25, 0x00BF
|
| - |
|
1591 |
78c: 90 35 cpi r25, 0x50 ; 80
|
| - |
|
1592 |
78e: 41 f4 brne .+16 ; 0x7a0 <UIMgr_convertTokenToCmd+0x18>
|
| - |
|
1593 |
790: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1594 |
794: 87 34 cpi r24, 0x47 ; 71
|
| - |
|
1595 |
796: 09 f5 brne .+66 ; 0x7da <UIMgr_convertTokenToCmd+0x52>
|
| - |
|
1596 |
798: 81 e0 ldi r24, 0x01 ; 1
|
| - |
|
1597 |
79a: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1598 |
79e: 48 c0 rjmp .+144 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1599 |
7a0: 97 34 cpi r25, 0x47 ; 71
|
| - |
|
1600 |
7a2: 39 f4 brne .+14 ; 0x7b2 <UIMgr_convertTokenToCmd+0x2a>
|
| - |
|
1601 |
7a4: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1602 |
7a8: 86 35 cpi r24, 0x56 ; 86
|
| - |
|
1603 |
7aa: 09 f5 brne .+66 ; 0x7ee <UIMgr_convertTokenToCmd+0x66>
|
| - |
|
1604 |
7ac: 10 92 62 00 sts 0x0062, r1
|
| - |
|
1605 |
7b0: 3f c0 rjmp .+126 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1606 |
7b2: 94 34 cpi r25, 0x44 ; 68
|
| - |
|
1607 |
7b4: 41 f4 brne .+16 ; 0x7c6 <UIMgr_convertTokenToCmd+0x3e>
|
| - |
|
1608 |
7b6: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1609 |
7ba: 86 34 cpi r24, 0x46 ; 70
|
| - |
|
1610 |
7bc: 11 f5 brne .+68 ; 0x802 <UIMgr_convertTokenToCmd+0x7a>
|
| - |
|
1611 |
7be: 83 e0 ldi r24, 0x03 ; 3
|
| - |
|
1612 |
7c0: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1613 |
7c4: 35 c0 rjmp .+106 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1614 |
7c6: 93 34 cpi r25, 0x43 ; 67
|
| - |
|
1615 |
7c8: 41 f4 brne .+16 ; 0x7da <UIMgr_convertTokenToCmd+0x52>
|
| - |
|
1616 |
7ca: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1617 |
7ce: 82 35 cpi r24, 0x52 ; 82
|
| - |
|
1618 |
7d0: 11 f5 brne .+68 ; 0x816 <UIMgr_convertTokenToCmd+0x8e>
|
| - |
|
1619 |
7d2: 82 e0 ldi r24, 0x02 ; 2
|
| - |
|
1620 |
7d4: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1621 |
7d8: 2b c0 rjmp .+86 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1622 |
7da: 95 34 cpi r25, 0x45 ; 69
|
| - |
|
1623 |
7dc: 41 f4 brne .+16 ; 0x7ee <UIMgr_convertTokenToCmd+0x66>
|
| - |
|
1624 |
7de: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1625 |
7e2: 84 35 cpi r24, 0x54 ; 84
|
| - |
|
1626 |
7e4: 11 f5 brne .+68 ; 0x82a <UIMgr_convertTokenToCmd+0xa2>
|
| - |
|
1627 |
7e6: 84 e0 ldi r24, 0x04 ; 4
|
| - |
|
1628 |
7e8: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1629 |
7ec: 21 c0 rjmp .+66 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1630 |
7ee: 93 35 cpi r25, 0x53 ; 83
|
| - |
|
1631 |
7f0: 41 f4 brne .+16 ; 0x802 <UIMgr_convertTokenToCmd+0x7a>
|
| - |
|
1632 |
7f2: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1633 |
7f6: 8d 34 cpi r24, 0x4D ; 77
|
| - |
|
1634 |
7f8: c1 f4 brne .+48 ; 0x82a <UIMgr_convertTokenToCmd+0xa2>
|
| - |
|
1635 |
7fa: 86 e0 ldi r24, 0x06 ; 6
|
| - |
|
1636 |
7fc: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1637 |
800: 17 c0 rjmp .+46 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1638 |
802: 94 34 cpi r25, 0x44 ; 68
|
| - |
|
1639 |
804: 41 f4 brne .+16 ; 0x816 <UIMgr_convertTokenToCmd+0x8e>
|
| - |
|
1640 |
806: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1641 |
80a: 84 35 cpi r24, 0x54 ; 84
|
| - |
|
1642 |
80c: 71 f4 brne .+28 ; 0x82a <UIMgr_convertTokenToCmd+0xa2>
|
| - |
|
1643 |
80e: 85 e0 ldi r24, 0x05 ; 5
|
| - |
|
1644 |
810: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1645 |
814: 0d c0 rjmp .+26 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1646 |
816: 92 35 cpi r25, 0x52 ; 82
|
| - |
|
1647 |
818: 41 f4 brne .+16 ; 0x82a <UIMgr_convertTokenToCmd+0xa2>
|
| - |
|
1648 |
81a: 80 91 c0 00 lds r24, 0x00C0
|
| - |
|
1649 |
81e: 83 35 cpi r24, 0x53 ; 83
|
| - |
|
1650 |
820: 21 f4 brne .+8 ; 0x82a <UIMgr_convertTokenToCmd+0xa2>
|
| - |
|
1651 |
822: 87 e0 ldi r24, 0x07 ; 7
|
| - |
|
1652 |
824: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1653 |
828: 03 c0 rjmp .+6 ; 0x830 <UIMgr_convertTokenToCmd+0xa8>
|
| - |
|
1654 |
82a: 89 e0 ldi r24, 0x09 ; 9
|
| - |
|
1655 |
82c: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1656 |
830: 83 e0 ldi r24, 0x03 ; 3
|
| - |
|
1657 |
832: ef eb ldi r30, 0xBF ; 191
|
| - |
|
1658 |
834: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1659 |
836: 11 92 st Z+, r1
|
| - |
|
1660 |
838: 8a 95 dec r24
|
| - |
|
1661 |
83a: e9 f7 brne .-6 ; 0x836 <UIMgr_convertTokenToCmd+0xae>
|
| - |
|
1662 |
83c: 10 92 be 00 sts 0x00BE, r1
|
| - |
|
1663 |
840: 10 92 bd 00 sts 0x00BD, r1
|
| - |
|
1664 |
844: 08 95 ret
|
| - |
|
1665 |
|
| - |
|
1666 |
00000846 <UIMgr_init>:
|
| - |
|
1667 |
846: 10 92 bf 00 sts 0x00BF, r1
|
| - |
|
1668 |
84a: 10 92 c0 00 sts 0x00C0, r1
|
| - |
|
1669 |
84e: 10 92 c1 00 sts 0x00C1, r1
|
| - |
|
1670 |
852: 10 92 c2 00 sts 0x00C2, r1
|
| - |
|
1671 |
856: 80 e4 ldi r24, 0x40 ; 64
|
| - |
|
1672 |
858: e3 ec ldi r30, 0xC3 ; 195
|
| - |
|
1673 |
85a: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1674 |
85c: 98 2f mov r25, r24
|
| - |
|
1675 |
85e: 11 92 st Z+, r1
|
| - |
|
1676 |
860: 9a 95 dec r25
|
| - |
|
1677 |
862: e9 f7 brne .-6 ; 0x85e <UIMgr_init+0x18>
|
| - |
|
1678 |
864: e4 e9 ldi r30, 0x94 ; 148
|
| - |
|
1679 |
866: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
1680 |
868: 11 92 st Z+, r1
|
| - |
|
1681 |
86a: 8a 95 dec r24
|
| - |
|
1682 |
86c: e9 f7 brne .-6 ; 0x868 <UIMgr_init+0x22>
|
| - |
|
1683 |
86e: 80 e2 ldi r24, 0x20 ; 32
|
| - |
|
1684 |
870: e4 e7 ldi r30, 0x74 ; 116
|
| - |
|
1685 |
872: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
1686 |
874: 11 92 st Z+, r1
|
| - |
|
1687 |
876: 8a 95 dec r24
|
| - |
|
1688 |
878: e9 f7 brne .-6 ; 0x874 <UIMgr_init+0x2e>
|
| - |
|
1689 |
87a: 08 95 ret
|
| - |
|
1690 |
|
| - |
|
1691 |
0000087c <UIMgr_convertTokenToValue>:
|
| - |
|
1692 |
87c: 8f eb ldi r24, 0xBF ; 191
|
| - |
|
1693 |
87e: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
1694 |
880: dc d3 rcall .+1976 ; 0x103a <atoi>
|
| - |
|
1695 |
882: 9c 01 movw r18, r24
|
| - |
|
1696 |
884: 8f 3f cpi r24, 0xFF ; 255
|
| - |
|
1697 |
886: 91 05 cpc r25, r1
|
| - |
|
1698 |
888: 69 f0 breq .+26 ; 0x8a4 <UIMgr_convertTokenToValue+0x28>
|
| - |
|
1699 |
88a: 60 f0 brcs .+24 ; 0x8a4 <UIMgr_convertTokenToValue+0x28>
|
| - |
|
1700 |
88c: 89 e0 ldi r24, 0x09 ; 9
|
| - |
|
1701 |
88e: 80 93 62 00 sts 0x0062, r24
|
| - |
|
1702 |
892: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1703 |
896: e3 ec ldi r30, 0xC3 ; 195
|
| - |
|
1704 |
898: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1705 |
89a: e8 0f add r30, r24
|
| - |
|
1706 |
89c: f1 1d adc r31, r1
|
| - |
|
1707 |
89e: 8f ef ldi r24, 0xFF ; 255
|
| - |
|
1708 |
8a0: 80 83 st Z, r24
|
| - |
|
1709 |
8a2: 07 c0 rjmp .+14 ; 0x8b2 <UIMgr_convertTokenToValue+0x36>
|
| - |
|
1710 |
8a4: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1711 |
8a8: e3 ec ldi r30, 0xC3 ; 195
|
| - |
|
1712 |
8aa: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1713 |
8ac: e8 0f add r30, r24
|
| - |
|
1714 |
8ae: f1 1d adc r31, r1
|
| - |
|
1715 |
8b0: 20 83 st Z, r18
|
| - |
|
1716 |
8b2: 83 e0 ldi r24, 0x03 ; 3
|
| - |
|
1717 |
8b4: ef eb ldi r30, 0xBF ; 191
|
| - |
|
1718 |
8b6: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1719 |
8b8: 11 92 st Z+, r1
|
| - |
|
1720 |
8ba: 8a 95 dec r24
|
| - |
|
1721 |
8bc: e9 f7 brne .-6 ; 0x8b8 <UIMgr_convertTokenToValue+0x3c>
|
| - |
|
1722 |
8be: 10 92 be 00 sts 0x00BE, r1
|
| - |
|
1723 |
8c2: 10 92 bd 00 sts 0x00BD, r1
|
| - |
|
1724 |
8c6: 08 95 ret
|
| - |
|
1725 |
|
| - |
|
1726 |
000008c8 <UIMgr_processReceivedData>:
|
| - |
|
1727 |
8c8: 6f 92 push r6
|
| - |
|
1728 |
8ca: 7f 92 push r7
|
| - |
|
1729 |
8cc: 8f 92 push r8
|
| - |
|
1730 |
8ce: 9f 92 push r9
|
| - |
|
1731 |
8d0: af 92 push r10
|
| - |
|
1732 |
8d2: bf 92 push r11
|
| - |
|
1733 |
8d4: cf 92 push r12
|
| - |
|
1734 |
8d6: df 92 push r13
|
| - |
|
1735 |
8d8: ef 92 push r14
|
| - |
|
1736 |
8da: ff 92 push r15
|
| - |
|
1737 |
8dc: 1f 93 push r17
|
| - |
|
1738 |
8de: cf 93 push r28
|
| - |
|
1739 |
8e0: df 93 push r29
|
| - |
|
1740 |
8e2: 0f 2e mov r0, r31
|
| - |
|
1741 |
8e4: f4 e7 ldi r31, 0x74 ; 116
|
| - |
|
1742 |
8e6: cf 2e mov r12, r31
|
| - |
|
1743 |
8e8: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
1744 |
8ea: df 2e mov r13, r31
|
| - |
|
1745 |
8ec: f0 2d mov r31, r0
|
| - |
|
1746 |
8ee: 0f 2e mov r0, r31
|
| - |
|
1747 |
8f0: ff eb ldi r31, 0xBF ; 191
|
| - |
|
1748 |
8f2: af 2e mov r10, r31
|
| - |
|
1749 |
8f4: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1750 |
8f6: bf 2e mov r11, r31
|
| - |
|
1751 |
8f8: f0 2d mov r31, r0
|
| - |
|
1752 |
8fa: 0f 2e mov r0, r31
|
| - |
|
1753 |
8fc: f3 ec ldi r31, 0xC3 ; 195
|
| - |
|
1754 |
8fe: ef 2e mov r14, r31
|
| - |
|
1755 |
900: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1756 |
902: ff 2e mov r15, r31
|
| - |
|
1757 |
904: f0 2d mov r31, r0
|
| - |
|
1758 |
906: 0f 2e mov r0, r31
|
| - |
|
1759 |
908: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1760 |
90a: 8f 2e mov r8, r31
|
| - |
|
1761 |
90c: f3 e0 ldi r31, 0x03 ; 3
|
| - |
|
1762 |
90e: 9f 2e mov r9, r31
|
| - |
|
1763 |
910: f0 2d mov r31, r0
|
| - |
|
1764 |
912: 0f 2e mov r0, r31
|
| - |
|
1765 |
914: f3 e6 ldi r31, 0x63 ; 99
|
| - |
|
1766 |
916: 6f 2e mov r6, r31
|
| - |
|
1767 |
918: f0 e0 ldi r31, 0x00 ; 0
|
| - |
|
1768 |
91a: 7f 2e mov r7, r31
|
| - |
|
1769 |
91c: f0 2d mov r31, r0
|
| - |
|
1770 |
91e: fa c0 rjmp .+500 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| - |
|
1771 |
920: f8 94 cli
|
| - |
|
1772 |
922: f6 01 movw r30, r12
|
| - |
|
1773 |
924: e9 0f add r30, r25
|
| - |
|
1774 |
926: f1 1d adc r31, r1
|
| - |
|
1775 |
928: 20 81 ld r18, Z
|
| - |
|
1776 |
92a: 89 2f mov r24, r25
|
| - |
|
1777 |
92c: 8f 5f subi r24, 0xFF ; 255
|
| - |
|
1778 |
92e: 8f 71 andi r24, 0x1F ; 31
|
| - |
|
1779 |
930: 80 93 b9 00 sts 0x00B9, r24
|
| - |
|
1780 |
934: 78 94 sei
|
| - |
|
1781 |
936: 2d 30 cpi r18, 0x0D ; 13
|
| - |
|
1782 |
938: 09 f0 breq .+2 ; 0x93c <UIMgr_processReceivedData+0x74>
|
| - |
|
1783 |
93a: a9 c0 rjmp .+338 ; 0xa8e <UIMgr_processReceivedData+0x1c6>
|
| - |
|
1784 |
93c: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1785 |
940: 88 23 and r24, r24
|
| - |
|
1786 |
942: 11 f4 brne .+4 ; 0x948 <UIMgr_processReceivedData+0x80>
|
| - |
|
1787 |
944: 21 df rcall .-446 ; 0x788 <UIMgr_convertTokenToCmd>
|
| - |
|
1788 |
946: 06 c0 rjmp .+12 ; 0x954 <UIMgr_processReceivedData+0x8c>
|
| - |
|
1789 |
948: 99 df rcall .-206 ; 0x87c <UIMgr_convertTokenToValue>
|
| - |
|
1790 |
94a: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1791 |
94e: 8f 5f subi r24, 0xFF ; 255
|
| - |
|
1792 |
950: 80 93 bc 00 sts 0x00BC, r24
|
| - |
|
1793 |
954: 84 e6 ldi r24, 0x64 ; 100
|
| - |
|
1794 |
956: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
1795 |
958: a6 d2 rcall .+1356 ; 0xea6 <Utility_delay>
|
| - |
|
1796 |
95a: 80 91 62 00 lds r24, 0x0062
|
| - |
|
1797 |
95e: 88 50 subi r24, 0x08 ; 8
|
| - |
|
1798 |
960: 82 30 cpi r24, 0x02 ; 2
|
| - |
|
1799 |
962: 58 f4 brcc .+22 ; 0x97a <UIMgr_processReceivedData+0xb2>
|
| - |
|
1800 |
964: 8e e4 ldi r24, 0x4E ; 78
|
| - |
|
1801 |
966: da de rcall .-588 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1802 |
968: 83 e4 ldi r24, 0x43 ; 67
|
| - |
|
1803 |
96a: d8 de rcall .-592 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1804 |
96c: 8b e4 ldi r24, 0x4B ; 75
|
| - |
|
1805 |
96e: d6 de rcall .-596 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1806 |
970: 8d e0 ldi r24, 0x0D ; 13
|
| - |
|
1807 |
972: d4 de rcall .-600 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1808 |
974: 80 e9 ldi r24, 0x90 ; 144
|
| - |
|
1809 |
976: 05 dc rcall .-2038 ; 0x182 <Exec_writeEventFifo>
|
| - |
|
1810 |
978: 82 c0 rjmp .+260 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1811 |
97a: 81 e4 ldi r24, 0x41 ; 65
|
| - |
|
1812 |
97c: cf de rcall .-610 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1813 |
97e: 83 e4 ldi r24, 0x43 ; 67
|
| - |
|
1814 |
980: cd de rcall .-614 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1815 |
982: 8b e4 ldi r24, 0x4B ; 75
|
| - |
|
1816 |
984: cb de rcall .-618 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1817 |
986: 8d e0 ldi r24, 0x0D ; 13
|
| - |
|
1818 |
988: c9 de rcall .-622 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1819 |
98a: 80 e9 ldi r24, 0x90 ; 144
|
| - |
|
1820 |
98c: fa db rcall .-2060 ; 0x182 <Exec_writeEventFifo>
|
| - |
|
1821 |
98e: 80 91 62 00 lds r24, 0x0062
|
| - |
|
1822 |
992: 81 30 cpi r24, 0x01 ; 1
|
| - |
|
1823 |
994: 09 f4 brne .+2 ; 0x998 <UIMgr_processReceivedData+0xd0>
|
| - |
|
1824 |
996: 73 c0 rjmp .+230 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1825 |
998: 88 23 and r24, r24
|
| - |
|
1826 |
99a: 69 f4 brne .+26 ; 0x9b6 <UIMgr_processReceivedData+0xee>
|
| - |
|
1827 |
99c: 80 91 63 00 lds r24, 0x0063
|
| - |
|
1828 |
9a0: 88 23 and r24, r24
|
| - |
|
1829 |
9a2: 09 f4 brne .+2 ; 0x9a6 <UIMgr_processReceivedData+0xde>
|
| - |
|
1830 |
9a4: 6c c0 rjmp .+216 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1831 |
9a6: e3 01 movw r28, r6
|
| - |
|
1832 |
9a8: 21 96 adiw r28, 0x01 ; 1
|
| - |
|
1833 |
9aa: b8 de rcall .-656 ; 0x71c <UIMgr_writeTxFifo>
|
| - |
|
1834 |
9ac: 88 81 ld r24, Y
|
| - |
|
1835 |
9ae: 88 23 and r24, r24
|
| - |
|
1836 |
9b0: 09 f4 brne .+2 ; 0x9b4 <UIMgr_processReceivedData+0xec>
|
| - |
|
1837 |
9b2: 65 c0 rjmp .+202 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1838 |
9b4: f9 cf rjmp .-14 ; 0x9a8 <UIMgr_processReceivedData+0xe0>
|
| - |
|
1839 |
9b6: 87 30 cpi r24, 0x07 ; 7
|
| - |
|
1840 |
9b8: 11 f4 brne .+4 ; 0x9be <UIMgr_processReceivedData+0xf6>
|
| - |
|
1841 |
9ba: a1 db rcall .-2238 ; 0xfe <CamInt_resetCam>
|
| - |
|
1842 |
9bc: 60 c0 rjmp .+192 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1843 |
9be: 83 30 cpi r24, 0x03 ; 3
|
| - |
|
1844 |
9c0: 31 f4 brne .+12 ; 0x9ce <UIMgr_processReceivedData+0x106>
|
| - |
|
1845 |
9c2: 84 e6 ldi r24, 0x64 ; 100
|
| - |
|
1846 |
9c4: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
1847 |
9c6: 6f d2 rcall .+1246 ; 0xea6 <Utility_delay>
|
| - |
|
1848 |
9c8: 82 e0 ldi r24, 0x02 ; 2
|
| - |
|
1849 |
9ca: db db rcall .-2122 ; 0x182 <Exec_writeEventFifo>
|
| - |
|
1850 |
9cc: 58 c0 rjmp .+176 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1851 |
9ce: 82 30 cpi r24, 0x02 ; 2
|
| - |
|
1852 |
9d0: 91 f4 brne .+36 ; 0x9f6 <UIMgr_processReceivedData+0x12e>
|
| - |
|
1853 |
9d2: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1854 |
9d6: 82 30 cpi r24, 0x02 ; 2
|
| - |
|
1855 |
9d8: 60 f0 brcs .+24 ; 0x9f2 <UIMgr_processReceivedData+0x12a>
|
| - |
|
1856 |
9da: 11 e0 ldi r17, 0x01 ; 1
|
| - |
|
1857 |
9dc: f7 01 movw r30, r14
|
| - |
|
1858 |
9de: e1 0f add r30, r17
|
| - |
|
1859 |
9e0: f1 1d adc r31, r1
|
| - |
|
1860 |
9e2: 61 81 ldd r22, Z+1 ; 0x01
|
| - |
|
1861 |
9e4: 80 81 ld r24, Z
|
| - |
|
1862 |
9e6: 05 d2 rcall .+1034 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
1863 |
9e8: 1e 5f subi r17, 0xFE ; 254
|
| - |
|
1864 |
9ea: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1865 |
9ee: 18 17 cp r17, r24
|
| - |
|
1866 |
9f0: a8 f3 brcs .-22 ; 0x9dc <UIMgr_processReceivedData+0x114>
|
| - |
|
1867 |
9f2: 04 d2 rcall .+1032 ; 0xdfc <CamConfig_sendFifoCmds>
|
| - |
|
1868 |
9f4: 44 c0 rjmp .+136 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1869 |
9f6: 84 30 cpi r24, 0x04 ; 4
|
| - |
|
1870 |
9f8: 31 f4 brne .+12 ; 0xa06 <UIMgr_processReceivedData+0x13e>
|
| - |
|
1871 |
9fa: 84 e6 ldi r24, 0x64 ; 100
|
| - |
|
1872 |
9fc: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
1873 |
9fe: 53 d2 rcall .+1190 ; 0xea6 <Utility_delay>
|
| - |
|
1874 |
a00: 80 e8 ldi r24, 0x80 ; 128
|
| - |
|
1875 |
a02: bf db rcall .-2178 ; 0x182 <Exec_writeEventFifo>
|
| - |
|
1876 |
a04: 3c c0 rjmp .+120 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1877 |
a06: 85 30 cpi r24, 0x05 ; 5
|
| - |
|
1878 |
a08: 19 f4 brne .+6 ; 0xa10 <UIMgr_processReceivedData+0x148>
|
| - |
|
1879 |
a0a: 81 e8 ldi r24, 0x81 ; 129
|
| - |
|
1880 |
a0c: ba db rcall .-2188 ; 0x182 <Exec_writeEventFifo>
|
| - |
|
1881 |
a0e: 37 c0 rjmp .+110 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1882 |
a10: 86 30 cpi r24, 0x06 ; 6
|
| 1656 |
a60: 79 f0 breq .+30 ; 0xa80 <UIMgr_processReceivedData+0x178>
|
1883 |
a12: 09 f0 breq .+2 ; 0xa16 <UIMgr_processReceivedData+0x14e>
|
| - |
|
1884 |
a14: 34 c0 rjmp .+104 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1885 |
a16: 80 91 bc 00 lds r24, 0x00BC
|
| - |
|
1886 |
a1a: 88 23 and r24, r24
|
| - |
|
1887 |
a1c: 81 f1 breq .+96 ; 0xa7e <UIMgr_processReceivedData+0x1b6>
|
| - |
|
1888 |
a1e: 40 e0 ldi r20, 0x00 ; 0
|
| - |
|
1889 |
a20: 84 2f mov r24, r20
|
| - |
|
1890 |
a22: 99 27 eor r25, r25
|
| - |
|
1891 |
a24: 9c 01 movw r18, r24
|
| - |
|
1892 |
a26: 2f 5f subi r18, 0xFF ; 255
|
| - |
|
1893 |
a28: 3f 4f sbci r19, 0xFF ; 255
|
| - |
|
1894 |
a2a: f9 01 movw r30, r18
|
| - |
|
1895 |
a2c: ee 0d add r30, r14
|
| - |
|
1896 |
a2e: ff 1d adc r31, r15
|
| - |
|
1897 |
a30: e0 81 ld r30, Z
|
| - |
|
1898 |
a32: ec 01 movw r28, r24
|
| - |
|
1899 |
a34: c8 0d add r28, r8
|
| - |
|
1900 |
a36: d9 1d adc r29, r9
|
| - |
|
1901 |
a38: e8 83 st Y, r30
|
| - |
|
1902 |
uint8_t
|
| - |
|
1903 |
eeprom_read_byte (const uint8_t *addr)
|
| - |
|
1904 |
{
|
| - |
|
1905 |
uint8_t result;
|
| - |
|
1906 |
__asm__ __volatile__
|
| - |
|
1907 |
a3a: d9 01 movw r26, r18
|
| - |
|
1908 |
a3c: 32 d3 rcall .+1636 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| - |
|
1909 |
a3e: 80 2d mov r24, r0
|
| - |
|
1910 |
a40: e8 17 cp r30, r24
|
| - |
|
1911 |
a42: c1 f0 breq .+48 ; 0xa74 <UIMgr_processReceivedData+0x1ac>
|
| 1657 |
|
1912 |
|
| 1658 |
void
|
1913 |
void
|
| 1659 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
1914 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
| 1660 |
{
|
1915 |
{
|
| 1661 |
asm volatile (
|
1916 |
__asm__ __volatile__ (
|
| 1662 |
a62: d9 01 movw r26, r18
|
1917 |
a44: d9 01 movw r26, r18
|
| 1663 |
a64: 09 2e mov r0, r25
|
1918 |
a46: 0e 2e mov r0, r30
|
| 1664 |
a66: 1e d3 rcall .+1596 ; 0x10a4 <__eeprom_write_byte_1C1D1E>
|
1919 |
a48: 39 d3 rcall .+1650 ; 0x10bc <__eeprom_write_byte_1C1D1E>
|
| 1665 |
a68: d9 01 movw r26, r18
|
1920 |
a4a: d9 01 movw r26, r18
|
| 1666 |
a6a: 0f d3 rcall .+1566 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
1921 |
a4c: 2a d3 rcall .+1620 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| 1667 |
a6c: 80 2d mov r24, r0
|
1922 |
a4e: 80 2d mov r24, r0
|
| 1668 |
a6e: 98 81 ld r25, Y
|
1923 |
a50: 98 81 ld r25, Y
|
| 1669 |
a70: 98 17 cp r25, r24
|
1924 |
a52: 89 17 cp r24, r25
|
| 1670 |
a72: 31 f0 breq .+12 ; 0xa80 <UIMgr_processReceivedData+0x178>
|
1925 |
a54: 79 f0 breq .+30 ; 0xa74 <UIMgr_processReceivedData+0x1ac>
|
| 1671 |
|
1926 |
|
| 1672 |
void
|
1927 |
void
|
| 1673 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
1928 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
| 1674 |
{
|
1929 |
{
|
| 1675 |
asm volatile (
|
1930 |
__asm__ __volatile__ (
|
| 1676 |
a74: d9 01 movw r26, r18
|
1931 |
a56: d9 01 movw r26, r18
|
| 1677 |
a76: 09 2e mov r0, r25
|
1932 |
a58: 09 2e mov r0, r25
|
| 1678 |
a78: 15 d3 rcall .+1578 ; 0x10a4 <__eeprom_write_byte_1C1D1E>
|
1933 |
a5a: 30 d3 rcall .+1632 ; 0x10bc <__eeprom_write_byte_1C1D1E>
|
| 1679 |
a7a: d9 01 movw r26, r18
|
1934 |
a5c: d9 01 movw r26, r18
|
| 1680 |
a7c: 06 d3 rcall .+1548 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
1935 |
a5e: 21 d3 rcall .+1602 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| 1681 |
a7e: 80 2d mov r24, r0
|
1936 |
a60: 80 2d mov r24, r0
|
| 1682 |
a80: 4f 5f subi r20, 0xFF ; 255
|
1937 |
a62: 98 81 ld r25, Y
|
| 1683 |
a82: 80 91 bc 00 lds r24, 0x00BC
|
1938 |
a64: 89 17 cp r24, r25
|
| 1684 |
a86: 48 17 cp r20, r24
|
1939 |
a66: 31 f0 breq .+12 ; 0xa74 <UIMgr_processReceivedData+0x1ac>
|
| 1685 |
a88: 88 f2 brcs .-94 ; 0xa2c <UIMgr_processReceivedData+0x124>
|
1940 |
|
| 1686 |
a8a: 10 92 bc 00 sts 0x00BC, r1
|
1941 |
void
|
| 1687 |
a8e: 80 e4 ldi r24, 0x40 ; 64
|
1942 |
eeprom_write_byte (uint8_t *addr,uint8_t value)
|
| 1688 |
a90: e3 ec ldi r30, 0xC3 ; 195
|
1943 |
{
|
| 1689 |
a92: f0 e0 ldi r31, 0x00 ; 0
|
1944 |
__asm__ __volatile__ (
|
| 1690 |
a94: 11 92 st Z+, r1
|
1945 |
a68: d9 01 movw r26, r18
|
| 1691 |
a96: 8a 95 dec r24
|
1946 |
a6a: 09 2e mov r0, r25
|
| 1692 |
a98: e9 f7 brne .-6 ; 0xa94 <UIMgr_processReceivedData+0x18c>
|
1947 |
a6c: 27 d3 rcall .+1614 ; 0x10bc <__eeprom_write_byte_1C1D1E>
|
| 1693 |
a9a: 3f c0 rjmp .+126 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1948 |
a6e: d9 01 movw r26, r18
|
| 1694 |
a9c: 90 32 cpi r25, 0x20 ; 32
|
1949 |
a70: 18 d3 rcall .+1584 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| 1695 |
a9e: f1 f4 brne .+60 ; 0xadc <UIMgr_processReceivedData+0x1d4>
|
1950 |
a72: 80 2d mov r24, r0
|
| 1696 |
aa0: 80 91 bc 00 lds r24, 0x00BC
|
1951 |
a74: 4f 5f subi r20, 0xFF ; 255
|
| 1697 |
aa4: 88 23 and r24, r24
|
1952 |
a76: 80 91 bc 00 lds r24, 0x00BC
|
| 1698 |
aa6: 39 f4 brne .+14 ; 0xab6 <UIMgr_processReceivedData+0x1ae>
|
1953 |
a7a: 48 17 cp r20, r24
|
| 1699 |
aa8: 8f de rcall .-738 ; 0x7c8 <UIMgr_convertTokenToCmd>
|
1954 |
a7c: 88 f2 brcs .-94 ; 0xa20 <UIMgr_processReceivedData+0x158>
|
| 1700 |
aaa: 80 91 bc 00 lds r24, 0x00BC
|
1955 |
a7e: 10 92 bc 00 sts 0x00BC, r1
|
| 1701 |
aae: 8f 5f subi r24, 0xFF ; 255
|
1956 |
a82: 80 e4 ldi r24, 0x40 ; 64
|
| 1702 |
ab0: 80 93 bc 00 sts 0x00BC, r24
|
1957 |
a84: f7 01 movw r30, r14
|
| 1703 |
ab4: 32 c0 rjmp .+100 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1958 |
a86: 11 92 st Z+, r1
|
| 1704 |
ab6: 99 27 eor r25, r25
|
1959 |
a88: 8a 95 dec r24
|
| 1705 |
ab8: cf 97 sbiw r24, 0x3f ; 63
|
1960 |
a8a: e9 f7 brne .-6 ; 0xa86 <UIMgr_processReceivedData+0x1be>
|
| 1706 |
aba: 4c f0 brlt .+18 ; 0xace <UIMgr_processReceivedData+0x1c6>
|
1961 |
a8c: 43 c0 rjmp .+134 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1707 |
abc: 10 92 bd 00 sts 0x00BD, r1
|
1962 |
a8e: 20 32 cpi r18, 0x20 ; 32
|
| 1708 |
ac0: 10 92 be 00 sts 0x00BE, r1
|
1963 |
a90: 09 f5 brne .+66 ; 0xad4 <UIMgr_processReceivedData+0x20c>
|
| 1709 |
ac4: 10 92 bc 00 sts 0x00BC, r1
|
1964 |
a92: 80 91 bc 00 lds r24, 0x00BC
|
| 1710 |
ac8: f0 92 62 00 sts 0x0062, r15
|
1965 |
a96: 88 23 and r24, r24
|
| 1711 |
acc: 26 c0 rjmp .+76 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1966 |
a98: 39 f4 brne .+14 ; 0xaa8 <UIMgr_processReceivedData+0x1e0>
|
| 1712 |
ace: f6 de rcall .-532 ; 0x8bc <UIMgr_convertTokenToValue>
|
1967 |
a9a: 76 de rcall .-788 ; 0x788 <UIMgr_convertTokenToCmd>
|
| 1713 |
ad0: 80 91 bc 00 lds r24, 0x00BC
|
1968 |
a9c: 80 91 bc 00 lds r24, 0x00BC
|
| 1714 |
ad4: 8f 5f subi r24, 0xFF ; 255
|
1969 |
aa0: 8f 5f subi r24, 0xFF ; 255
|
| 1715 |
ad6: 80 93 bc 00 sts 0x00BC, r24
|
1970 |
aa2: 80 93 bc 00 sts 0x00BC, r24
|
| 1716 |
ada: 1f c0 rjmp .+62 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1971 |
aa6: 36 c0 rjmp .+108 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1717 |
adc: 89 2f mov r24, r25
|
1972 |
aa8: 99 27 eor r25, r25
|
| 1718 |
ade: 81 54 subi r24, 0x41 ; 65
|
1973 |
aaa: 01 96 adiw r24, 0x01 ; 1
|
| 1719 |
ae0: 8a 31 cpi r24, 0x1A ; 26
|
1974 |
aac: 80 34 cpi r24, 0x40 ; 64
|
| 1720 |
ae2: 18 f0 brcs .+6 ; 0xaea <UIMgr_processReceivedData+0x1e2>
|
1975 |
aae: 91 05 cpc r25, r1
|
| 1721 |
ae4: 8f 5e subi r24, 0xEF ; 239
|
1976 |
ab0: 54 f0 brlt .+20 ; 0xac6 <UIMgr_processReceivedData+0x1fe>
|
| 1722 |
ae6: 8a 30 cpi r24, 0x0A ; 10
|
1977 |
ab2: 10 92 bd 00 sts 0x00BD, r1
|
| 1723 |
ae8: b0 f4 brcc .+44 ; 0xb16 <UIMgr_processReceivedData+0x20e>
|
1978 |
ab6: 10 92 be 00 sts 0x00BE, r1
|
| 1724 |
aea: 80 91 be 00 lds r24, 0x00BE
|
1979 |
aba: 10 92 bc 00 sts 0x00BC, r1
|
| 1725 |
aee: e8 2f mov r30, r24
|
1980 |
abe: 89 e0 ldi r24, 0x09 ; 9
|
| 1726 |
af0: ff 27 eor r31, r31
|
1981 |
ac0: 80 93 62 00 sts 0x0062, r24
|
| 1727 |
af2: e1 54 subi r30, 0x41 ; 65
|
1982 |
ac4: 27 c0 rjmp .+78 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1728 |
af4: ff 4f sbci r31, 0xFF ; 255
|
1983 |
ac6: da de rcall .-588 ; 0x87c <UIMgr_convertTokenToValue>
|
| 1729 |
af6: 90 83 st Z, r25
|
1984 |
ac8: 80 91 bc 00 lds r24, 0x00BC
|
| 1730 |
af8: 90 91 bd 00 lds r25, 0x00BD
|
1985 |
acc: 8f 5f subi r24, 0xFF ; 255
|
| 1731 |
afc: 9f 5f subi r25, 0xFF ; 255
|
1986 |
ace: 80 93 bc 00 sts 0x00BC, r24
|
| 1732 |
afe: 90 93 bd 00 sts 0x00BD, r25
|
1987 |
ad2: 20 c0 rjmp .+64 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1733 |
b02: 8f 5f subi r24, 0xFF ; 255
|
1988 |
ad4: 82 2f mov r24, r18
|
| 1734 |
b04: 80 93 be 00 sts 0x00BE, r24
|
1989 |
ad6: 81 54 subi r24, 0x41 ; 65
|
| 1735 |
b08: 94 30 cpi r25, 0x04 ; 4
|
1990 |
ad8: 8a 31 cpi r24, 0x1A ; 26
|
| 1736 |
b0a: 38 f0 brcs .+14 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1991 |
ada: 18 f0 brcs .+6 ; 0xae2 <UIMgr_processReceivedData+0x21a>
|
| 1737 |
b0c: f0 92 62 00 sts 0x0062, r15
|
1992 |
adc: 8f 5e subi r24, 0xEF ; 239
|
| 1738 |
b10: 10 92 be 00 sts 0x00BE, r1
|
1993 |
ade: 8a 30 cpi r24, 0x0A ; 10
|
| 1739 |
b14: 02 c0 rjmp .+4 ; 0xb1a <UIMgr_processReceivedData+0x212>
|
1994 |
ae0: b0 f4 brcc .+44 ; 0xb0e <UIMgr_processReceivedData+0x246>
|
| 1740 |
b16: f0 92 62 00 sts 0x0062, r15
|
1995 |
ae2: 80 91 be 00 lds r24, 0x00BE
|
| 1741 |
b1a: 20 91 b9 00 lds r18, 0x00B9
|
1996 |
ae6: f5 01 movw r30, r10
|
| 1742 |
b1e: 80 91 b8 00 lds r24, 0x00B8
|
1997 |
ae8: e8 0f add r30, r24
|
| 1743 |
b22: 82 17 cp r24, r18
|
1998 |
aea: f1 1d adc r31, r1
|
| 1744 |
b24: 09 f0 breq .+2 ; 0xb28 <UIMgr_processReceivedData+0x220>
|
1999 |
aec: 20 83 st Z, r18
|
| 1745 |
b26: fa ce rjmp .-524 ; 0x91c <UIMgr_processReceivedData+0x14>
|
2000 |
aee: 90 91 bd 00 lds r25, 0x00BD
|
| 1746 |
b28: e8 94 clt
|
2001 |
af2: 9f 5f subi r25, 0xFF ; 255
|
| 1747 |
b2a: df 91 pop r29
|
2002 |
af4: 90 93 bd 00 sts 0x00BD, r25
|
| 1748 |
b2c: cf 91 pop r28
|
2003 |
af8: 8f 5f subi r24, 0xFF ; 255
|
| 1749 |
b2e: 1f 91 pop r17
|
2004 |
afa: 80 93 be 00 sts 0x00BE, r24
|
| 1750 |
b30: 0f 91 pop r16
|
2005 |
afe: 94 30 cpi r25, 0x04 ; 4
|
| 1751 |
b32: ff 90 pop r15
|
2006 |
b00: 48 f0 brcs .+18 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1752 |
b34: 08 95 ret
|
2007 |
b02: 89 e0 ldi r24, 0x09 ; 9
|
| 1753 |
|
2008 |
b04: 80 93 62 00 sts 0x0062, r24
|
| 1754 |
00000b36 <UIMgr_dispatchEvent>:
|
2009 |
b08: 10 92 be 00 sts 0x00BE, r1
|
| 1755 |
b36: 80 31 cpi r24, 0x10 ; 16
|
2010 |
b0c: 03 c0 rjmp .+6 ; 0xb14 <UIMgr_processReceivedData+0x24c>
|
| 1756 |
b38: 29 f0 breq .+10 ; 0xb44 <UIMgr_dispatchEvent+0xe>
|
2011 |
b0e: 89 e0 ldi r24, 0x09 ; 9
|
| 1757 |
b3a: 80 39 cpi r24, 0x90 ; 144
|
2012 |
b10: 80 93 62 00 sts 0x0062, r24
|
| 1758 |
b3c: 39 f0 breq .+14 ; 0xb4c <UIMgr_dispatchEvent+0x16>
|
2013 |
b14: 90 91 b9 00 lds r25, 0x00B9
|
| 1759 |
b3e: 81 30 cpi r24, 0x01 ; 1
|
2014 |
b18: 80 91 b8 00 lds r24, 0x00B8
|
| 1760 |
b40: 31 f4 brne .+12 ; 0xb4e <UIMgr_dispatchEvent+0x18>
|
2015 |
b1c: 89 17 cp r24, r25
|
| 1761 |
b42: 02 c0 rjmp .+4 ; 0xb48 <UIMgr_dispatchEvent+0x12>
|
2016 |
b1e: 09 f0 breq .+2 ; 0xb22 <UIMgr_processReceivedData+0x25a>
|
| 1762 |
b44: 38 de rcall .-912 ; 0x7b6 <UIMgr_transmitPendingData>
|
2017 |
b20: ff ce rjmp .-514 ; 0x920 <UIMgr_processReceivedData+0x58>
|
| 1763 |
b46: 08 95 ret
|
2018 |
b22: e8 94 clt
|
| 1764 |
b48: df de rcall .-578 ; 0x908 <UIMgr_processReceivedData>
|
2019 |
b24: df 91 pop r29
|
| 1765 |
b4a: 08 95 ret
|
2020 |
b26: cf 91 pop r28
|
| 1766 |
b4c: 0e de rcall .-996 ; 0x76a <UIMgr_flushTxBuffer>
|
2021 |
b28: 1f 91 pop r17
|
| 1767 |
b4e: 08 95 ret
|
2022 |
b2a: ff 90 pop r15
|
| 1768 |
|
2023 |
b2c: ef 90 pop r14
|
| 1769 |
00000b50 <UartInt_init>:
|
2024 |
b2e: df 90 pop r13
|
| 1770 |
b50: 10 bc out 0x20, r1 ; 32
|
2025 |
b30: cf 90 pop r12
|
| 1771 |
b52: 82 e1 ldi r24, 0x12 ; 18
|
2026 |
b32: bf 90 pop r11
|
| 1772 |
b54: 89 b9 out 0x09, r24 ; 9
|
2027 |
b34: af 90 pop r10
|
| 1773 |
b56: 88 e9 ldi r24, 0x98 ; 152
|
2028 |
b36: 9f 90 pop r9
|
| 1774 |
b58: 8a b9 out 0x0a, r24 ; 10
|
2029 |
b38: 8f 90 pop r8
|
| 1775 |
b5a: 86 e8 ldi r24, 0x86 ; 134
|
2030 |
b3a: 7f 90 pop r7
|
| 1776 |
b5c: 80 bd out 0x20, r24 ; 32
|
2031 |
b3c: 6f 90 pop r6
|
| 1777 |
b5e: 82 e0 ldi r24, 0x02 ; 2
|
2032 |
b3e: 08 95 ret
|
| 1778 |
b60: 8b b9 out 0x0b, r24 ; 11
|
2033 |
|
| 1779 |
b62: 08 95 ret
|
2034 |
00000b40 <UIMgr_dispatchEvent>:
|
| 1780 |
|
2035 |
b40: 80 31 cpi r24, 0x10 ; 16
|
| 1781 |
00000b64 <UartInt_txByte>:
|
2036 |
b42: 29 f0 breq .+10 ; 0xb4e <UIMgr_dispatchEvent+0xe>
|
| 1782 |
b64: 5d 9b sbis 0x0b, 5 ; 11
|
2037 |
b44: 80 39 cpi r24, 0x90 ; 144
|
| 1783 |
b66: fe cf rjmp .-4 ; 0xb64 <UartInt_txByte>
|
2038 |
b46: 39 f0 breq .+14 ; 0xb56 <UIMgr_dispatchEvent+0x16>
|
| 1784 |
b68: 8c b9 out 0x0c, r24 ; 12
|
2039 |
b48: 81 30 cpi r24, 0x01 ; 1
|
| 1785 |
b6a: 08 95 ret
|
2040 |
b4a: 31 f4 brne .+12 ; 0xb58 <UIMgr_dispatchEvent+0x18>
|
| 1786 |
|
2041 |
b4c: 02 c0 rjmp .+4 ; 0xb52 <UIMgr_dispatchEvent+0x12>
|
| 1787 |
00000b6c <__vector_11>:
|
2042 |
b4e: 13 de rcall .-986 ; 0x776 <UIMgr_transmitPendingData>
|
| 1788 |
b6c: 1f 92 push r1
|
2043 |
b50: 08 95 ret
|
| 1789 |
b6e: 0f 92 push r0
|
2044 |
b52: ba de rcall .-652 ; 0x8c8 <UIMgr_processReceivedData>
|
| 1790 |
b70: 0f b6 in r0, 0x3f ; 63
|
2045 |
b54: 08 95 ret
|
| 1791 |
b72: 0f 92 push r0
|
2046 |
b56: f0 dd rcall .-1056 ; 0x738 <UIMgr_flushTxBuffer>
|
| 1792 |
b74: 11 24 eor r1, r1
|
2047 |
b58: 08 95 ret
|
| 1793 |
b76: 8f 93 push r24
|
2048 |
|
| 1794 |
b78: 9f 93 push r25
|
2049 |
00000b5a <UartInt_init>:
|
| 1795 |
b7a: ef 93 push r30
|
2050 |
b5a: 10 bc out 0x20, r1 ; 32
|
| 1796 |
b7c: ff 93 push r31
|
2051 |
b5c: 82 e1 ldi r24, 0x12 ; 18
|
| 1797 |
b7e: 80 91 b8 00 lds r24, 0x00B8
|
2052 |
b5e: 89 b9 out 0x09, r24 ; 9
|
| 1798 |
b82: 9c b1 in r25, 0x0c ; 12
|
2053 |
b60: 88 e9 ldi r24, 0x98 ; 152
|
| 1799 |
b84: e4 e7 ldi r30, 0x74 ; 116
|
2054 |
b62: 8a b9 out 0x0a, r24 ; 10
|
| 1800 |
b86: f2 e0 ldi r31, 0x02 ; 2
|
2055 |
b64: 86 e8 ldi r24, 0x86 ; 134
|
| 1801 |
b88: e8 0f add r30, r24
|
2056 |
b66: 80 bd out 0x20, r24 ; 32
|
| 1802 |
b8a: f1 1d adc r31, r1
|
2057 |
b68: 82 e0 ldi r24, 0x02 ; 2
|
| 1803 |
b8c: 90 83 st Z, r25
|
2058 |
b6a: 8b b9 out 0x0b, r24 ; 11
|
| 1804 |
b8e: 8f 5f subi r24, 0xFF ; 255
|
2059 |
b6c: 08 95 ret
|
| 1805 |
b90: 8f 71 andi r24, 0x1F ; 31
|
2060 |
|
| 1806 |
b92: 80 93 b8 00 sts 0x00B8, r24
|
2061 |
00000b6e <UartInt_txByte>:
|
| 1807 |
b96: 80 91 70 00 lds r24, 0x0070
|
2062 |
b6e: 5d 9b sbis 0x0b, 5 ; 11
|
| 1808 |
b9a: ec e6 ldi r30, 0x6C ; 108
|
2063 |
b70: fe cf rjmp .-4 ; 0xb6e <UartInt_txByte>
|
| 1809 |
b9c: f2 e0 ldi r31, 0x02 ; 2
|
2064 |
b72: 8c b9 out 0x0c, r24 ; 12
|
| 1810 |
b9e: e8 0f add r30, r24
|
2065 |
b74: 08 95 ret
|
| 1811 |
ba0: f1 1d adc r31, r1
|
2066 |
|
| 1812 |
ba2: 91 e0 ldi r25, 0x01 ; 1
|
2067 |
00000b76 <__vector_11>:
|
| 1813 |
ba4: 90 83 st Z, r25
|
2068 |
b76: 1f 92 push r1
|
| 1814 |
ba6: 8f 5f subi r24, 0xFF ; 255
|
2069 |
b78: 0f 92 push r0
|
| 1815 |
ba8: 87 70 andi r24, 0x07 ; 7
|
2070 |
b7a: 0f b6 in r0, 0x3f ; 63
|
| 1816 |
baa: 80 93 70 00 sts 0x0070, r24
|
2071 |
b7c: 0f 92 push r0
|
| 1817 |
bae: ff 91 pop r31
|
2072 |
b7e: 11 24 eor r1, r1
|
| 1818 |
bb0: ef 91 pop r30
|
2073 |
b80: 8f 93 push r24
|
| 1819 |
bb2: 9f 91 pop r25
|
2074 |
b82: 9f 93 push r25
|
| 1820 |
bb4: 8f 91 pop r24
|
2075 |
b84: ef 93 push r30
|
| 1821 |
bb6: 0f 90 pop r0
|
2076 |
b86: ff 93 push r31
|
| 1822 |
bb8: 0f be out 0x3f, r0 ; 63
|
2077 |
b88: 80 91 b8 00 lds r24, 0x00B8
|
| 1823 |
bba: 0f 90 pop r0
|
2078 |
b8c: 9c b1 in r25, 0x0c ; 12
|
| 1824 |
bbc: 1f 90 pop r1
|
2079 |
b8e: e4 e7 ldi r30, 0x74 ; 116
|
| 1825 |
bbe: 18 95 reti
|
2080 |
b90: f2 e0 ldi r31, 0x02 ; 2
|
| 1826 |
|
2081 |
b92: e8 0f add r30, r24
|
| 1827 |
00000bc0 <I2CInt_init>:
|
2082 |
b94: f1 1d adc r31, r1
|
| 1828 |
bc0: 11 b8 out 0x01, r1 ; 1
|
2083 |
b96: 90 83 st Z, r25
|
| 1829 |
bc2: 88 e4 ldi r24, 0x48 ; 72
|
2084 |
b98: 8f 5f subi r24, 0xFF ; 255
|
| 1830 |
bc4: 80 b9 out 0x00, r24 ; 0
|
2085 |
b9a: 8f 71 andi r24, 0x1F ; 31
|
| 1831 |
bc6: 08 95 ret
|
2086 |
b9c: 80 93 b8 00 sts 0x00B8, r24
|
| 1832 |
|
2087 |
ba0: 80 91 70 00 lds r24, 0x0070
|
| 1833 |
00000bc8 <I2CInt_writeData>:
|
2088 |
ba4: ec e6 ldi r30, 0x6C ; 108
|
| 1834 |
bc8: 98 2f mov r25, r24
|
2089 |
ba6: f2 e0 ldi r31, 0x02 ; 2
|
| 1835 |
bca: 80 91 08 01 lds r24, 0x0108
|
2090 |
ba8: e8 0f add r30, r24
|
| 1836 |
bce: 88 23 and r24, r24
|
2091 |
baa: f1 1d adc r31, r1
|
| 1837 |
bd0: e4 f3 brlt .-8 ; 0xbca <I2CInt_writeData+0x2>
|
2092 |
bac: 91 e0 ldi r25, 0x01 ; 1
|
| 1838 |
bd2: 06 b6 in r0, 0x36 ; 54
|
2093 |
bae: 90 83 st Z, r25
|
| 1839 |
bd4: 04 fc sbrc r0, 4
|
2094 |
bb0: 8f 5f subi r24, 0xFF ; 255
|
| 1840 |
bd6: fd cf rjmp .-6 ; 0xbd2 <I2CInt_writeData+0xa>
|
2095 |
bb2: 87 70 andi r24, 0x07 ; 7
|
| 1841 |
bd8: 90 93 03 01 sts 0x0103, r25
|
2096 |
bb4: 80 93 70 00 sts 0x0070, r24
|
| 1842 |
bdc: 70 93 05 01 sts 0x0105, r23
|
2097 |
bb8: ff 91 pop r31
|
| 1843 |
be0: 60 93 04 01 sts 0x0104, r22
|
2098 |
bba: ef 91 pop r30
|
| 1844 |
be4: 40 93 07 01 sts 0x0107, r20
|
2099 |
bbc: 9f 91 pop r25
|
| 1845 |
be8: 10 92 06 01 sts 0x0106, r1
|
2100 |
bbe: 8f 91 pop r24
|
| 1846 |
bec: 10 92 09 01 sts 0x0109, r1
|
2101 |
bc0: 0f 90 pop r0
|
| 1847 |
bf0: 85 ea ldi r24, 0xA5 ; 165
|
2102 |
bc2: 0f be out 0x3f, r0 ; 63
|
| 1848 |
bf2: 86 bf out 0x36, r24 ; 54
|
2103 |
bc4: 0f 90 pop r0
|
| 1849 |
bf4: 80 91 08 01 lds r24, 0x0108
|
2104 |
bc6: 1f 90 pop r1
|
| 1850 |
bf8: 80 68 ori r24, 0x80 ; 128
|
2105 |
bc8: 18 95 reti
|
| 1851 |
bfa: 80 93 08 01 sts 0x0108, r24
|
2106 |
|
| 1852 |
bfe: 08 95 ret
|
2107 |
00000bca <I2CInt_init>:
|
| 1853 |
|
2108 |
bca: 11 b8 out 0x01, r1 ; 1
|
| 1854 |
00000c00 <I2CInt_readData>:
|
2109 |
bcc: 88 e4 ldi r24, 0x48 ; 72
|
| 1855 |
c00: 98 2f mov r25, r24
|
2110 |
bce: 80 b9 out 0x00, r24 ; 0
|
| 1856 |
c02: 80 91 08 01 lds r24, 0x0108
|
2111 |
bd0: 08 95 ret
|
| 1857 |
c06: 88 23 and r24, r24
|
2112 |
|
| 1858 |
c08: e4 f3 brlt .-8 ; 0xc02 <I2CInt_readData+0x2>
|
2113 |
00000bd2 <I2CInt_writeData>:
|
| 1859 |
c0a: 90 93 03 01 sts 0x0103, r25
|
2114 |
bd2: 98 2f mov r25, r24
|
| 1860 |
c0e: 70 93 05 01 sts 0x0105, r23
|
2115 |
bd4: 80 91 08 01 lds r24, 0x0108
|
| 1861 |
c12: 60 93 04 01 sts 0x0104, r22
|
2116 |
bd8: 88 23 and r24, r24
|
| 1862 |
c16: 40 93 07 01 sts 0x0107, r20
|
2117 |
bda: e4 f3 brlt .-8 ; 0xbd4 <I2CInt_writeData+0x2>
|
| 1863 |
c1a: 81 e0 ldi r24, 0x01 ; 1
|
2118 |
bdc: 06 b6 in r0, 0x36 ; 54
|
| 1864 |
c1c: 80 93 06 01 sts 0x0106, r24
|
2119 |
bde: 04 fc sbrc r0, 4
|
| 1865 |
c20: 10 92 09 01 sts 0x0109, r1
|
2120 |
be0: fd cf rjmp .-6 ; 0xbdc <I2CInt_writeData+0xa>
|
| 1866 |
c24: 85 ea ldi r24, 0xA5 ; 165
|
2121 |
be2: 90 93 03 01 sts 0x0103, r25
|
| 1867 |
c26: 86 bf out 0x36, r24 ; 54
|
2122 |
be6: 70 93 05 01 sts 0x0105, r23
|
| 1868 |
c28: 80 91 08 01 lds r24, 0x0108
|
2123 |
bea: 60 93 04 01 sts 0x0104, r22
|
| 1869 |
c2c: 80 68 ori r24, 0x80 ; 128
|
2124 |
bee: 40 93 07 01 sts 0x0107, r20
|
| 1870 |
c2e: 80 93 08 01 sts 0x0108, r24
|
2125 |
bf2: 10 92 06 01 sts 0x0106, r1
|
| 1871 |
c32: 08 95 ret
|
2126 |
bf6: 10 92 09 01 sts 0x0109, r1
|
| 1872 |
|
2127 |
bfa: 85 ea ldi r24, 0xA5 ; 165
|
| 1873 |
00000c34 <I2CInt_isI2cBusy>:
|
2128 |
bfc: 86 bf out 0x36, r24 ; 54
|
| 1874 |
c34: 80 91 08 01 lds r24, 0x0108
|
2129 |
bfe: 80 91 08 01 lds r24, 0x0108
|
| 1875 |
c38: 88 1f adc r24, r24
|
2130 |
c02: 80 68 ori r24, 0x80 ; 128
|
| 1876 |
c3a: 88 27 eor r24, r24
|
2131 |
c04: 80 93 08 01 sts 0x0108, r24
|
| 1877 |
c3c: 88 1f adc r24, r24
|
2132 |
c08: 08 95 ret
|
| 1878 |
c3e: 99 27 eor r25, r25
|
2133 |
|
| 1879 |
c40: 08 95 ret
|
2134 |
00000c0a <I2CInt_readData>:
|
| 1880 |
|
2135 |
c0a: 98 2f mov r25, r24
|
| 1881 |
00000c42 <__vector_17>:
|
2136 |
c0c: 80 91 08 01 lds r24, 0x0108
|
| 1882 |
c42: 1f 92 push r1
|
2137 |
c10: 88 23 and r24, r24
|
| 1883 |
c44: 0f 92 push r0
|
2138 |
c12: e4 f3 brlt .-8 ; 0xc0c <I2CInt_readData+0x2>
|
| 1884 |
c46: 0f b6 in r0, 0x3f ; 63
|
2139 |
c14: 90 93 03 01 sts 0x0103, r25
|
| 1885 |
c48: 0f 92 push r0
|
2140 |
c18: 70 93 05 01 sts 0x0105, r23
|
| 1886 |
c4a: 11 24 eor r1, r1
|
2141 |
c1c: 60 93 04 01 sts 0x0104, r22
|
| 1887 |
c4c: 8f 93 push r24
|
2142 |
c20: 40 93 07 01 sts 0x0107, r20
|
| 1888 |
c4e: 9f 93 push r25
|
2143 |
c24: 81 e0 ldi r24, 0x01 ; 1
|
| 1889 |
c50: af 93 push r26
|
2144 |
c26: 80 93 06 01 sts 0x0106, r24
|
| 1890 |
c52: bf 93 push r27
|
2145 |
c2a: 10 92 09 01 sts 0x0109, r1
|
| 1891 |
c54: ef 93 push r30
|
2146 |
c2e: 85 ea ldi r24, 0xA5 ; 165
|
| 1892 |
c56: ff 93 push r31
|
2147 |
c30: 86 bf out 0x36, r24 ; 54
|
| 1893 |
c58: 81 b1 in r24, 0x01 ; 1
|
2148 |
c32: 80 91 08 01 lds r24, 0x0108
|
| 1894 |
c5a: 99 27 eor r25, r25
|
2149 |
c36: 80 68 ori r24, 0x80 ; 128
|
| 1895 |
c5c: aa 27 eor r26, r26
|
2150 |
c38: 80 93 08 01 sts 0x0108, r24
|
| 1896 |
c5e: bb 27 eor r27, r27
|
2151 |
c3c: 08 95 ret
|
| 1897 |
c60: 88 7f andi r24, 0xF8 ; 248
|
2152 |
|
| 1898 |
c62: 90 70 andi r25, 0x00 ; 0
|
2153 |
00000c3e <I2CInt_isI2cBusy>:
|
| 1899 |
c64: a0 70 andi r26, 0x00 ; 0
|
2154 |
c3e: 80 91 08 01 lds r24, 0x0108
|
| 1900 |
c66: b0 70 andi r27, 0x00 ; 0
|
2155 |
c42: 88 1f adc r24, r24
|
| 1901 |
c68: fc 01 movw r30, r24
|
2156 |
c44: 88 27 eor r24, r24
|
| 1902 |
c6a: 38 97 sbiw r30, 0x08 ; 8
|
2157 |
c46: 88 1f adc r24, r24
|
| 1903 |
c6c: e1 35 cpi r30, 0x51 ; 81
|
2158 |
c48: 99 27 eor r25, r25
|
| 1904 |
c6e: f1 05 cpc r31, r1
|
2159 |
c4a: 08 95 ret
|
| 1905 |
c70: 08 f0 brcs .+2 ; 0xc74 <__vector_17+0x32>
|
2160 |
|
| 1906 |
c72: 9a c0 rjmp .+308 ; 0xda8 <__vector_17+0x166>
|
2161 |
00000c4c <__vector_17>:
|
| 1907 |
c74: ed 5e subi r30, 0xED ; 237
|
2162 |
c4c: 1f 92 push r1
|
| 1908 |
c76: ff 4f sbci r31, 0xFF ; 255
|
2163 |
c4e: 0f 92 push r0
|
| 1909 |
c78: 09 94 ijmp
|
2164 |
c50: 0f b6 in r0, 0x3f ; 63
|
| 1910 |
c7a: 80 91 09 01 lds r24, 0x0109
|
2165 |
c52: 0f 92 push r0
|
| 1911 |
c7e: 83 30 cpi r24, 0x03 ; 3
|
2166 |
c54: 11 24 eor r1, r1
|
| 1912 |
c80: 48 f0 brcs .+18 ; 0xc94 <__vector_17+0x52>
|
2167 |
c56: 8f 93 push r24
|
| 1913 |
c82: 86 b7 in r24, 0x36 ; 54
|
2168 |
c58: 9f 93 push r25
|
| 1914 |
c84: 80 69 ori r24, 0x90 ; 144
|
2169 |
c5a: af 93 push r26
|
| 1915 |
c86: 86 bf out 0x36, r24 ; 54
|
2170 |
c5c: bf 93 push r27
|
| 1916 |
c88: 80 91 08 01 lds r24, 0x0108
|
2171 |
c5e: ef 93 push r30
|
| 1917 |
c8c: 8f 77 andi r24, 0x7F ; 127
|
2172 |
c60: ff 93 push r31
|
| 1918 |
c8e: 80 93 08 01 sts 0x0108, r24
|
2173 |
c62: 81 b1 in r24, 0x01 ; 1
|
| 1919 |
c92: 8a c0 rjmp .+276 ; 0xda8 <__vector_17+0x166>
|
2174 |
c64: 99 27 eor r25, r25
|
| 1920 |
c94: 80 91 03 01 lds r24, 0x0103
|
2175 |
c66: aa 27 eor r26, r26
|
| 1921 |
c98: 90 91 06 01 lds r25, 0x0106
|
2176 |
c68: bb 27 eor r27, r27
|
| 1922 |
c9c: 88 0f add r24, r24
|
2177 |
c6a: 88 7f andi r24, 0xF8 ; 248
|
| 1923 |
c9e: 89 0f add r24, r25
|
2178 |
c6c: 90 70 andi r25, 0x00 ; 0
|
| 1924 |
ca0: 83 b9 out 0x03, r24 ; 3
|
2179 |
c6e: a0 70 andi r26, 0x00 ; 0
|
| 1925 |
ca2: 86 b7 in r24, 0x36 ; 54
|
2180 |
c70: b0 70 andi r27, 0x00 ; 0
|
| 1926 |
ca4: 8f 7d andi r24, 0xDF ; 223
|
2181 |
c72: fc 01 movw r30, r24
|
| 1927 |
ca6: 86 bf out 0x36, r24 ; 54
|
2182 |
c74: 38 97 sbiw r30, 0x08 ; 8
|
| 1928 |
ca8: 7f c0 rjmp .+254 ; 0xda8 <__vector_17+0x166>
|
2183 |
c76: e1 35 cpi r30, 0x51 ; 81
|
| 1929 |
caa: 10 92 09 01 sts 0x0109, r1
|
2184 |
c78: f1 05 cpc r31, r1
|
| 1930 |
cae: e0 91 04 01 lds r30, 0x0104
|
2185 |
c7a: 08 f0 brcs .+2 ; 0xc7e <__vector_17+0x32>
|
| 1931 |
cb2: f0 91 05 01 lds r31, 0x0105
|
2186 |
c7c: 97 c0 rjmp .+302 ; 0xdac <__vector_17+0x160>
|
| 1932 |
cb6: 80 81 ld r24, Z
|
2187 |
c7e: ed 5e subi r30, 0xED ; 237
|
| 1933 |
cb8: 83 b9 out 0x03, r24 ; 3
|
2188 |
c80: ff 4f sbci r31, 0xFF ; 255
|
| 1934 |
cba: 31 96 adiw r30, 0x01 ; 1
|
2189 |
c82: 09 94 ijmp
|
| 1935 |
cbc: f0 93 05 01 sts 0x0105, r31
|
2190 |
c84: 80 91 09 01 lds r24, 0x0109
|
| 1936 |
cc0: e0 93 04 01 sts 0x0104, r30
|
2191 |
c88: 83 30 cpi r24, 0x03 ; 3
|
| 1937 |
cc4: 86 b7 in r24, 0x36 ; 54
|
2192 |
c8a: 48 f0 brcs .+18 ; 0xc9e <__vector_17+0x52>
|
| 1938 |
cc6: 80 68 ori r24, 0x80 ; 128
|
2193 |
c8c: 86 b7 in r24, 0x36 ; 54
|
| 1939 |
cc8: 86 bf out 0x36, r24 ; 54
|
2194 |
c8e: 80 69 ori r24, 0x90 ; 144
|
| 1940 |
cca: 6e c0 rjmp .+220 ; 0xda8 <__vector_17+0x166>
|
2195 |
c90: 86 bf out 0x36, r24 ; 54
|
| 1941 |
ccc: 80 91 09 01 lds r24, 0x0109
|
2196 |
c92: 80 91 08 01 lds r24, 0x0108
|
| 1942 |
cd0: 8f 5f subi r24, 0xFF ; 255
|
2197 |
c96: 8f 77 andi r24, 0x7F ; 127
|
| 1943 |
cd2: 80 93 09 01 sts 0x0109, r24
|
2198 |
c98: 80 93 08 01 sts 0x0108, r24
|
| 1944 |
cd6: 86 b7 in r24, 0x36 ; 54
|
2199 |
c9c: 87 c0 rjmp .+270 ; 0xdac <__vector_17+0x160>
|
| 1945 |
cd8: 80 6b ori r24, 0xB0 ; 176
|
2200 |
c9e: 80 91 03 01 lds r24, 0x0103
|
| 1946 |
cda: 86 bf out 0x36, r24 ; 54
|
2201 |
ca2: 90 91 06 01 lds r25, 0x0106
|
| 1947 |
cdc: 65 c0 rjmp .+202 ; 0xda8 <__vector_17+0x166>
|
2202 |
ca6: 88 0f add r24, r24
|
| 1948 |
cde: 80 91 07 01 lds r24, 0x0107
|
2203 |
ca8: 89 0f add r24, r25
|
| 1949 |
ce2: 81 50 subi r24, 0x01 ; 1
|
2204 |
caa: 83 b9 out 0x03, r24 ; 3
|
| 1950 |
ce4: 80 93 07 01 sts 0x0107, r24
|
2205 |
cac: 86 b7 in r24, 0x36 ; 54
|
| 1951 |
ce8: 80 91 07 01 lds r24, 0x0107
|
2206 |
cae: 8f 7d andi r24, 0xDF ; 223
|
| 1952 |
cec: 88 23 and r24, r24
|
2207 |
cb0: 86 bf out 0x36, r24 ; 54
|
| 1953 |
cee: 79 f0 breq .+30 ; 0xd0e <__vector_17+0xcc>
|
2208 |
cb2: 7c c0 rjmp .+248 ; 0xdac <__vector_17+0x160>
|
| 1954 |
cf0: e0 91 04 01 lds r30, 0x0104
|
2209 |
cb4: 10 92 09 01 sts 0x0109, r1
|
| 1955 |
cf4: f0 91 05 01 lds r31, 0x0105
|
2210 |
cb8: e0 91 04 01 lds r30, 0x0104
|
| 1956 |
cf8: 80 81 ld r24, Z
|
2211 |
cbc: f0 91 05 01 lds r31, 0x0105
|
| 1957 |
cfa: 83 b9 out 0x03, r24 ; 3
|
2212 |
cc0: 81 91 ld r24, Z+
|
| 1958 |
cfc: 31 96 adiw r30, 0x01 ; 1
|
2213 |
cc2: 83 b9 out 0x03, r24 ; 3
|
| 1959 |
cfe: f0 93 05 01 sts 0x0105, r31
|
2214 |
cc4: f0 93 05 01 sts 0x0105, r31
|
| 1960 |
d02: e0 93 04 01 sts 0x0104, r30
|
2215 |
cc8: e0 93 04 01 sts 0x0104, r30
|
| 1961 |
d06: 86 b7 in r24, 0x36 ; 54
|
2216 |
ccc: 86 b7 in r24, 0x36 ; 54
|
| 1962 |
d08: 80 68 ori r24, 0x80 ; 128
|
2217 |
cce: 80 68 ori r24, 0x80 ; 128
|
| 1963 |
d0a: 86 bf out 0x36, r24 ; 54
|
2218 |
cd0: 86 bf out 0x36, r24 ; 54
|
| 1964 |
d0c: 4d c0 rjmp .+154 ; 0xda8 <__vector_17+0x166>
|
2219 |
cd2: 6c c0 rjmp .+216 ; 0xdac <__vector_17+0x160>
|
| 1965 |
d0e: 86 b7 in r24, 0x36 ; 54
|
2220 |
cd4: 80 91 09 01 lds r24, 0x0109
|
| 1966 |
d10: 80 69 ori r24, 0x90 ; 144
|
2221 |
cd8: 8f 5f subi r24, 0xFF ; 255
|
| 1967 |
d12: 86 bf out 0x36, r24 ; 54
|
2222 |
cda: 80 93 09 01 sts 0x0109, r24
|
| 1968 |
d14: 80 91 08 01 lds r24, 0x0108
|
2223 |
cde: 86 b7 in r24, 0x36 ; 54
|
| 1969 |
d18: 8f 77 andi r24, 0x7F ; 127
|
2224 |
ce0: 80 6b ori r24, 0xB0 ; 176
|
| 1970 |
d1a: 80 93 08 01 sts 0x0108, r24
|
2225 |
ce2: 86 bf out 0x36, r24 ; 54
|
| 1971 |
d1e: 44 c0 rjmp .+136 ; 0xda8 <__vector_17+0x166>
|
2226 |
ce4: 63 c0 rjmp .+198 ; 0xdac <__vector_17+0x160>
|
| 1972 |
d20: 86 b7 in r24, 0x36 ; 54
|
2227 |
ce6: 80 91 07 01 lds r24, 0x0107
|
| 1973 |
d22: 80 69 ori r24, 0x90 ; 144
|
2228 |
cea: 81 50 subi r24, 0x01 ; 1
|
| 1974 |
d24: 86 bf out 0x36, r24 ; 54
|
2229 |
cec: 80 93 07 01 sts 0x0107, r24
|
| 1975 |
d26: 80 91 08 01 lds r24, 0x0108
|
2230 |
cf0: 80 91 07 01 lds r24, 0x0107
|
| 1976 |
d2a: 8f 77 andi r24, 0x7F ; 127
|
2231 |
cf4: 88 23 and r24, r24
|
| 1977 |
d2c: 80 93 08 01 sts 0x0108, r24
|
2232 |
cf6: 71 f0 breq .+28 ; 0xd14 <__vector_17+0xc8>
|
| 1978 |
d30: 3b c0 rjmp .+118 ; 0xda8 <__vector_17+0x166>
|
2233 |
cf8: e0 91 04 01 lds r30, 0x0104
|
| 1979 |
d32: 80 91 07 01 lds r24, 0x0107
|
2234 |
cfc: f0 91 05 01 lds r31, 0x0105
|
| 1980 |
d36: 81 50 subi r24, 0x01 ; 1
|
2235 |
d00: 81 91 ld r24, Z+
|
| 1981 |
d38: 80 93 07 01 sts 0x0107, r24
|
2236 |
d02: 83 b9 out 0x03, r24 ; 3
|
| 1982 |
d3c: 80 91 07 01 lds r24, 0x0107
|
2237 |
d04: f0 93 05 01 sts 0x0105, r31
|
| 1983 |
d40: 88 23 and r24, r24
|
2238 |
d08: e0 93 04 01 sts 0x0104, r30
|
| 1984 |
d42: 21 f0 breq .+8 ; 0xd4c <__vector_17+0x10a>
|
2239 |
d0c: 86 b7 in r24, 0x36 ; 54
|
| 1985 |
d44: 86 b7 in r24, 0x36 ; 54
|
2240 |
d0e: 80 68 ori r24, 0x80 ; 128
|
| 1986 |
d46: 80 6c ori r24, 0xC0 ; 192
|
2241 |
d10: 86 bf out 0x36, r24 ; 54
|
| 1987 |
d48: 86 bf out 0x36, r24 ; 54
|
2242 |
d12: 4c c0 rjmp .+152 ; 0xdac <__vector_17+0x160>
|
| 1988 |
d4a: 2e c0 rjmp .+92 ; 0xda8 <__vector_17+0x166>
|
2243 |
d14: 86 b7 in r24, 0x36 ; 54
|
| 1989 |
d4c: 86 b7 in r24, 0x36 ; 54
|
2244 |
d16: 80 69 ori r24, 0x90 ; 144
|
| 1990 |
d4e: 80 68 ori r24, 0x80 ; 128
|
2245 |
d18: 86 bf out 0x36, r24 ; 54
|
| 1991 |
d50: 86 bf out 0x36, r24 ; 54
|
2246 |
d1a: 80 91 08 01 lds r24, 0x0108
|
| 1992 |
d52: 2a c0 rjmp .+84 ; 0xda8 <__vector_17+0x166>
|
2247 |
d1e: 8f 77 andi r24, 0x7F ; 127
|
| 1993 |
d54: e0 91 04 01 lds r30, 0x0104
|
2248 |
d20: 80 93 08 01 sts 0x0108, r24
|
| 1994 |
d58: f0 91 05 01 lds r31, 0x0105
|
2249 |
d24: 43 c0 rjmp .+134 ; 0xdac <__vector_17+0x160>
|
| 1995 |
d5c: 83 b1 in r24, 0x03 ; 3
|
2250 |
d26: 86 b7 in r24, 0x36 ; 54
|
| 1996 |
d5e: 80 83 st Z, r24
|
2251 |
d28: 80 69 ori r24, 0x90 ; 144
|
| 1997 |
d60: 31 96 adiw r30, 0x01 ; 1
|
2252 |
d2a: 86 bf out 0x36, r24 ; 54
|
| 1998 |
d62: f0 93 05 01 sts 0x0105, r31
|
2253 |
d2c: 80 91 08 01 lds r24, 0x0108
|
| 1999 |
d66: e0 93 04 01 sts 0x0104, r30
|
2254 |
d30: 8f 77 andi r24, 0x7F ; 127
|
| 2000 |
d6a: 80 91 07 01 lds r24, 0x0107
|
2255 |
d32: 80 93 08 01 sts 0x0108, r24
|
| 2001 |
d6e: 81 50 subi r24, 0x01 ; 1
|
2256 |
d36: 3a c0 rjmp .+116 ; 0xdac <__vector_17+0x160>
|
| 2002 |
d70: 80 93 07 01 sts 0x0107, r24
|
2257 |
d38: 80 91 07 01 lds r24, 0x0107
|
| 2003 |
d74: 80 91 07 01 lds r24, 0x0107
|
2258 |
d3c: 81 50 subi r24, 0x01 ; 1
|
| 2004 |
d78: 88 23 and r24, r24
|
2259 |
d3e: 80 93 07 01 sts 0x0107, r24
|
| 2005 |
d7a: 21 f0 breq .+8 ; 0xd84 <__vector_17+0x142>
|
2260 |
d42: 80 91 07 01 lds r24, 0x0107
|
| 2006 |
d7c: 86 b7 in r24, 0x36 ; 54
|
2261 |
d46: 88 23 and r24, r24
|
| 2007 |
d7e: 80 6c ori r24, 0xC0 ; 192
|
2262 |
d48: 21 f0 breq .+8 ; 0xd52 <__vector_17+0x106>
|
| 2008 |
d80: 86 bf out 0x36, r24 ; 54
|
2263 |
d4a: 86 b7 in r24, 0x36 ; 54
|
| 2009 |
d82: 12 c0 rjmp .+36 ; 0xda8 <__vector_17+0x166>
|
2264 |
d4c: 80 6c ori r24, 0xC0 ; 192
|
| 2010 |
d84: 86 b7 in r24, 0x36 ; 54
|
2265 |
d4e: 86 bf out 0x36, r24 ; 54
|
| 2011 |
d86: 8f 7b andi r24, 0xBF ; 191
|
2266 |
d50: 2d c0 rjmp .+90 ; 0xdac <__vector_17+0x160>
|
| 2012 |
d88: 86 bf out 0x36, r24 ; 54
|
2267 |
d52: 86 b7 in r24, 0x36 ; 54
|
| 2013 |
d8a: 0e c0 rjmp .+28 ; 0xda8 <__vector_17+0x166>
|
2268 |
d54: 80 68 ori r24, 0x80 ; 128
|
| 2014 |
d8c: e0 91 04 01 lds r30, 0x0104
|
2269 |
d56: 86 bf out 0x36, r24 ; 54
|
| 2015 |
d90: f0 91 05 01 lds r31, 0x0105
|
2270 |
d58: 29 c0 rjmp .+82 ; 0xdac <__vector_17+0x160>
|
| 2016 |
d94: 83 b1 in r24, 0x03 ; 3
|
2271 |
d5a: e0 91 04 01 lds r30, 0x0104
|
| 2017 |
d96: 80 83 st Z, r24
|
2272 |
d5e: f0 91 05 01 lds r31, 0x0105
|
| 2018 |
d98: 86 b7 in r24, 0x36 ; 54
|
2273 |
d62: 83 b1 in r24, 0x03 ; 3
|
| 2019 |
d9a: 80 69 ori r24, 0x90 ; 144
|
2274 |
d64: 81 93 st Z+, r24
|
| 2020 |
d9c: 86 bf out 0x36, r24 ; 54
|
2275 |
d66: f0 93 05 01 sts 0x0105, r31
|
| 2021 |
d9e: 80 91 08 01 lds r24, 0x0108
|
2276 |
d6a: e0 93 04 01 sts 0x0104, r30
|
| 2022 |
da2: 8f 77 andi r24, 0x7F ; 127
|
2277 |
d6e: 80 91 07 01 lds r24, 0x0107
|
| 2023 |
da4: 80 93 08 01 sts 0x0108, r24
|
2278 |
d72: 81 50 subi r24, 0x01 ; 1
|
| 2024 |
da8: ff 91 pop r31
|
2279 |
d74: 80 93 07 01 sts 0x0107, r24
|
| 2025 |
daa: ef 91 pop r30
|
2280 |
d78: 80 91 07 01 lds r24, 0x0107
|
| 2026 |
dac: bf 91 pop r27
|
2281 |
d7c: 88 23 and r24, r24
|
| 2027 |
dae: af 91 pop r26
|
2282 |
d7e: 21 f0 breq .+8 ; 0xd88 <__vector_17+0x13c>
|
| 2028 |
db0: 9f 91 pop r25
|
2283 |
d80: 86 b7 in r24, 0x36 ; 54
|
| 2029 |
db2: 8f 91 pop r24
|
2284 |
d82: 80 6c ori r24, 0xC0 ; 192
|
| 2030 |
db4: 0f 90 pop r0
|
2285 |
d84: 86 bf out 0x36, r24 ; 54
|
| 2031 |
db6: 0f be out 0x3f, r0 ; 63
|
2286 |
d86: 12 c0 rjmp .+36 ; 0xdac <__vector_17+0x160>
|
| - |
|
2287 |
d88: 86 b7 in r24, 0x36 ; 54
|
| - |
|
2288 |
d8a: 8f 7b andi r24, 0xBF ; 191
|
| - |
|
2289 |
d8c: 86 bf out 0x36, r24 ; 54
|
| - |
|
2290 |
d8e: 0e c0 rjmp .+28 ; 0xdac <__vector_17+0x160>
|
| - |
|
2291 |
d90: e0 91 04 01 lds r30, 0x0104
|
| - |
|
2292 |
d94: f0 91 05 01 lds r31, 0x0105
|
| - |
|
2293 |
d98: 83 b1 in r24, 0x03 ; 3
|
| - |
|
2294 |
d9a: 80 83 st Z, r24
|
| - |
|
2295 |
d9c: 86 b7 in r24, 0x36 ; 54
|
| - |
|
2296 |
d9e: 80 69 ori r24, 0x90 ; 144
|
| - |
|
2297 |
da0: 86 bf out 0x36, r24 ; 54
|
| - |
|
2298 |
da2: 80 91 08 01 lds r24, 0x0108
|
| - |
|
2299 |
da6: 8f 77 andi r24, 0x7F ; 127
|
| - |
|
2300 |
da8: 80 93 08 01 sts 0x0108, r24
|
| - |
|
2301 |
dac: ff 91 pop r31
|
| - |
|
2302 |
dae: ef 91 pop r30
|
| - |
|
2303 |
db0: bf 91 pop r27
|
| - |
|
2304 |
db2: af 91 pop r26
|
| - |
|
2305 |
db4: 9f 91 pop r25
|
| - |
|
2306 |
db6: 8f 91 pop r24
|
| 2032 |
db8: 0f 90 pop r0
|
2307 |
db8: 0f 90 pop r0
|
| - |
|
2308 |
dba: 0f be out 0x3f, r0 ; 63
|
| - |
|
2309 |
dbc: 0f 90 pop r0
|
| 2033 |
dba: 1f 90 pop r1
|
2310 |
dbe: 1f 90 pop r1
|
| 2034 |
dbc: 18 95 reti
|
2311 |
dc0: 18 95 reti
|
| - |
|
2312 |
|
| - |
|
2313 |
00000dc2 <CamConfig_writeTxFifo>:
|
| - |
|
2314 |
dc2: 20 91 0a 01 lds r18, 0x010A
|
| - |
|
2315 |
dc6: e2 2f mov r30, r18
|
| - |
|
2316 |
dc8: ff 27 eor r31, r31
|
| - |
|
2317 |
dca: ee 0f add r30, r30
|
| - |
|
2318 |
dcc: ff 1f adc r31, r31
|
| - |
|
2319 |
dce: ec 52 subi r30, 0x2C ; 44
|
| - |
|
2320 |
dd0: fd 4f sbci r31, 0xFD ; 253
|
| - |
|
2321 |
dd2: 91 83 std Z+1, r25 ; 0x01
|
| - |
|
2322 |
dd4: 80 83 st Z, r24
|
| - |
|
2323 |
dd6: 2f 5f subi r18, 0xFF ; 255
|
| - |
|
2324 |
dd8: 27 70 andi r18, 0x07 ; 7
|
| - |
|
2325 |
dda: 20 93 0a 01 sts 0x010A, r18
|
| - |
|
2326 |
dde: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
2327 |
de0: 80 91 0b 01 lds r24, 0x010B
|
| - |
|
2328 |
de4: 28 17 cp r18, r24
|
| - |
|
2329 |
de6: 09 f4 brne .+2 ; 0xdea <CamConfig_writeTxFifo+0x28>
|
| - |
|
2330 |
de8: 91 e0 ldi r25, 0x01 ; 1
|
| - |
|
2331 |
dea: 81 e0 ldi r24, 0x01 ; 1
|
| - |
|
2332 |
dec: 89 27 eor r24, r25
|
| - |
|
2333 |
dee: 99 27 eor r25, r25
|
| - |
|
2334 |
df0: 08 95 ret
|
| - |
|
2335 |
|
| - |
|
2336 |
00000df2 <CamConfig_setCamReg>:
|
| - |
|
2337 |
df2: 28 2f mov r18, r24
|
| - |
|
2338 |
df4: 36 2f mov r19, r22
|
| - |
|
2339 |
df6: c9 01 movw r24, r18
|
| - |
|
2340 |
df8: e4 df rcall .-56 ; 0xdc2 <CamConfig_writeTxFifo>
|
| - |
|
2341 |
dfa: 08 95 ret
|
| - |
|
2342 |
|
| - |
|
2343 |
00000dfc <CamConfig_sendFifoCmds>:
|
| - |
|
2344 |
dfc: ef 92 push r14
|
| - |
|
2345 |
dfe: ff 92 push r15
|
| - |
|
2346 |
e00: 0f 93 push r16
|
| - |
|
2347 |
e02: 1f 93 push r17
|
| - |
|
2348 |
e04: cf 93 push r28
|
| - |
|
2349 |
e06: df 93 push r29
|
| - |
|
2350 |
e08: cd b7 in r28, 0x3d ; 61
|
| - |
|
2351 |
e0a: de b7 in r29, 0x3e ; 62
|
| - |
|
2352 |
e0c: 22 97 sbiw r28, 0x02 ; 2
|
| - |
|
2353 |
e0e: 0f b6 in r0, 0x3f ; 63
|
| - |
|
2354 |
e10: f8 94 cli
|
| - |
|
2355 |
e12: de bf out 0x3e, r29 ; 62
|
| - |
|
2356 |
e14: 0f be out 0x3f, r0 ; 63
|
| - |
|
2357 |
e16: cd bf out 0x3d, r28 ; 61
|
| - |
|
2358 |
e18: 0f 2e mov r0, r31
|
| - |
|
2359 |
e1a: f4 ed ldi r31, 0xD4 ; 212
|
| - |
|
2360 |
e1c: ef 2e mov r14, r31
|
| - |
|
2361 |
e1e: f2 e0 ldi r31, 0x02 ; 2
|
| - |
|
2362 |
e20: ff 2e mov r15, r31
|
| - |
|
2363 |
e22: f0 2d mov r31, r0
|
| - |
|
2364 |
e24: 8e 01 movw r16, r28
|
| - |
|
2365 |
e26: 0f 5f subi r16, 0xFF ; 255
|
| - |
|
2366 |
e28: 1f 4f sbci r17, 0xFF ; 255
|
| - |
|
2367 |
e2a: 19 c0 rjmp .+50 ; 0xe5e <CamConfig_sendFifoCmds+0x62>
|
| - |
|
2368 |
e2c: e3 2f mov r30, r19
|
| - |
|
2369 |
e2e: ff 27 eor r31, r31
|
| - |
|
2370 |
e30: ee 0f add r30, r30
|
| - |
|
2371 |
e32: ff 1f adc r31, r31
|
| - |
|
2372 |
e34: ee 0d add r30, r14
|
| - |
|
2373 |
e36: ff 1d adc r31, r15
|
| - |
|
2374 |
e38: 91 81 ldd r25, Z+1 ; 0x01
|
| - |
|
2375 |
e3a: 20 81 ld r18, Z
|
| - |
|
2376 |
e3c: 83 2f mov r24, r19
|
| - |
|
2377 |
e3e: 8f 5f subi r24, 0xFF ; 255
|
| - |
|
2378 |
e40: 87 70 andi r24, 0x07 ; 7
|
| - |
|
2379 |
e42: 80 93 0b 01 sts 0x010B, r24
|
| - |
|
2380 |
e46: 9a 83 std Y+2, r25 ; 0x02
|
| - |
|
2381 |
e48: 29 83 std Y+1, r18 ; 0x01
|
| - |
|
2382 |
e4a: 42 e0 ldi r20, 0x02 ; 2
|
| - |
|
2383 |
e4c: b8 01 movw r22, r16
|
| - |
|
2384 |
e4e: 80 e6 ldi r24, 0x60 ; 96
|
| - |
|
2385 |
e50: c0 de rcall .-640 ; 0xbd2 <I2CInt_writeData>
|
| - |
|
2386 |
e52: 84 e6 ldi r24, 0x64 ; 100
|
| - |
|
2387 |
e54: 90 e0 ldi r25, 0x00 ; 0
|
| - |
|
2388 |
e56: 27 d0 rcall .+78 ; 0xea6 <Utility_delay>
|
| - |
|
2389 |
e58: f2 de rcall .-540 ; 0xc3e <I2CInt_isI2cBusy>
|
| - |
|
2390 |
e5a: 81 30 cpi r24, 0x01 ; 1
|
| - |
|
2391 |
e5c: e9 f3 breq .-6 ; 0xe58 <CamConfig_sendFifoCmds+0x5c>
|
| - |
|
2392 |
e5e: 30 91 0b 01 lds r19, 0x010B
|
| - |
|
2393 |
e62: 80 91 0a 01 lds r24, 0x010A
|
| - |
|
2394 |
e66: 83 17 cp r24, r19
|
| - |
|
2395 |
e68: 09 f7 brne .-62 ; 0xe2c <CamConfig_sendFifoCmds+0x30>
|
| - |
|
2396 |
e6a: 22 96 adiw r28, 0x02 ; 2
|
| - |
|
2397 |
e6c: 0f b6 in r0, 0x3f ; 63
|
| - |
|
2398 |
e6e: f8 94 cli
|
| - |
|
2399 |
e70: de bf out 0x3e, r29 ; 62
|
| - |
|
2400 |
e72: 0f be out 0x3f, r0 ; 63
|
| - |
|
2401 |
e74: cd bf out 0x3d, r28 ; 61
|
| - |
|
2402 |
e76: df 91 pop r29
|
| - |
|
2403 |
e78: cf 91 pop r28
|
| - |
|
2404 |
e7a: 1f 91 pop r17
|
| - |
|
2405 |
e7c: 0f 91 pop r16
|
| - |
|
2406 |
e7e: ff 90 pop r15
|
| - |
|
2407 |
e80: ef 90 pop r14
|
| - |
|
2408 |
e82: 08 95 ret
|
| - |
|
2409 |
|
| - |
|
2410 |
00000e84 <CamConfig_init>:
|
| - |
|
2411 |
e84: 60 e2 ldi r22, 0x20 ; 32
|
| - |
|
2412 |
e86: 84 e1 ldi r24, 0x14 ; 20
|
| - |
|
2413 |
e88: b4 df rcall .-152 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
2414 |
e8a: 60 e4 ldi r22, 0x40 ; 64
|
| - |
|
2415 |
e8c: 89 e3 ldi r24, 0x39 ; 57
|
| - |
|
2416 |
e8e: b1 df rcall .-158 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
2417 |
e90: 68 e2 ldi r22, 0x28 ; 40
|
| - |
|
2418 |
e92: 82 e1 ldi r24, 0x12 ; 18
|
| - |
|
2419 |
e94: ae df rcall .-164 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
2420 |
e96: 65 e0 ldi r22, 0x05 ; 5
|
| - |
|
2421 |
e98: 88 e2 ldi r24, 0x28 ; 40
|
| - |
|
2422 |
e9a: ab df rcall .-170 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
2423 |
e9c: 61 e0 ldi r22, 0x01 ; 1
|
| - |
|
2424 |
e9e: 83 e1 ldi r24, 0x13 ; 19
|
| - |
|
2425 |
ea0: a8 df rcall .-176 ; 0xdf2 <CamConfig_setCamReg>
|
| - |
|
2426 |
ea2: ac df rcall .-168 ; 0xdfc <CamConfig_sendFifoCmds>
|
| - |
|
2427 |
ea4: 08 95 ret
|
| - |
|
2428 |
|
| - |
|
2429 |
00000ea6 <Utility_delay>:
|
| - |
|
2430 |
ea6: cf 93 push r28
|
| - |
|
2431 |
ea8: df 93 push r29
|
| - |
|
2432 |
eaa: cd b7 in r28, 0x3d ; 61
|
| - |
|
2433 |
eac: de b7 in r29, 0x3e ; 62
|
| - |
|
2434 |
eae: 24 97 sbiw r28, 0x04 ; 4
|
| - |
|
2435 |
eb0: 0f b6 in r0, 0x3f ; 63
|
| - |
|
2436 |
eb2: f8 94 cli
|
| - |
|
2437 |
eb4: de bf out 0x3e, r29 ; 62
|
| - |
|
2438 |
eb6: 0f be out 0x3f, r0 ; 63
|
| - |
|
2439 |
eb8: cd bf out 0x3d, r28 ; 61
|
| - |
|
2440 |
eba: 9c 01 movw r18, r24
|
| - |
|
2441 |
ebc: 1a 82 std Y+2, r1 ; 0x02
|
| - |
|
2442 |
ebe: 19 82 std Y+1, r1 ; 0x01
|
| - |
|
2443 |
ec0: 1c 82 std Y+4, r1 ; 0x04
|
| - |
|
2444 |
ec2: 1b 82 std Y+3, r1 ; 0x03
|
| - |
|
2445 |
ec4: 1a 82 std Y+2, r1 ; 0x02
|
| - |
|
2446 |
ec6: 19 82 std Y+1, r1 ; 0x01
|
| - |
|
2447 |
ec8: 89 81 ldd r24, Y+1 ; 0x01
|
| - |
|
2448 |
eca: 9a 81 ldd r25, Y+2 ; 0x02
|
| - |
|
2449 |
ecc: 82 17 cp r24, r18
|
| - |
|
2450 |
ece: 93 07 cpc r25, r19
|
| - |
|
2451 |
ed0: e0 f4 brcc .+56 ; 0xf0a <Utility_delay+0x64>
|
| - |
|
2452 |
ed2: 1c 82 std Y+4, r1 ; 0x04
|
| - |
|
2453 |
ed4: 1b 82 std Y+3, r1 ; 0x03
|
| - |
|
2454 |
ed6: 8b 81 ldd r24, Y+3 ; 0x03
|
| - |
|
2455 |
ed8: 9c 81 ldd r25, Y+4 ; 0x04
|
| - |
|
2456 |
eda: 88 5e subi r24, 0xE8 ; 232
|
| - |
|
2457 |
edc: 93 40 sbci r25, 0x03 ; 3
|
| - |
|
2458 |
ede: 58 f4 brcc .+22 ; 0xef6 <Utility_delay+0x50>
|
| - |
|
2459 |
ee0: 00 00 nop
|
| - |
|
2460 |
ee2: 8b 81 ldd r24, Y+3 ; 0x03
|
| - |
|
2461 |
ee4: 9c 81 ldd r25, Y+4 ; 0x04
|
| - |
|
2462 |
ee6: 01 96 adiw r24, 0x01 ; 1
|
| - |
|
2463 |
ee8: 9c 83 std Y+4, r25 ; 0x04
|
| - |
|
2464 |
eea: 8b 83 std Y+3, r24 ; 0x03
|
| - |
|
2465 |
eec: 8b 81 ldd r24, Y+3 ; 0x03
|
| - |
|
2466 |
eee: 9c 81 ldd r25, Y+4 ; 0x04
|
| - |
|
2467 |
ef0: 88 5e subi r24, 0xE8 ; 232
|
| - |
|
2468 |
ef2: 93 40 sbci r25, 0x03 ; 3
|
| - |
|
2469 |
ef4: a8 f3 brcs .-22 ; 0xee0 <Utility_delay+0x3a>
|
| - |
|
2470 |
ef6: 89 81 ldd r24, Y+1 ; 0x01
|
| - |
|
2471 |
ef8: 9a 81 ldd r25, Y+2 ; 0x02
|
| - |
|
2472 |
efa: 01 96 adiw r24, 0x01 ; 1
|
| - |
|
2473 |
efc: 9a 83 std Y+2, r25 ; 0x02
|
| - |
|
2474 |
efe: 89 83 std Y+1, r24 ; 0x01
|
| - |
|
2475 |
f00: 89 81 ldd r24, Y+1 ; 0x01
|
| - |
|
2476 |
f02: 9a 81 ldd r25, Y+2 ; 0x02
|
| - |
|
2477 |
f04: 82 17 cp r24, r18
|
| - |
|
2478 |
f06: 93 07 cpc r25, r19
|
| - |
|
2479 |
f08: 20 f3 brcs .-56 ; 0xed2 <Utility_delay+0x2c>
|
| - |
|
2480 |
f0a: 24 96 adiw r28, 0x04 ; 4
|
| - |
|
2481 |
f0c: 0f b6 in r0, 0x3f ; 63
|
| - |
|
2482 |
f0e: f8 94 cli
|
| - |
|
2483 |
f10: de bf out 0x3e, r29 ; 62
|
| - |
|
2484 |
f12: 0f be out 0x3f, r0 ; 63
|
| - |
|
2485 |
f14: cd bf out 0x3d, r28 ; 61
|
| - |
|
2486 |
f16: df 91 pop r29
|
| - |
|
2487 |
f18: cf 91 pop r28
|
| - |
|
2488 |
f1a: 08 95 ret
|
| 2035 |
|
2489 |
|
| 2036 |
00000dbe <CamConfig_writeTxFifo>:
|
- |
|
| 2037 |
dbe: 20 91 0a 01 lds r18, 0x010A
|
- |
|
| 2038 |
dc2: e2 2f mov r30, r18
|
- |
|
| 2039 |
dc4: ff 27 eor r31, r31
|
- |
|
| 2040 |
dc6: ee 0f add r30, r30
|
- |
|
| 2041 |
dc8: ff 1f adc r31, r31
|
- |
|
| 2042 |
dca: ec 52 subi r30, 0x2C ; 44
|
- |
|
| 2043 |
dcc: fd 4f sbci r31, 0xFD ; 253
|
- |
|
| 2044 |
dce: 91 83 std Z+1, r25 ; 0x01
|
- |
|
| 2045 |
dd0: 80 83 st Z, r24
|
- |
|
| 2046 |
dd2: 2f 5f subi r18, 0xFF ; 255
|
- |
|
| 2047 |
dd4: 27 70 andi r18, 0x07 ; 7
|
- |
|
| 2048 |
dd6: 20 93 0a 01 sts 0x010A, r18
|
- |
|
| 2049 |
dda: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 2050 |
ddc: 80 91 0b 01 lds r24, 0x010B
|
- |
|
| 2051 |
de0: 28 17 cp r18, r24
|
- |
|
| 2052 |
de2: 09 f4 brne .+2 ; 0xde6 <CamConfig_writeTxFifo+0x28>
|
- |
|
| 2053 |
de4: 91 e0 ldi r25, 0x01 ; 1
|
- |
|
| 2054 |
de6: 81 e0 ldi r24, 0x01 ; 1
|
- |
|
| 2055 |
de8: 89 27 eor r24, r25
|
- |
|
| 2056 |
dea: 99 27 eor r25, r25
|
- |
|
| 2057 |
dec: 08 95 ret
|
- |
|
| 2058 |
|
- |
|
| 2059 |
00000dee <CamConfig_setCamReg>:
|
- |
|
| 2060 |
dee: 28 2f mov r18, r24
|
- |
|
| 2061 |
df0: 36 2f mov r19, r22
|
- |
|
| 2062 |
df2: c9 01 movw r24, r18
|
- |
|
| 2063 |
df4: e4 df rcall .-56 ; 0xdbe <CamConfig_writeTxFifo>
|
- |
|
| 2064 |
df6: 08 95 ret
|
- |
|
| 2065 |
|
- |
|
| 2066 |
00000df8 <CamConfig_sendFifoCmds>:
|
- |
|
| 2067 |
df8: 0f 93 push r16
|
- |
|
| 2068 |
dfa: 1f 93 push r17
|
- |
|
| 2069 |
dfc: cf 93 push r28
|
- |
|
| 2070 |
dfe: df 93 push r29
|
- |
|
| 2071 |
e00: cd b7 in r28, 0x3d ; 61
|
- |
|
| 2072 |
e02: de b7 in r29, 0x3e ; 62
|
- |
|
| 2073 |
e04: 22 97 sbiw r28, 0x02 ; 2
|
- |
|
| 2074 |
e06: 0f b6 in r0, 0x3f ; 63
|
- |
|
| 2075 |
e08: f8 94 cli
|
- |
|
| 2076 |
e0a: de bf out 0x3e, r29 ; 62
|
- |
|
| 2077 |
e0c: 0f be out 0x3f, r0 ; 63
|
- |
|
| 2078 |
e0e: cd bf out 0x3d, r28 ; 61
|
- |
|
| 2079 |
e10: 8e 01 movw r16, r28
|
- |
|
| 2080 |
e12: 0f 5f subi r16, 0xFF ; 255
|
- |
|
| 2081 |
e14: 1f 4f sbci r17, 0xFF ; 255
|
- |
|
| 2082 |
e16: 19 c0 rjmp .+50 ; 0xe4a <CamConfig_sendFifoCmds+0x52>
|
- |
|
| 2083 |
e18: e3 2f mov r30, r19
|
- |
|
| 2084 |
e1a: ff 27 eor r31, r31
|
- |
|
| 2085 |
e1c: ee 0f add r30, r30
|
- |
|
| 2086 |
e1e: ff 1f adc r31, r31
|
- |
|
| 2087 |
e20: ec 52 subi r30, 0x2C ; 44
|
- |
|
| 2088 |
e22: fd 4f sbci r31, 0xFD ; 253
|
- |
|
| 2089 |
e24: 91 81 ldd r25, Z+1 ; 0x01
|
- |
|
| 2090 |
e26: 20 81 ld r18, Z
|
- |
|
| 2091 |
e28: 83 2f mov r24, r19
|
- |
|
| 2092 |
e2a: 8f 5f subi r24, 0xFF ; 255
|
- |
|
| 2093 |
e2c: 87 70 andi r24, 0x07 ; 7
|
- |
|
| 2094 |
e2e: 80 93 0b 01 sts 0x010B, r24
|
- |
|
| 2095 |
e32: 9a 83 std Y+2, r25 ; 0x02
|
- |
|
| 2096 |
e34: 29 83 std Y+1, r18 ; 0x01
|
- |
|
| 2097 |
e36: 42 e0 ldi r20, 0x02 ; 2
|
- |
|
| 2098 |
e38: b8 01 movw r22, r16
|
- |
|
| 2099 |
e3a: 80 e6 ldi r24, 0x60 ; 96
|
- |
|
| 2100 |
e3c: c5 de rcall .-630 ; 0xbc8 <I2CInt_writeData>
|
- |
|
| 2101 |
e3e: 84 e6 ldi r24, 0x64 ; 100
|
- |
|
| 2102 |
e40: 90 e0 ldi r25, 0x00 ; 0
|
- |
|
| 2103 |
e42: 25 d0 rcall .+74 ; 0xe8e <Utility_delay>
|
- |
|
| 2104 |
e44: f7 de rcall .-530 ; 0xc34 <I2CInt_isI2cBusy>
|
- |
|
| 2105 |
e46: 81 30 cpi r24, 0x01 ; 1
|
- |
|
| 2106 |
e48: e9 f3 breq .-6 ; 0xe44 <CamConfig_sendFifoCmds+0x4c>
|
- |
|
| 2107 |
e4a: 30 91 0b 01 lds r19, 0x010B
|
- |
|
| 2108 |
e4e: 80 91 0a 01 lds r24, 0x010A
|
- |
|
| 2109 |
e52: 83 17 cp r24, r19
|
- |
|
| 2110 |
e54: 09 f7 brne .-62 ; 0xe18 <CamConfig_sendFifoCmds+0x20>
|
- |
|
| 2111 |
e56: 22 96 adiw r28, 0x02 ; 2
|
- |
|
| 2112 |
e58: 0f b6 in r0, 0x3f ; 63
|
- |
|
| 2113 |
e5a: f8 94 cli
|
- |
|
| 2114 |
e5c: de bf out 0x3e, r29 ; 62
|
- |
|
| 2115 |
e5e: 0f be out 0x3f, r0 ; 63
|
- |
|
| 2116 |
e60: cd bf out 0x3d, r28 ; 61
|
- |
|
| 2117 |
e62: df 91 pop r29
|
- |
|
| 2118 |
e64: cf 91 pop r28
|
- |
|
| 2119 |
e66: 1f 91 pop r17
|
- |
|
| 2120 |
e68: 0f 91 pop r16
|
- |
|
| 2121 |
e6a: 08 95 ret
|
- |
|
| 2122 |
|
- |
|
| 2123 |
00000e6c <CamConfig_init>:
|
2490 |
00000f1c <DebugInt_init>:
|
| 2124 |
e6c: 60 e2 ldi r22, 0x20 ; 32
|
- |
|
| 2125 |
e6e: 84 e1 ldi r24, 0x14 ; 20
|
- |
|
| 2126 |
e70: be df rcall .-132 ; 0xdee <CamConfig_setCamReg>
|
- |
|
| 2127 |
e72: 60 e4 ldi r22, 0x40 ; 64
|
- |
|
| 2128 |
e74: 89 e3 ldi r24, 0x39 ; 57
|
- |
|
| 2129 |
e76: bb df rcall .-138 ; 0xdee <CamConfig_setCamReg>
|
- |
|
| 2130 |
e78: 68 e2 ldi r22, 0x28 ; 40
|
- |
|
| 2131 |
e7a: 82 e1 ldi r24, 0x12 ; 18
|
- |
|
| 2132 |
e7c: b8 df rcall .-144 ; 0xdee <CamConfig_setCamReg>
|
- |
|
| 2133 |
e7e: 65 e0 ldi r22, 0x05 ; 5
|
- |
|
| 2134 |
e80: 88 e2 ldi r24, 0x28 ; 40
|
- |
|
| 2135 |
e82: b5 df rcall .-150 ; 0xdee <CamConfig_setCamReg>
|
- |
|
| 2136 |
e84: 61 e0 ldi r22, 0x01 ; 1
|
- |
|
| 2137 |
e86: 83 e1 ldi r24, 0x13 ; 19
|
- |
|
| 2138 |
e88: b2 df rcall .-156 ; 0xdee <CamConfig_setCamReg>
|
2491 |
***********************************************************/
|
| 2139 |
e8a: b6 df rcall .-148 ; 0xdf8 <CamConfig_sendFifoCmds>
|
- |
|
| 2140 |
e8c: 08 95 ret
|
2492 |
void DebugInt_init(void)
|
| 2141 |
|
2493 |
{
|
| 2142 |
00000e8e <Utility_delay>:
|
- |
|
| 2143 |
e8e: cf 93 push r28
|
- |
|
| 2144 |
e90: df 93 push r29
|
- |
|
| 2145 |
e92: cd b7 in r28, 0x3d ; 61
|
- |
|
| 2146 |
e94: de b7 in r29, 0x3e ; 62
|
- |
|
| 2147 |
e96: 24 97 sbiw r28, 0x04 ; 4
|
- |
|
| 2148 |
e98: 0f b6 in r0, 0x3f ; 63
|
- |
|
| 2149 |
e9a: f8 94 cli
|
- |
|
| 2150 |
e9c: de bf out 0x3e, r29 ; 62
|
- |
|
| 2151 |
e9e: 0f be out 0x3f, r0 ; 63
|
- |
|
| 2152 |
ea0: cd bf out 0x3d, r28 ; 61
|
- |
|
| 2153 |
ea2: 9c 01 movw r18, r24
|
- |
|
| 2154 |
ea4: 1a 82 std Y+2, r1 ; 0x02
|
- |
|
| 2155 |
ea6: 19 82 std Y+1, r1 ; 0x01
|
- |
|
| 2156 |
ea8: 1c 82 std Y+4, r1 ; 0x04
|
- |
|
| 2157 |
eaa: 1b 82 std Y+3, r1 ; 0x03
|
- |
|
| 2158 |
eac: 1a 82 std Y+2, r1 ; 0x02
|
- |
|
| 2159 |
eae: 19 82 std Y+1, r1 ; 0x01
|
- |
|
| 2160 |
eb0: 89 81 ldd r24, Y+1 ; 0x01
|
- |
|
| 2161 |
eb2: 9a 81 ldd r25, Y+2 ; 0x02
|
- |
|
| 2162 |
eb4: 82 17 cp r24, r18
|
- |
|
| 2163 |
eb6: 93 07 cpc r25, r19
|
- |
|
| 2164 |
eb8: e0 f4 brcc .+56 ; 0xef2 <Utility_delay+0x64>
|
- |
|
| 2165 |
eba: 1c 82 std Y+4, r1 ; 0x04
|
- |
|
| 2166 |
ebc: 1b 82 std Y+3, r1 ; 0x03
|
- |
|
| 2167 |
ebe: 8b 81 ldd r24, Y+3 ; 0x03
|
- |
|
| 2168 |
ec0: 9c 81 ldd r25, Y+4 ; 0x04
|
- |
|
| 2169 |
ec2: 88 5e subi r24, 0xE8 ; 232
|
- |
|
| 2170 |
ec4: 93 40 sbci r25, 0x03 ; 3
|
- |
|
| 2171 |
ec6: 58 f4 brcc .+22 ; 0xede <Utility_delay+0x50>
|
- |
|
| 2172 |
ec8: 00 00 nop
|
- |
|
| 2173 |
eca: 8b 81 ldd r24, Y+3 ; 0x03
|
- |
|
| 2174 |
ecc: 9c 81 ldd r25, Y+4 ; 0x04
|
- |
|
| 2175 |
ece: 01 96 adiw r24, 0x01 ; 1
|
- |
|
| 2176 |
ed0: 9c 83 std Y+4, r25 ; 0x04
|
- |
|
| 2177 |
ed2: 8b 83 std Y+3, r24 ; 0x03
|
- |
|
| 2178 |
ed4: 8b 81 ldd r24, Y+3 ; 0x03
|
- |
|
| 2179 |
ed6: 9c 81 ldd r25, Y+4 ; 0x04
|
- |
|
| 2180 |
ed8: 88 5e subi r24, 0xE8 ; 232
|
- |
|
| 2181 |
eda: 93 40 sbci r25, 0x03 ; 3
|
- |
|
| 2182 |
edc: a8 f3 brcs .-22 ; 0xec8 <Utility_delay+0x3a>
|
- |
|
| 2183 |
ede: 89 81 ldd r24, Y+1 ; 0x01
|
- |
|
| 2184 |
ee0: 9a 81 ldd r25, Y+2 ; 0x02
|
- |
|
| 2185 |
ee2: 01 96 adiw r24, 0x01 ; 1
|
- |
|
| 2186 |
ee4: 9a 83 std Y+2, r25 ; 0x02
|
- |
|
| 2187 |
ee6: 89 83 std Y+1, r24 ; 0x01
|
- |
|
| 2188 |
ee8: 89 81 ldd r24, Y+1 ; 0x01
|
- |
|
| 2189 |
eea: 9a 81 ldd r25, Y+2 ; 0x02
|
- |
|
| 2190 |
eec: 82 17 cp r24, r18
|
- |
|
| 2191 |
eee: 93 07 cpc r25, r19
|
- |
|
| 2192 |
ef0: 20 f3 brcs .-56 ; 0xeba <Utility_delay+0x2c>
|
- |
|
| 2193 |
ef2: 24 96 adiw r28, 0x04 ; 4
|
- |
|
| 2194 |
ef4: 0f b6 in r0, 0x3f ; 63
|
- |
|
| 2195 |
ef6: f8 94 cli
|
- |
|
| 2196 |
ef8: de bf out 0x3e, r29 ; 62
|
- |
|
| 2197 |
efa: 0f be out 0x3f, r0 ; 63
|
- |
|
| 2198 |
efc: cd bf out 0x3d, r28 ; 61
|
- |
|
| 2199 |
efe: df 91 pop r29
|
2494 |
/* set PortD pin6 for output */
|
| 2200 |
f00: cf 91 pop r28
|
- |
|
| 2201 |
f02: 08 95 ret
|
2495 |
DDRD |= 0x40;
|
| 2202 |
|
- |
|
| 2203 |
00000f04 <DebugInt_init>:
|
- |
|
| 2204 |
f04: 8e 9a sbi 0x11, 6 ; 17
|
2496 |
f1c: 8e 9a sbi 0x11, 6 ; 17
|
| 2205 |
f06: 96 9a sbi 0x12, 6 ; 18
|
2497 |
/* turn on LED */
|
| 2206 |
f08: 84 ef ldi r24, 0xF4 ; 244
|
- |
|
| 2207 |
f0a: 91 e0 ldi r25, 0x01 ; 1
|
- |
|
| 2208 |
f0c: c0 df rcall .-128 ; 0xe8e <Utility_delay>
|
- |
|
| 2209 |
f0e: 96 98 cbi 0x12, 6 ; 18
|
2498 |
PORTD |= 0x40;
|
| 2210 |
f10: 84 ef ldi r24, 0xF4 ; 244
|
- |
|
| 2211 |
f12: 91 e0 ldi r25, 0x01 ; 1
|
- |
|
| 2212 |
f14: bc df rcall .-136 ; 0xe8e <Utility_delay>
|
- |
|
| 2213 |
f16: 96 9a sbi 0x12, 6 ; 18
|
2499 |
f1e: 96 9a sbi 0x12, 6 ; 18
|
| 2214 |
f18: 84 ef ldi r24, 0xF4 ; 244
|
- |
|
| 2215 |
f1a: 91 e0 ldi r25, 0x01 ; 1
|
2500 |
Utility_delay(500);
|
| 2216 |
f1c: b8 df rcall .-144 ; 0xe8e <Utility_delay>
|
- |
|
| 2217 |
f1e: 96 98 cbi 0x12, 6 ; 18
|
- |
|
| 2218 |
f20: 84 ef ldi r24, 0xF4 ; 244
|
2501 |
f20: 84 ef ldi r24, 0xF4 ; 244
|
| 2219 |
f22: 91 e0 ldi r25, 0x01 ; 1
|
2502 |
f22: 91 e0 ldi r25, 0x01 ; 1
|
| 2220 |
f24: b4 df rcall .-152 ; 0xe8e <Utility_delay>
|
2503 |
f24: c0 df rcall .-128 ; 0xea6 <Utility_delay>
|
| - |
|
2504 |
PORTD &= 0xBF;
|
| 2221 |
f26: 96 9a sbi 0x12, 6 ; 18
|
2505 |
f26: 96 98 cbi 0x12, 6 ; 18
|
| - |
|
2506 |
Utility_delay(500);
|
| 2222 |
f28: 84 ef ldi r24, 0xF4 ; 244
|
2507 |
f28: 84 ef ldi r24, 0xF4 ; 244
|
| 2223 |
f2a: 91 e0 ldi r25, 0x01 ; 1
|
2508 |
f2a: 91 e0 ldi r25, 0x01 ; 1
|
| 2224 |
f2c: b0 df rcall .-160 ; 0xe8e <Utility_delay>
|
2509 |
f2c: bc df rcall .-136 ; 0xea6 <Utility_delay>
|
| - |
|
2510 |
PORTD |= 0x40;
|
| 2225 |
f2e: 96 98 cbi 0x12, 6 ; 18
|
2511 |
f2e: 96 9a sbi 0x12, 6 ; 18
|
| - |
|
2512 |
Utility_delay(500);
|
| 2226 |
f30: 84 ef ldi r24, 0xF4 ; 244
|
2513 |
f30: 84 ef ldi r24, 0xF4 ; 244
|
| 2227 |
f32: 91 e0 ldi r25, 0x01 ; 1
|
2514 |
f32: 91 e0 ldi r25, 0x01 ; 1
|
| - |
|
2515 |
f34: b8 df rcall .-144 ; 0xea6 <Utility_delay>
|
| - |
|
2516 |
PORTD &= 0xBF;
|
| - |
|
2517 |
f36: 96 98 cbi 0x12, 6 ; 18
|
| - |
|
2518 |
Utility_delay(500);
|
| - |
|
2519 |
f38: 84 ef ldi r24, 0xF4 ; 244
|
| - |
|
2520 |
f3a: 91 e0 ldi r25, 0x01 ; 1
|
| - |
|
2521 |
f3c: b4 df rcall .-152 ; 0xea6 <Utility_delay>
|
| - |
|
2522 |
PORTD |= 0x40;
|
| - |
|
2523 |
f3e: 96 9a sbi 0x12, 6 ; 18
|
| - |
|
2524 |
Utility_delay(500);
|
| - |
|
2525 |
f40: 84 ef ldi r24, 0xF4 ; 244
|
| - |
|
2526 |
f42: 91 e0 ldi r25, 0x01 ; 1
|
| - |
|
2527 |
f44: b0 df rcall .-160 ; 0xea6 <Utility_delay>
|
| - |
|
2528 |
PORTD &= 0xBF;
|
| - |
|
2529 |
f46: 96 98 cbi 0x12, 6 ; 18
|
| - |
|
2530 |
Utility_delay(500);
|
| - |
|
2531 |
f48: 84 ef ldi r24, 0xF4 ; 244
|
| - |
|
2532 |
f4a: 91 e0 ldi r25, 0x01 ; 1
|
| 2228 |
f34: ac df rcall .-168 ; 0xe8e <Utility_delay>
|
2533 |
f4c: ac df rcall .-168 ; 0xea6 <Utility_delay>
|
| - |
|
2534 |
PORTD |= 0x40;
|
| 2229 |
f36: 96 9a sbi 0x12, 6 ; 18
|
2535 |
f4e: 96 9a sbi 0x12, 6 ; 18
|
| 2230 |
f38: 08 95 ret
|
2536 |
f50: 08 95 ret
|
| 2231 |
|
2537 |
|
| 2232 |
00000f3a <CamIntAsm_waitForNewTrackingFrame>:
|
2538 |
00000f52 <CamIntAsm_waitForNewTrackingFrame>:
|
| 2233 |
; set, and the function will return.
|
2539 |
; set, and the function will return.
|
| 2234 |
;*****************************************************************
|
2540 |
;*****************************************************************
|
| 2235 |
|
2541 |
|
| 2236 |
CamIntAsm_waitForNewTrackingFrame:
|
2542 |
CamIntAsm_waitForNewTrackingFrame:
|
| 2237 |
sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2543 |
sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2238 |
f3a: 96 9a sbi 0x12, 6 ; 18
|
2544 |
f52: 96 9a sbi 0x12, 6 ; 18
|
| 2239 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2545 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2240 |
f3c: 96 98 cbi 0x12, 6 ; 18
|
2546 |
f54: 96 98 cbi 0x12, 6 ; 18
|
| 2241 |
sleep
|
2547 |
sleep
|
| 2242 |
f3e: 88 95 sleep
|
2548 |
f56: 88 95 sleep
|
| 2243 |
|
2549 |
|
| 2244 |
00000f40 <CamIntAsm_acquireTrackingLine>:
|
2550 |
00000f58 <CamIntAsm_acquireTrackingLine>:
|
| 2245 |
|
2551 |
|
| 2246 |
;*****************************************************************
|
2552 |
;*****************************************************************
|
| 2247 |
; REMEMBER...everything from here on out is critically timed to be
|
2553 |
; REMEMBER...everything from here on out is critically timed to be
|
| 2248 |
; synchronized with the flow of pixel data from the camera...
|
2554 |
; synchronized with the flow of pixel data from the camera...
|
| 2249 |
;*****************************************************************
|
2555 |
;*****************************************************************
|
| 2250 |
|
2556 |
|
| 2251 |
CamIntAsm_acquireTrackingLine:
|
2557 |
CamIntAsm_acquireTrackingLine:
|
| 2252 |
brts _cleanUp
|
2558 |
brts _cleanUp
|
| 2253 |
f40: e6 f1 brts .+120 ; 0xfba <_cleanUp>
|
2559 |
f58: e6 f1 brts .+120 ; 0xfd2 <_cleanUp>
|
| 2254 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2560 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2255 |
;cbi _SFR_IO_ADDR(PORTD),PD6
|
2561 |
;cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2256 |
|
2562 |
|
| 2257 |
in tmp1,_SFR_IO_ADDR(TCCR1B) ; Enable the PCLK line to actually
|
2563 |
in tmp1,_SFR_IO_ADDR(TCCR1B) ; Enable the PCLK line to actually
|
| 2258 |
f42: 3e b5 in r19, 0x2e ; 46
|
2564 |
f5a: 3e b5 in r19, 0x2e ; 46
|
| 2259 |
ori tmp1, 0x07 ; feed Timer1
|
2565 |
ori tmp1, 0x07 ; feed Timer1
|
| 2260 |
f44: 37 60 ori r19, 0x07 ; 7
|
2566 |
f5c: 37 60 ori r19, 0x07 ; 7
|
| 2261 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
2567 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
| 2262 |
f46: 3e bd out 0x2e, r19 ; 46
|
2568 |
f5e: 3e bd out 0x2e, r19 ; 46
|
| 2263 |
; The line is about to start...
|
2569 |
; The line is about to start...
|
| 2264 |
ldi pixelCount,0 ; Initialize the RLE stats...
|
2570 |
ldi pixelCount,0 ; Initialize the RLE stats...
|
| 2265 |
f48: 00 e0 ldi r16, 0x00 ; 0
|
2571 |
f60: 00 e0 ldi r16, 0x00 ; 0
|
| 2266 |
ldi pixelRunStart,PIXEL_RUN_START_INITIAL ; Remember, we always calculate
|
2572 |
ldi pixelRunStart,PIXEL_RUN_START_INITIAL ; Remember, we always calculate
|
| 2267 |
f4a: 10 e5 ldi r17, 0x50 ; 80
|
2573 |
f62: 10 e5 ldi r17, 0x50 ; 80
|
| 2268 |
; the pixel run length as
|
2574 |
; the pixel run length as
|
| 2269 |
; TCNT1L - pixelRunStart
|
2575 |
; TCNT1L - pixelRunStart
|
| 2270 |
|
2576 |
|
| 2271 |
ldi lastColor,0x00 ; clear out the last color before we start
|
2577 |
ldi lastColor,0x00 ; clear out the last color before we start
|
| 2272 |
f4c: 20 e0 ldi r18, 0x00 ; 0
|
2578 |
f64: 20 e0 ldi r18, 0x00 ; 0
|
| 2273 |
|
2579 |
|
| 2274 |
mov XH,currLineBuffHigh ; Load the pointer to the current line
|
2580 |
mov XH,currLineBuffHigh ; Load the pointer to the current line
|
| 2275 |
f4e: b9 2f mov r27, r25
|
2581 |
f66: b9 2f mov r27, r25
|
| 2276 |
mov XL,currLineBuffLow ; buffer into the X pointer regs
|
2582 |
mov XL,currLineBuffLow ; buffer into the X pointer regs
|
| 2277 |
f50: a8 2f mov r26, r24
|
2583 |
f68: a8 2f mov r26, r24
|
| 2278 |
|
2584 |
|
| 2279 |
mov ZH,colorMapHigh ; Load the pointers to the membership
|
2585 |
mov ZH,colorMapHigh ; Load the pointers to the membership
|
| 2280 |
f52: f7 2f mov r31, r23
|
2586 |
f6a: f7 2f mov r31, r23
|
| 2281 |
mov ZL,colorMapLow ; lookup tables (ZL and YL will be overwritten
|
2587 |
mov ZL,colorMapLow ; lookup tables (ZL and YL will be overwritten
|
| 2282 |
f54: e6 2f mov r30, r22
|
2588 |
f6c: e6 2f mov r30, r22
|
| 2283 |
mov YH,colorMapHigh ; as soon as we start reading data) to Z and Y
|
2589 |
mov YH,colorMapHigh ; as soon as we start reading data) to Z and Y
|
| 2284 |
f56: d7 2f mov r29, r23
|
2590 |
f6e: d7 2f mov r29, r23
|
| 2285 |
|
2591 |
|
| 2286 |
in tmp1, _SFR_IO_ADDR(TIMSK) ; enable TIMER1 to start counting
|
2592 |
in tmp1, _SFR_IO_ADDR(TIMSK) ; enable TIMER1 to start counting
|
| 2287 |
f58: 39 b7 in r19, 0x39 ; 57
|
2593 |
f70: 39 b7 in r19, 0x39 ; 57
|
| 2288 |
ori tmp1, ENABLE_PCLK_TIMER1_OVERFLOW_BITMASK ; external PCLK pulses and interrupt on
|
2594 |
ori tmp1, ENABLE_PCLK_TIMER1_OVERFLOW_BITMASK ; external PCLK pulses and interrupt on
|
| 2289 |
f5a: 34 60 ori r19, 0x04 ; 4
|
2595 |
f72: 34 60 ori r19, 0x04 ; 4
|
| 2290 |
out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow
|
2596 |
out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow
|
| 2291 |
f5c: 39 bf out 0x39, r19 ; 57
|
2597 |
f74: 39 bf out 0x39, r19 ; 57
|
| 2292 |
|
2598 |
|
| 2293 |
ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and
|
2599 |
ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and
|
| 2294 |
f5e: 30 e5 ldi r19, 0x50 ; 80
|
2600 |
f76: 30 e5 ldi r19, 0x50 ; 80
|
| 2295 |
ldi tmp2,0xFF ; interrupts) after 176 pixels
|
2601 |
ldi tmp2,0xFF ; interrupts) after 176 pixels
|
| 2296 |
f60: 4f ef ldi r20, 0xFF ; 255
|
2602 |
f78: 4f ef ldi r20, 0xFF ; 255
|
| 2297 |
out _SFR_IO_ADDR(TCNT1H),tmp2
|
2603 |
out _SFR_IO_ADDR(TCNT1H),tmp2
|
| 2298 |
f62: 4d bd out 0x2d, r20 ; 45
|
2604 |
f7a: 4d bd out 0x2d, r20 ; 45
|
| 2299 |
out _SFR_IO_ADDR(TCNT1L),tmp1
|
2605 |
out _SFR_IO_ADDR(TCNT1L),tmp1
|
| 2300 |
f64: 3c bd out 0x2c, r19 ; 44
|
2606 |
f7c: 3c bd out 0x2c, r19 ; 44
|
| 2301 |
|
2607 |
|
| 2302 |
mov YL,colorMapLow
|
2608 |
mov YL,colorMapLow
|
| 2303 |
f66: c6 2f mov r28, r22
|
2609 |
f7e: c6 2f mov r28, r22
|
| 2304 |
|
2610 |
|
| 2305 |
in tmp1, _SFR_IO_ADDR(GICR) ; enable the HREF interrupt...remember, we
|
2611 |
in tmp1, _SFR_IO_ADDR(GICR) ; enable the HREF interrupt...remember, we
|
| 2306 |
f68: 3b b7 in r19, 0x3b ; 59
|
2612 |
f80: 3b b7 in r19, 0x3b ; 59
|
| 2307 |
; only use this interrupt to synchronize
|
2613 |
; only use this interrupt to synchronize
|
| 2308 |
; the beginning of the line
|
2614 |
; the beginning of the line
|
| 2309 |
ori tmp1, HREF_INTERRUPT_ENABLE_MASK
|
2615 |
ori tmp1, HREF_INTERRUPT_ENABLE_MASK
|
| 2310 |
f6a: 30 68 ori r19, 0x80 ; 128
|
2616 |
f82: 30 68 ori r19, 0x80 ; 128
|
| 2311 |
out _SFR_IO_ADDR(GICR), tmp1
|
2617 |
out _SFR_IO_ADDR(GICR), tmp1
|
| 2312 |
f6c: 3b bf out 0x3b, r19 ; 59
|
2618 |
f84: 3b bf out 0x3b, r19 ; 59
|
| 2313 |
|
2619 |
|
| 2314 |
00000f6e <_trackFrame>:
|
2620 |
00000f86 <_trackFrame>:
|
| 2315 |
|
2621 |
|
| 2316 |
;*******************************************************************************************
|
2622 |
;*******************************************************************************************
|
| 2317 |
; Track Frame handler
|
2623 |
; Track Frame handler
|
| 2318 |
;*******************************************************************************************
|
2624 |
;*******************************************************************************************
|
| 2319 |
|
2625 |
|
| 2320 |
_trackFrame:
|
2626 |
_trackFrame:
|
| 2321 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
2627 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
| 2322 |
f6e: 96 9a sbi 0x12, 6 ; 18
|
2628 |
f86: 96 9a sbi 0x12, 6 ; 18
|
| 2323 |
sleep ; ...And we wait...
|
2629 |
sleep ; ...And we wait...
|
| 2324 |
f70: 88 95 sleep
|
2630 |
f88: 88 95 sleep
|
| 2325 |
|
2631 |
|
| 2326 |
; Returning from the interrupt/sleep wakeup will consume
|
2632 |
; Returning from the interrupt/sleep wakeup will consume
|
| 2327 |
; 14 clock cycles (7 to wakeup from idle sleep, 3 to vector, and 4 to return)
|
2633 |
; 14 clock cycles (7 to wakeup from idle sleep, 3 to vector, and 4 to return)
|
| 2328 |
|
2634 |
|
| 2329 |
; Disable the HREF interrupt
|
2635 |
; Disable the HREF interrupt
|
| 2330 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2636 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2331 |
f72: 96 98 cbi 0x12, 6 ; 18
|
2637 |
f8a: 96 98 cbi 0x12, 6 ; 18
|
| 2332 |
in tmp1, _SFR_IO_ADDR(GICR)
|
2638 |
in tmp1, _SFR_IO_ADDR(GICR)
|
| 2333 |
f74: 3b b7 in r19, 0x3b ; 59
|
2639 |
f8c: 3b b7 in r19, 0x3b ; 59
|
| 2334 |
andi tmp1, HREF_INTERRUPT_DISABLE_MASK
|
2640 |
andi tmp1, HREF_INTERRUPT_DISABLE_MASK
|
| 2335 |
f76: 3f 77 andi r19, 0x7F ; 127
|
2641 |
f8e: 3f 77 andi r19, 0x7F ; 127
|
| 2336 |
out _SFR_IO_ADDR(GICR), tmp1
|
2642 |
out _SFR_IO_ADDR(GICR), tmp1
|
| 2337 |
f78: 3b bf out 0x3b, r19 ; 59
|
2643 |
f90: 3b bf out 0x3b, r19 ; 59
|
| 2338 |
|
2644 |
|
| 2339 |
; A couple of NOPs are needed here to sync up the pixel data...the number (2)
|
2645 |
; A couple of NOPs are needed here to sync up the pixel data...the number (2)
|
| 2340 |
; of NOPs was determined emperically by trial and error.
|
2646 |
; of NOPs was determined emperically by trial and error.
|
| 2341 |
nop
|
2647 |
nop
|
| 2342 |
f7a: 00 00 nop
|
2648 |
f92: 00 00 nop
|
| 2343 |
...
|
2649 |
...
|
| 2344 |
|
2650 |
|
| 2345 |
00000f7e <_acquirePixelBlock>:
|
2651 |
00000f96 <_acquirePixelBlock>:
|
| 2346 |
nop
|
2652 |
nop
|
| 2347 |
_acquirePixelBlock: ; Clock Cycle Count
|
2653 |
_acquirePixelBlock: ; Clock Cycle Count
|
| 2348 |
in ZL,RB_PORT ; sample the red value (PINB) (1)
|
2654 |
in ZL,RB_PORT ; sample the red value (PINB) (1)
|
| 2349 |
f7e: e6 b3 in r30, 0x16 ; 22
|
2655 |
f96: e6 b3 in r30, 0x16 ; 22
|
| 2350 |
in YL,G_PORT ; sample the green value (PINC) (1)
|
2656 |
in YL,G_PORT ; sample the green value (PINC) (1)
|
| 2351 |
f80: c3 b3 in r28, 0x13 ; 19
|
2657 |
f98: c3 b3 in r28, 0x13 ; 19
|
| 2352 |
andi YL,0x0F ; clear the high nibble (1)
|
2658 |
andi YL,0x0F ; clear the high nibble (1)
|
| 2353 |
f82: cf 70 andi r28, 0x0F ; 15
|
2659 |
f9a: cf 70 andi r28, 0x0F ; 15
|
| 2354 |
ldd color,Z+RED_MEM_OFFSET ; lookup the red membership (2)
|
2660 |
ldd color,Z+RED_MEM_OFFSET ; lookup the red membership (2)
|
| 2355 |
f84: 30 81 ld r19, Z
|
2661 |
f9c: 30 81 ld r19, Z
|
| 2356 |
in ZL,RB_PORT ; sample the blue value (PINB) (1)
|
2662 |
in ZL,RB_PORT ; sample the blue value (PINB) (1)
|
| 2357 |
f86: e6 b3 in r30, 0x16 ; 22
|
2663 |
f9e: e6 b3 in r30, 0x16 ; 22
|
| 2358 |
ldd greenData,Y+GREEN_MEM_OFFSET; lookup the green membership (2)
|
2664 |
ldd greenData,Y+GREEN_MEM_OFFSET; lookup the green membership (2)
|
| 2359 |
f88: 48 89 ldd r20, Y+16 ; 0x10
|
2665 |
fa0: 48 89 ldd r20, Y+16 ; 0x10
|
| 2360 |
ldd blueData,Z+BLUE_MEM_OFFSET ; lookup the blue membership (2)
|
2666 |
ldd blueData,Z+BLUE_MEM_OFFSET ; lookup the blue membership (2)
|
| 2361 |
f8a: 50 a1 ldd r21, Z+32 ; 0x20
|
2667 |
fa2: 50 a1 ldd r21, Z+32 ; 0x20
|
| 2362 |
and color,greenData ; mask memberships together (1)
|
2668 |
and color,greenData ; mask memberships together (1)
|
| 2363 |
f8c: 34 23 and r19, r20
|
2669 |
fa4: 34 23 and r19, r20
|
| 2364 |
and color,blueData ; to produce the final color (1)
|
2670 |
and color,blueData ; to produce the final color (1)
|
| 2365 |
f8e: 35 23 and r19, r21
|
2671 |
fa6: 35 23 and r19, r21
|
| 2366 |
brts _cleanUpTrackingLine ; if some interrupt routine has (1...not set)
|
2672 |
brts _cleanUpTrackingLine ; if some interrupt routine has (1...not set)
|
| 2367 |
f90: 76 f0 brts .+28 ; 0xfae <_cleanUpTrackingLine>
|
2673 |
fa8: 76 f0 brts .+28 ; 0xfc6 <_cleanUpTrackingLine>
|
| 2368 |
; come in and set our T flag in
|
2674 |
; come in and set our T flag in
|
| 2369 |
; SREG, then we need to hop out
|
2675 |
; SREG, then we need to hop out
|
| 2370 |
; and blow away this frames data (common cleanup)
|
2676 |
; and blow away this frames data (common cleanup)
|
| 2371 |
cp color,lastColor ; check to see if the run continues (1)
|
2677 |
cp color,lastColor ; check to see if the run continues (1)
|
| 2372 |
f92: 32 17 cp r19, r18
|
2678 |
faa: 32 17 cp r19, r18
|
| 2373 |
breq _acquirePixelBlock ; (2...equal)
|
2679 |
breq _acquirePixelBlock ; (2...equal)
|
| 2374 |
f94: a1 f3 breq .-24 ; 0xf7e <_acquirePixelBlock>
|
2680 |
fac: a1 f3 breq .-24 ; 0xf96 <_acquirePixelBlock>
|
| 2375 |
; ___________
|
2681 |
; ___________
|
| 2376 |
; 16 clock cycles
|
2682 |
; 16 clock cycles
|
| 2377 |
; (16 clock cycles = 1 uS = 1 pixelBlock time)
|
2683 |
; (16 clock cycles = 1 uS = 1 pixelBlock time)
|
| 2378 |
|
2684 |
|
| 2379 |
; Toggle the debug line to indicate a color change
|
2685 |
; Toggle the debug line to indicate a color change
|
| 2380 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
2686 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
| 2381 |
f96: 96 9a sbi 0x12, 6 ; 18
|
2687 |
fae: 96 9a sbi 0x12, 6 ; 18
|
| 2382 |
nop
|
2688 |
nop
|
| 2383 |
f98: 00 00 nop
|
2689 |
fb0: 00 00 nop
|
| 2384 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2690 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2385 |
f9a: 96 98 cbi 0x12, 6 ; 18
|
2691 |
fb2: 96 98 cbi 0x12, 6 ; 18
|
| 2386 |
|
2692 |
|
| 2387 |
mov tmp2,pixelRunStart ; get the count value of the
|
2693 |
mov tmp2,pixelRunStart ; get the count value of the
|
| 2388 |
f9c: 41 2f mov r20, r17
|
2694 |
fb4: 41 2f mov r20, r17
|
| 2389 |
; current pixel run
|
2695 |
; current pixel run
|
| 2390 |
in pixelCount,_SFR_IO_ADDR(TCNT1L) ; get the current TCNT1 value
|
2696 |
in pixelCount,_SFR_IO_ADDR(TCNT1L) ; get the current TCNT1 value
|
| 2391 |
f9e: 0c b5 in r16, 0x2c ; 44
|
2697 |
fb6: 0c b5 in r16, 0x2c ; 44
|
| 2392 |
mov pixelRunStart,pixelCount ; reload pixelRunStart for the
|
2698 |
mov pixelRunStart,pixelCount ; reload pixelRunStart for the
|
| 2393 |
fa0: 10 2f mov r17, r16
|
2699 |
fb8: 10 2f mov r17, r16
|
| 2394 |
; next run
|
2700 |
; next run
|
| 2395 |
sub pixelCount,tmp2 ; pixelCount = TCNT1L - pixelRunStart
|
2701 |
sub pixelCount,tmp2 ; pixelCount = TCNT1L - pixelRunStart
|
| 2396 |
fa2: 04 1b sub r16, r20
|
2702 |
fba: 04 1b sub r16, r20
|
| 2397 |
|
2703 |
|
| 2398 |
st X+,lastColor ; record the color run in the current line buffer
|
2704 |
st X+,lastColor ; record the color run in the current line buffer
|
| 2399 |
fa4: 2d 93 st X+, r18
|
2705 |
fbc: 2d 93 st X+, r18
|
| 2400 |
st X+,pixelCount ; with its length
|
2706 |
st X+,pixelCount ; with its length
|
| 2401 |
fa6: 0d 93 st X+, r16
|
2707 |
fbe: 0d 93 st X+, r16
|
| 2402 |
mov lastColor,color ; set lastColor so we can figure out when it changes
|
2708 |
mov lastColor,color ; set lastColor so we can figure out when it changes
|
| 2403 |
fa8: 23 2f mov r18, r19
|
2709 |
fc0: 23 2f mov r18, r19
|
| 2404 |
|
2710 |
|
| 2405 |
nop ; waste one more cycle for a total of 16
|
2711 |
nop ; waste one more cycle for a total of 16
|
| 2406 |
faa: 00 00 nop
|
2712 |
fc2: 00 00 nop
|
| 2407 |
rjmp _acquirePixelBlock
|
2713 |
rjmp _acquirePixelBlock
|
| 2408 |
fac: e8 cf rjmp .-48 ; 0xf7e <_acquirePixelBlock>
|
2714 |
fc4: e8 cf rjmp .-48 ; 0xf96 <_acquirePixelBlock>
|
| 2409 |
|
2715 |
|
| 2410 |
00000fae <_cleanUpTrackingLine>:
|
2716 |
00000fc6 <_cleanUpTrackingLine>:
|
| 2411 |
|
2717 |
|
| 2412 |
; _cleanUpTrackingLine is used to write the last run length block off to the currentLineBuffer so
|
2718 |
; _cleanUpTrackingLine is used to write the last run length block off to the currentLineBuffer so
|
| 2413 |
; that all 176 pixels in the line are accounted for.
|
2719 |
; that all 176 pixels in the line are accounted for.
|
| 2414 |
_cleanUpTrackingLine:
|
2720 |
_cleanUpTrackingLine:
|
| 2415 |
ldi pixelCount,0xFF ; the length of the last run is ALWAYS 0xFF minus the last
|
2721 |
ldi pixelCount,0xFF ; the length of the last run is ALWAYS 0xFF minus the last
|
| 2416 |
fae: 0f ef ldi r16, 0xFF ; 255
|
2722 |
fc6: 0f ef ldi r16, 0xFF ; 255
|
| 2417 |
sub pixelCount,pixelRunStart ; pixelRunStart
|
2723 |
sub pixelCount,pixelRunStart ; pixelRunStart
|
| 2418 |
fb0: 01 1b sub r16, r17
|
2724 |
fc8: 01 1b sub r16, r17
|
| 2419 |
|
2725 |
|
| 2420 |
inc pixelCount ; increment pixelCount since we actually need to account
|
2726 |
inc pixelCount ; increment pixelCount since we actually need to account
|
| 2421 |
fb2: 03 95 inc r16
|
2727 |
fca: 03 95 inc r16
|
| 2422 |
; for the overflow of TCNT1
|
2728 |
; for the overflow of TCNT1
|
| 2423 |
|
2729 |
|
| 2424 |
st X+,color ; record the color run in the current line buffer
|
2730 |
st X+,color ; record the color run in the current line buffer
|
| 2425 |
fb4: 3d 93 st X+, r19
|
2731 |
fcc: 3d 93 st X+, r19
|
| 2426 |
st X,pixelCount
|
2732 |
st X,pixelCount
|
| 2427 |
fb6: 0c 93 st X, r16
|
2733 |
fce: 0c 93 st X, r16
|
| 2428 |
rjmp _cleanUp
|
2734 |
rjmp _cleanUp
|
| 2429 |
fb8: 00 c0 rjmp .+0 ; 0xfba <_cleanUp>
|
2735 |
fd0: 00 c0 rjmp .+0 ; 0xfd2 <_cleanUp>
|
| 2430 |
|
2736 |
|
| 2431 |
00000fba <_cleanUp>:
|
2737 |
00000fd2 <_cleanUp>:
|
| 2432 |
|
2738 |
|
| 2433 |
_cleanUpDumpLine:
|
2739 |
_cleanUpDumpLine:
|
| 2434 |
; NOTE: If serial data is received, to interrupt the tracking of a line, we'll
|
2740 |
; NOTE: If serial data is received, to interrupt the tracking of a line, we'll
|
| 2435 |
; get a EV_SERIAL_DATA_RECEIVED event, and the T bit set so we will end the
|
2741 |
; get a EV_SERIAL_DATA_RECEIVED event, and the T bit set so we will end the
|
| 2436 |
; line's processing...however, the PCLK will keep on ticking for the rest of
|
2742 |
; line's processing...however, the PCLK will keep on ticking for the rest of
|
| Line 2444... |
Line 2750... |
| 2444 |
;out _SFR_IO_ADDR(TIMSK),tmp1
|
2750 |
;out _SFR_IO_ADDR(TIMSK),tmp1
|
| 2445 |
|
2751 |
|
| 2446 |
_cleanUp:
|
2752 |
_cleanUp:
|
| 2447 |
; Disable the external clocking of the Timer1 counter
|
2753 |
; Disable the external clocking of the Timer1 counter
|
| 2448 |
in tmp1, _SFR_IO_ADDR(TCCR1B)
|
2754 |
in tmp1, _SFR_IO_ADDR(TCCR1B)
|
| 2449 |
fba: 3e b5 in r19, 0x2e ; 46
|
2755 |
fd2: 3e b5 in r19, 0x2e ; 46
|
| 2450 |
andi tmp1, 0xF8
|
2756 |
andi tmp1, 0xF8
|
| 2451 |
fbc: 38 7f andi r19, 0xF8 ; 248
|
2757 |
fd4: 38 7f andi r19, 0xF8 ; 248
|
| 2452 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
2758 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
| 2453 |
fbe: 3e bd out 0x2e, r19 ; 46
|
2759 |
fd6: 3e bd out 0x2e, r19 ; 46
|
| 2454 |
|
2760 |
|
| 2455 |
; Toggle the debug line to indicate the line is complete
|
2761 |
; Toggle the debug line to indicate the line is complete
|
| 2456 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
2762 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
| 2457 |
fc0: 96 9a sbi 0x12, 6 ; 18
|
2763 |
fd8: 96 9a sbi 0x12, 6 ; 18
|
| 2458 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2764 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2459 |
fc2: 96 98 cbi 0x12, 6 ; 18
|
2765 |
fda: 96 98 cbi 0x12, 6 ; 18
|
| 2460 |
clt ; clear out the T bit since we have detected
|
2766 |
clt ; clear out the T bit since we have detected
|
| 2461 |
fc4: e8 94 clt
|
2767 |
fdc: e8 94 clt
|
| 2462 |
|
2768 |
|
| 2463 |
00000fc6 <_exit>:
|
2769 |
00000fde <_exit>:
|
| 2464 |
; the interruption and are exiting to handle it
|
2770 |
; the interruption and are exiting to handle it
|
| 2465 |
_exit:
|
2771 |
_exit:
|
| 2466 |
ret
|
2772 |
ret
|
| 2467 |
fc6: 08 95 ret
|
2773 |
fde: 08 95 ret
|
| 2468 |
|
2774 |
|
| 2469 |
00000fc8 <CamIntAsm_waitForNewDumpFrame>:
|
2775 |
00000fe0 <CamIntAsm_waitForNewDumpFrame>:
|
| 2470 |
|
2776 |
|
| 2471 |
;*****************************************************************
|
2777 |
;*****************************************************************
|
| 2472 |
; Function Name: CamIntAsm_waitForNewDumpFrame
|
2778 |
; Function Name: CamIntAsm_waitForNewDumpFrame
|
| 2473 |
; Function Description: This function is responsible for
|
2779 |
; Function Description: This function is responsible for
|
| 2474 |
; going to sleep until a new frame begins (indicated by
|
2780 |
; going to sleep until a new frame begins (indicated by
|
| Line 2484... |
Line 2790... |
| 2484 |
; floats into the acquireDumpLine function after the "VSYNC sleep"
|
2790 |
; floats into the acquireDumpLine function after the "VSYNC sleep"
|
| 2485 |
; is awoken.
|
2791 |
; is awoken.
|
| 2486 |
;*****************************************************************
|
2792 |
;*****************************************************************
|
| 2487 |
CamIntAsm_waitForNewDumpFrame:
|
2793 |
CamIntAsm_waitForNewDumpFrame:
|
| 2488 |
sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2794 |
sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2489 |
fc8: 96 9a sbi 0x12, 6 ; 18
|
2795 |
fe0: 96 9a sbi 0x12, 6 ; 18
|
| 2490 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2796 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2491 |
fca: 96 98 cbi 0x12, 6 ; 18
|
2797 |
fe2: 96 98 cbi 0x12, 6 ; 18
|
| 2492 |
sleep
|
2798 |
sleep
|
| 2493 |
fcc: 88 95 sleep
|
2799 |
fe4: 88 95 sleep
|
| 2494 |
|
2800 |
|
| 2495 |
00000fce <CamIntAsm_acquireDumpLine>:
|
2801 |
00000fe6 <CamIntAsm_acquireDumpLine>:
|
| 2496 |
|
2802 |
|
| 2497 |
;*****************************************************************
|
2803 |
;*****************************************************************
|
| 2498 |
; REMEMBER...everything from here on out is critically timed to be
|
2804 |
; REMEMBER...everything from here on out is critically timed to be
|
| 2499 |
; synchronized with the flow of pixel data from the camera...
|
2805 |
; synchronized with the flow of pixel data from the camera...
|
| 2500 |
;*****************************************************************
|
2806 |
;*****************************************************************
|
| 2501 |
|
2807 |
|
| 2502 |
CamIntAsm_acquireDumpLine:
|
2808 |
CamIntAsm_acquireDumpLine:
|
| 2503 |
brts _cleanUp
|
2809 |
brts _cleanUp
|
| 2504 |
fce: ae f3 brts .-22 ; 0xfba <_cleanUp>
|
2810 |
fe6: ae f3 brts .-22 ; 0xfd2 <_cleanUp>
|
| 2505 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2811 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2506 |
;cbi _SFR_IO_ADDR(PORTD),PD6
|
2812 |
;cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2507 |
|
2813 |
|
| 2508 |
mov XH,currLineBuffHigh ; Load the pointer to the current line
|
2814 |
mov XH,currLineBuffHigh ; Load the pointer to the current line
|
| 2509 |
fd0: b9 2f mov r27, r25
|
2815 |
fe8: b9 2f mov r27, r25
|
| 2510 |
mov XL,currLineBuffLow ; buffer into the X pointer regs
|
2816 |
mov XL,currLineBuffLow ; buffer into the X pointer regs
|
| 2511 |
fd2: a8 2f mov r26, r24
|
2817 |
fea: a8 2f mov r26, r24
|
| 2512 |
|
2818 |
|
| 2513 |
mov YH,prevLineBuffHigh ; Load the pointer to the previous line
|
2819 |
mov YH,prevLineBuffHigh ; Load the pointer to the previous line
|
| 2514 |
fd4: d7 2f mov r29, r23
|
2820 |
fec: d7 2f mov r29, r23
|
| 2515 |
mov YL,prevLineBuffLow ; buffer into the Y pointer regs
|
2821 |
mov YL,prevLineBuffLow ; buffer into the Y pointer regs
|
| 2516 |
fd6: c6 2f mov r28, r22
|
2822 |
fee: c6 2f mov r28, r22
|
| 2517 |
|
2823 |
|
| 2518 |
ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and
|
2824 |
ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and
|
| 2519 |
fd8: 30 e5 ldi r19, 0x50 ; 80
|
2825 |
ff0: 30 e5 ldi r19, 0x50 ; 80
|
| 2520 |
ldi tmp2,0xFF ; interrupts) after 176 pixels
|
2826 |
ldi tmp2,0xFF ; interrupts) after 176 pixels
|
| 2521 |
fda: 4f ef ldi r20, 0xFF ; 255
|
2827 |
ff2: 4f ef ldi r20, 0xFF ; 255
|
| 2522 |
out _SFR_IO_ADDR(TCNT1H),tmp2
|
2828 |
out _SFR_IO_ADDR(TCNT1H),tmp2
|
| 2523 |
fdc: 4d bd out 0x2d, r20 ; 45
|
2829 |
ff4: 4d bd out 0x2d, r20 ; 45
|
| 2524 |
out _SFR_IO_ADDR(TCNT1L),tmp1
|
2830 |
out _SFR_IO_ADDR(TCNT1L),tmp1
|
| 2525 |
fde: 3c bd out 0x2c, r19 ; 44
|
2831 |
ff6: 3c bd out 0x2c, r19 ; 44
|
| 2526 |
|
2832 |
|
| 2527 |
in tmp1, _SFR_IO_ADDR(TCCR1B) ; Enable the PCLK line to actually
|
2833 |
in tmp1, _SFR_IO_ADDR(TCCR1B) ; Enable the PCLK line to actually
|
| 2528 |
fe0: 3e b5 in r19, 0x2e ; 46
|
2834 |
ff8: 3e b5 in r19, 0x2e ; 46
|
| 2529 |
ori tmp1, 0x07 ; feed Timer1
|
2835 |
ori tmp1, 0x07 ; feed Timer1
|
| 2530 |
fe2: 37 60 ori r19, 0x07 ; 7
|
2836 |
ffa: 37 60 ori r19, 0x07 ; 7
|
| 2531 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
2837 |
out _SFR_IO_ADDR(TCCR1B),tmp1
|
| 2532 |
fe4: 3e bd out 0x2e, r19 ; 46
|
2838 |
ffc: 3e bd out 0x2e, r19 ; 46
|
| 2533 |
nop
|
2839 |
nop
|
| 2534 |
fe6: 00 00 nop
|
2840 |
ffe: 00 00 nop
|
| 2535 |
|
2841 |
|
| 2536 |
in tmp1, _SFR_IO_ADDR(TIMSK) ; enable TIMER1 to start counting
|
2842 |
in tmp1, _SFR_IO_ADDR(TIMSK) ; enable TIMER1 to start counting
|
| 2537 |
fe8: 39 b7 in r19, 0x39 ; 57
|
2843 |
1000: 39 b7 in r19, 0x39 ; 57
|
| 2538 |
ori tmp1, ENABLE_PCLK_TIMER1_OVERFLOW_BITMASK ; external PCLK pulses and interrupt on
|
2844 |
ori tmp1, ENABLE_PCLK_TIMER1_OVERFLOW_BITMASK ; external PCLK pulses and interrupt on
|
| 2539 |
fea: 34 60 ori r19, 0x04 ; 4
|
2845 |
1002: 34 60 ori r19, 0x04 ; 4
|
| 2540 |
out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow
|
2846 |
out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow
|
| 2541 |
fec: 39 bf out 0x39, r19 ; 57
|
2847 |
1004: 39 bf out 0x39, r19 ; 57
|
| 2542 |
|
2848 |
|
| 2543 |
in tmp1, _SFR_IO_ADDR(GICR) ; enable the HREF interrupt...remember, we
|
2849 |
in tmp1, _SFR_IO_ADDR(GICR) ; enable the HREF interrupt...remember, we
|
| 2544 |
fee: 3b b7 in r19, 0x3b ; 59
|
2850 |
1006: 3b b7 in r19, 0x3b ; 59
|
| 2545 |
; only use this interrupt to synchronize
|
2851 |
; only use this interrupt to synchronize
|
| 2546 |
; the beginning of the line
|
2852 |
; the beginning of the line
|
| 2547 |
ori tmp1, HREF_INTERRUPT_ENABLE_MASK
|
2853 |
ori tmp1, HREF_INTERRUPT_ENABLE_MASK
|
| 2548 |
ff0: 30 68 ori r19, 0x80 ; 128
|
2854 |
1008: 30 68 ori r19, 0x80 ; 128
|
| 2549 |
out _SFR_IO_ADDR(GICR), tmp1
|
2855 |
out _SFR_IO_ADDR(GICR), tmp1
|
| 2550 |
ff2: 3b bf out 0x3b, r19 ; 59
|
2856 |
100a: 3b bf out 0x3b, r19 ; 59
|
| 2551 |
|
2857 |
|
| 2552 |
00000ff4 <_dumpFrame>:
|
2858 |
0000100c <_dumpFrame>:
|
| 2553 |
|
2859 |
|
| 2554 |
;*******************************************************************************************
|
2860 |
;*******************************************************************************************
|
| 2555 |
; Dump Frame handler
|
2861 |
; Dump Frame handler
|
| 2556 |
;*******************************************************************************************
|
2862 |
;*******************************************************************************************
|
| 2557 |
|
2863 |
|
| 2558 |
_dumpFrame:
|
2864 |
_dumpFrame:
|
| 2559 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
2865 |
sbi _SFR_IO_ADDR(PORTD),PD6
|
| 2560 |
ff4: 96 9a sbi 0x12, 6 ; 18
|
2866 |
100c: 96 9a sbi 0x12, 6 ; 18
|
| 2561 |
sleep ; ...And we wait...
|
2867 |
sleep ; ...And we wait...
|
| 2562 |
ff6: 88 95 sleep
|
2868 |
100e: 88 95 sleep
|
| 2563 |
|
2869 |
|
| 2564 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
2870 |
cbi _SFR_IO_ADDR(PORTD),PD6
|
| 2565 |
ff8: 96 98 cbi 0x12, 6 ; 18
|
2871 |
1010: 96 98 cbi 0x12, 6 ; 18
|
| 2566 |
in tmp1, _SFR_IO_ADDR(GICR) ; disable the HREF interrupt
|
2872 |
in tmp1, _SFR_IO_ADDR(GICR) ; disable the HREF interrupt
|
| 2567 |
ffa: 3b b7 in r19, 0x3b ; 59
|
2873 |
1012: 3b b7 in r19, 0x3b ; 59
|
| 2568 |
andi tmp1, HREF_INTERRUPT_DISABLE_MASK ; so we don't get interrupted
|
2874 |
andi tmp1, HREF_INTERRUPT_DISABLE_MASK ; so we don't get interrupted
|
| 2569 |
ffc: 3f 77 andi r19, 0x7F ; 127
|
2875 |
1014: 3f 77 andi r19, 0x7F ; 127
|
| 2570 |
out _SFR_IO_ADDR(GICR), tmp1 ; while dumping the line
|
2876 |
out _SFR_IO_ADDR(GICR), tmp1 ; while dumping the line
|
| 2571 |
ffe: 3b bf out 0x3b, r19 ; 59
|
2877 |
1016: 3b bf out 0x3b, r19 ; 59
|
| 2572 |
...
|
2878 |
...
|
| 2573 |
|
2879 |
|
| 2574 |
00001002 <_sampleDumpPixel>:
|
2880 |
0000101a <_sampleDumpPixel>:
|
| 2575 |
|
2881 |
|
| 2576 |
nop ; Remember...if we ever remove the "cbi" instruction above,
|
2882 |
nop ; Remember...if we ever remove the "cbi" instruction above,
|
| 2577 |
; we need to add two more NOPs to cover this
|
2883 |
; we need to add two more NOPs to cover this
|
| 2578 |
|
2884 |
|
| 2579 |
; Ok...the following loop needs to run in 8 clock cycles, so we can get every
|
2885 |
; Ok...the following loop needs to run in 8 clock cycles, so we can get every
|
| Line 2584... |
Line 2890... |
| 2584 |
; before we send it out, like mask off the top 4-bits of each, and then pack both
|
2890 |
; before we send it out, like mask off the top 4-bits of each, and then pack both
|
| 2585 |
; low nibbles into a single byte for transmission...we just don't have time to
|
2891 |
; low nibbles into a single byte for transmission...we just don't have time to
|
| 2586 |
; do that here (only 8 instruction cycles :-) )
|
2892 |
; do that here (only 8 instruction cycles :-) )
|
| 2587 |
_sampleDumpPixel:
|
2893 |
_sampleDumpPixel:
|
| 2588 |
in tmp1,G_PORT ; sample the G value (1)
|
2894 |
in tmp1,G_PORT ; sample the G value (1)
|
| 2589 |
1002: 33 b3 in r19, 0x13 ; 19
|
2895 |
101a: 33 b3 in r19, 0x13 ; 19
|
| 2590 |
in tmp2,RB_PORT ; sample the R/B value (1)
|
2896 |
in tmp2,RB_PORT ; sample the R/B value (1)
|
| 2591 |
1004: 46 b3 in r20, 0x16 ; 22
|
2897 |
101c: 46 b3 in r20, 0x16 ; 22
|
| 2592 |
st X+,tmp1 ; store to the currLineBuff and inc ptrs(2)
|
2898 |
st X+,tmp1 ; store to the currLineBuff and inc ptrs(2)
|
| 2593 |
1006: 3d 93 st X+, r19
|
2899 |
101e: 3d 93 st X+, r19
|
| 2594 |
st Y+,tmp2 ; store to the prevLineBuff and inc ptrs(2)
|
2900 |
st Y+,tmp2 ; store to the prevLineBuff and inc ptrs(2)
|
| 2595 |
1008: 49 93 st Y+, r20
|
2901 |
1020: 49 93 st Y+, r20
|
| 2596 |
brtc _sampleDumpPixel ; loop back unless flag is set (2...if not set)
|
2902 |
brtc _sampleDumpPixel ; loop back unless flag is set (2...if not set)
|
| 2597 |
100a: de f7 brtc .-10 ; 0x1002 <_sampleDumpPixel>
|
2903 |
1022: de f7 brtc .-10 ; 0x101a <_sampleDumpPixel>
|
| 2598 |
; ___________
|
2904 |
; ___________
|
| 2599 |
; 8 cycles normally
|
2905 |
; 8 cycles normally
|
| 2600 |
|
2906 |
|
| 2601 |
; if we make it here, it means the T flag is set, and we must have been interrupted
|
2907 |
; if we make it here, it means the T flag is set, and we must have been interrupted
|
| 2602 |
; so we need to exit (what if we were interrupted for serial? should we disable it?)
|
2908 |
; so we need to exit (what if we were interrupted for serial? should we disable it?)
|
| 2603 |
rjmp _cleanUpDumpLine
|
2909 |
rjmp _cleanUpDumpLine
|
| 2604 |
100c: d6 cf rjmp .-84 ; 0xfba <_cleanUp>
|
2910 |
1024: d6 cf rjmp .-84 ; 0xfd2 <_cleanUp>
|
| 2605 |
|
2911 |
|
| 2606 |
0000100e <__vector_1>:
|
2912 |
00001026 <__vector_1>:
|
| 2607 |
|
2913 |
|
| 2608 |
;***********************************************************
|
2914 |
;***********************************************************
|
| 2609 |
; Function Name: <interrupt handler for External Interrupt0>
|
2915 |
; Function Name: <interrupt handler for External Interrupt0>
|
| 2610 |
; Function Description: This function is responsible
|
2916 |
; Function Description: This function is responsible
|
| 2611 |
; for handling a rising edge on the Ext Interrupt 0. This
|
2917 |
; for handling a rising edge on the Ext Interrupt 0. This
|
| Line 2616... |
Line 2922... |
| 2616 |
; Outputs: none
|
2922 |
; Outputs: none
|
| 2617 |
;***********************************************************
|
2923 |
;***********************************************************
|
| 2618 |
SIG_INTERRUPT0:
|
2924 |
SIG_INTERRUPT0:
|
| 2619 |
; This will wake us up when VSYNC transitions high...we just want to return
|
2925 |
; This will wake us up when VSYNC transitions high...we just want to return
|
| 2620 |
reti
|
2926 |
reti
|
| 2621 |
100e: 18 95 reti
|
2927 |
1026: 18 95 reti
|
| 2622 |
|
2928 |
|
| 2623 |
00001010 <__vector_2>:
|
2929 |
00001028 <__vector_2>:
|
| 2624 |
|
2930 |
|
| 2625 |
;***********************************************************
|
2931 |
;***********************************************************
|
| 2626 |
; Function Name: <interrupt handler for External Interrupt1>
|
2932 |
; Function Name: <interrupt handler for External Interrupt1>
|
| 2627 |
; Function Description: This function is responsible
|
2933 |
; Function Description: This function is responsible
|
| 2628 |
; for handling a falling edge on the Ext Interrupt 1. This
|
2934 |
; for handling a falling edge on the Ext Interrupt 1. This
|
| Line 2634... |
Line 2940... |
| 2634 |
; Outputs: none
|
2940 |
; Outputs: none
|
| 2635 |
;***********************************************************
|
2941 |
;***********************************************************
|
| 2636 |
SIG_INTERRUPT1:
|
2942 |
SIG_INTERRUPT1:
|
| 2637 |
; This will wake us up when HREF transitions high...we just want to return
|
2943 |
; This will wake us up when HREF transitions high...we just want to return
|
| 2638 |
reti
|
2944 |
reti
|
| 2639 |
1010: 18 95 reti
|
2945 |
1028: 18 95 reti
|
| 2640 |
|
2946 |
|
| 2641 |
00001012 <__vector_8>:
|
2947 |
0000102a <__vector_8>:
|
| 2642 |
|
2948 |
|
| 2643 |
;***********************************************************
|
2949 |
;***********************************************************
|
| 2644 |
; Function Name: <interrupt handler for Timer0 overflow>
|
2950 |
; Function Name: <interrupt handler for Timer0 overflow>
|
| 2645 |
; Function Description: This function is responsible
|
2951 |
; Function Description: This function is responsible
|
| 2646 |
; for handling the Timer0 overflow (hooked up to indicate
|
2952 |
; for handling the Timer0 overflow (hooked up to indicate
|
| Line 2672... |
Line 2978... |
| 2672 |
; event in the fastEventBitmask, which is streamlined for
|
2978 |
; event in the fastEventBitmask, which is streamlined for
|
| 2673 |
; efficiency reasons.
|
2979 |
; efficiency reasons.
|
| 2674 |
;***********************************************************
|
2980 |
;***********************************************************
|
| 2675 |
SIG_OVERFLOW1:
|
2981 |
SIG_OVERFLOW1:
|
| 2676 |
lds tmp1,fastEventBitmask ; set a flag indicating
|
2982 |
lds tmp1,fastEventBitmask ; set a flag indicating
|
| 2677 |
1012: 30 91 72 00 lds r19, 0x0072
|
2983 |
102a: 30 91 72 00 lds r19, 0x0072
|
| 2678 |
ori tmp1,FEV_ACQUIRE_LINE_COMPLETE ; a line is complete
|
2984 |
ori tmp1,FEV_ACQUIRE_LINE_COMPLETE ; a line is complete
|
| 2679 |
1016: 31 60 ori r19, 0x01 ; 1
|
2985 |
102e: 31 60 ori r19, 0x01 ; 1
|
| 2680 |
sts fastEventBitmask,tmp1
|
2986 |
sts fastEventBitmask,tmp1
|
| 2681 |
1018: 30 93 72 00 sts 0x0072, r19
|
2987 |
1030: 30 93 72 00 sts 0x0072, r19
|
| 2682 |
set ; set the T bit in SREG
|
2988 |
set ; set the T bit in SREG
|
| 2683 |
101c: 68 94 set
|
2989 |
1034: 68 94 set
|
| 2684 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2990 |
;sbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2685 |
;cbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
2991 |
;cbi _SFR_IO_ADDR(PORTD),PD6 ; For testing...
|
| 2686 |
|
2992 |
|
| 2687 |
reti
|
2993 |
reti
|
| 2688 |
101e: 18 95 reti
|
2994 |
1036: 18 95 reti
|
| 2689 |
|
2995 |
|
| 2690 |
00001020 <__vector_default>:
|
2996 |
00001038 <__vector_default>:
|
| 2691 |
|
2997 |
|
| 2692 |
; This is the default handler for all interrupts that don't
|
2998 |
; This is the default handler for all interrupts that don't
|
| 2693 |
; have handler routines specified for them.
|
2999 |
; have handler routines specified for them.
|
| 2694 |
.global __vector_default
|
3000 |
.global __vector_default
|
| 2695 |
__vector_default:
|
3001 |
__vector_default:
|
| 2696 |
reti
|
3002 |
reti
|
| 2697 |
1020: 18 95 reti
|
3003 |
1038: 18 95 reti
|
| 2698 |
|
3004 |
|
| 2699 |
00001022 <atoi>:
|
3005 |
0000103a <atoi>:
|
| 2700 |
1022: fc 01 movw r30, r24
|
3006 |
103a: fc 01 movw r30, r24
|
| 2701 |
1024: 88 27 eor r24, r24
|
3007 |
103c: 88 27 eor r24, r24
|
| 2702 |
1026: 99 27 eor r25, r25
|
3008 |
103e: 99 27 eor r25, r25
|
| 2703 |
1028: e8 94 clt
|
3009 |
1040: e8 94 clt
|
| 2704 |
102a: 21 91 ld r18, Z+
|
3010 |
1042: 21 91 ld r18, Z+
|
| 2705 |
102c: 22 23 and r18, r18
|
3011 |
1044: 22 23 and r18, r18
|
| 2706 |
102e: e9 f0 breq .+58 ; 0x106a <atoi+0x48>
|
3012 |
1046: e9 f0 breq .+58 ; 0x1082 <atoi+0x48>
|
| 2707 |
1030: 20 32 cpi r18, 0x20 ; 32
|
3013 |
1048: 20 32 cpi r18, 0x20 ; 32
|
| 2708 |
1032: d9 f3 breq .-10 ; 0x102a <atoi+0x8>
|
3014 |
104a: d9 f3 breq .-10 ; 0x1042 <atoi+0x8>
|
| 2709 |
1034: 29 30 cpi r18, 0x09 ; 9
|
3015 |
104c: 29 30 cpi r18, 0x09 ; 9
|
| 2710 |
1036: c9 f3 breq .-14 ; 0x102a <atoi+0x8>
|
3016 |
104e: c9 f3 breq .-14 ; 0x1042 <atoi+0x8>
|
| 2711 |
1038: 2a 30 cpi r18, 0x0A ; 10
|
3017 |
1050: 2a 30 cpi r18, 0x0A ; 10
|
| 2712 |
103a: b9 f3 breq .-18 ; 0x102a <atoi+0x8>
|
3018 |
1052: b9 f3 breq .-18 ; 0x1042 <atoi+0x8>
|
| 2713 |
103c: 2c 30 cpi r18, 0x0C ; 12
|
3019 |
1054: 2c 30 cpi r18, 0x0C ; 12
|
| 2714 |
103e: a9 f3 breq .-22 ; 0x102a <atoi+0x8>
|
3020 |
1056: a9 f3 breq .-22 ; 0x1042 <atoi+0x8>
|
| 2715 |
1040: 2d 30 cpi r18, 0x0D ; 13
|
3021 |
1058: 2d 30 cpi r18, 0x0D ; 13
|
| 2716 |
1042: 99 f3 breq .-26 ; 0x102a <atoi+0x8>
|
3022 |
105a: 99 f3 breq .-26 ; 0x1042 <atoi+0x8>
|
| 2717 |
1044: 26 37 cpi r18, 0x76 ; 118
|
3023 |
105c: 26 37 cpi r18, 0x76 ; 118
|
| 2718 |
1046: 89 f3 breq .-30 ; 0x102a <atoi+0x8>
|
3024 |
105e: 89 f3 breq .-30 ; 0x1042 <atoi+0x8>
|
| 2719 |
1048: 2b 32 cpi r18, 0x2B ; 43
|
3025 |
1060: 2b 32 cpi r18, 0x2B ; 43
|
| 2720 |
104a: 19 f0 breq .+6 ; 0x1052 <atoi+0x30>
|
3026 |
1062: 19 f0 breq .+6 ; 0x106a <atoi+0x30>
|
| 2721 |
104c: 2d 32 cpi r18, 0x2D ; 45
|
3027 |
1064: 2d 32 cpi r18, 0x2D ; 45
|
| 2722 |
104e: 21 f4 brne .+8 ; 0x1058 <atoi+0x36>
|
3028 |
1066: 21 f4 brne .+8 ; 0x1070 <atoi+0x36>
|
| 2723 |
1050: 68 94 set
|
3029 |
1068: 68 94 set
|
| 2724 |
1052: 21 91 ld r18, Z+
|
3030 |
106a: 21 91 ld r18, Z+
|
| 2725 |
1054: 22 23 and r18, r18
|
3031 |
106c: 22 23 and r18, r18
|
| 2726 |
1056: 49 f0 breq .+18 ; 0x106a <atoi+0x48>
|
3032 |
106e: 49 f0 breq .+18 ; 0x1082 <atoi+0x48>
|
| 2727 |
1058: 20 33 cpi r18, 0x30 ; 48
|
3033 |
1070: 20 33 cpi r18, 0x30 ; 48
|
| 2728 |
105a: 3c f0 brlt .+14 ; 0x106a <atoi+0x48>
|
3034 |
1072: 3c f0 brlt .+14 ; 0x1082 <atoi+0x48>
|
| 2729 |
105c: 2a 33 cpi r18, 0x3A ; 58
|
3035 |
1074: 2a 33 cpi r18, 0x3A ; 58
|
| 2730 |
105e: 2c f4 brge .+10 ; 0x106a <atoi+0x48>
|
3036 |
1076: 2c f4 brge .+10 ; 0x1082 <atoi+0x48>
|
| 2731 |
1060: 20 53 subi r18, 0x30 ; 48
|
3037 |
1078: 20 53 subi r18, 0x30 ; 48
|
| 2732 |
1062: 0b d0 rcall .+22 ; 0x107a <__mulhi_const_10>
|
3038 |
107a: 0b d0 rcall .+22 ; 0x1092 <__mulhi_const_10>
|
| 2733 |
1064: 82 0f add r24, r18
|
3039 |
107c: 82 0f add r24, r18
|
| 2734 |
1066: 91 1d adc r25, r1
|
3040 |
107e: 91 1d adc r25, r1
|
| 2735 |
1068: f4 cf rjmp .-24 ; 0x1052 <atoi+0x30>
|
3041 |
1080: f4 cf rjmp .-24 ; 0x106a <atoi+0x30>
|
| 2736 |
106a: 81 15 cp r24, r1
|
3042 |
1082: 81 15 cp r24, r1
|
| 2737 |
106c: 91 05 cpc r25, r1
|
3043 |
1084: 91 05 cpc r25, r1
|
| 2738 |
106e: 21 f0 breq .+8 ; 0x1078 <atoi+0x56>
|
3044 |
1086: 21 f0 breq .+8 ; 0x1090 <atoi+0x56>
|
| 2739 |
1070: 1e f4 brtc .+6 ; 0x1078 <atoi+0x56>
|
3045 |
1088: 1e f4 brtc .+6 ; 0x1090 <atoi+0x56>
|
| 2740 |
1072: 80 95 com r24
|
3046 |
108a: 80 95 com r24
|
| 2741 |
1074: 90 95 com r25
|
3047 |
108c: 90 95 com r25
|
| 2742 |
1076: 01 96 adiw r24, 0x01 ; 1
|
3048 |
108e: 01 96 adiw r24, 0x01 ; 1
|
| 2743 |
1078: 08 95 ret
|
3049 |
1090: 08 95 ret
|
| 2744 |
|
3050 |
|
| 2745 |
0000107a <__mulhi_const_10>:
|
3051 |
00001092 <__mulhi_const_10>:
|
| 2746 |
107a: 7a e0 ldi r23, 0x0A ; 10
|
3052 |
1092: 7a e0 ldi r23, 0x0A ; 10
|
| 2747 |
107c: 97 9f mul r25, r23
|
3053 |
1094: 97 9f mul r25, r23
|
| 2748 |
107e: 90 2d mov r25, r0
|
3054 |
1096: 90 2d mov r25, r0
|
| 2749 |
1080: 87 9f mul r24, r23
|
3055 |
1098: 87 9f mul r24, r23
|
| 2750 |
1082: 80 2d mov r24, r0
|
3056 |
109a: 80 2d mov r24, r0
|
| 2751 |
1084: 91 0d add r25, r1
|
3057 |
109c: 91 0d add r25, r1
|
| 2752 |
1086: 11 24 eor r1, r1
|
3058 |
109e: 11 24 eor r1, r1
|
| 2753 |
1088: 08 95 ret
|
3059 |
10a0: 08 95 ret
|
| 2754 |
|
3060 |
|
| 2755 |
0000108a <__eeprom_read_byte_1C1D1E>:
|
3061 |
000010a2 <__eeprom_read_byte_1C1D1E>:
|
| 2756 |
108a: e1 99 sbic 0x1c, 1 ; 28
|
3062 |
10a2: e1 99 sbic 0x1c, 1 ; 28
|
| 2757 |
108c: fe cf rjmp .-4 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
3063 |
10a4: fe cf rjmp .-4 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| 2758 |
108e: bf bb out 0x1f, r27 ; 31
|
3064 |
10a6: bf bb out 0x1f, r27 ; 31
|
| 2759 |
1090: ae bb out 0x1e, r26 ; 30
|
3065 |
10a8: ae bb out 0x1e, r26 ; 30
|
| 2760 |
1092: e0 9a sbi 0x1c, 0 ; 28
|
3066 |
10aa: e0 9a sbi 0x1c, 0 ; 28
|
| 2761 |
1094: 11 96 adiw r26, 0x01 ; 1
|
3067 |
10ac: 11 96 adiw r26, 0x01 ; 1
|
| 2762 |
1096: 0d b2 in r0, 0x1d ; 29
|
3068 |
10ae: 0d b2 in r0, 0x1d ; 29
|
| 2763 |
1098: 08 95 ret
|
3069 |
10b0: 08 95 ret
|
| 2764 |
|
3070 |
|
| 2765 |
0000109a <__eeprom_read_block_1C1D1E>:
|
3071 |
000010b2 <__eeprom_read_block_1C1D1E>:
|
| 2766 |
109a: f7 df rcall .-18 ; 0x108a <__eeprom_read_byte_1C1D1E>
|
3072 |
10b2: f7 df rcall .-18 ; 0x10a2 <__eeprom_read_byte_1C1D1E>
|
| 2767 |
109c: 01 92 st Z+, r0
|
3073 |
10b4: 01 92 st Z+, r0
|
| 2768 |
109e: 1a 94 dec r1
|
3074 |
10b6: 1a 94 dec r1
|
| 2769 |
10a0: e1 f7 brne .-8 ; 0x109a <__eeprom_read_block_1C1D1E>
|
3075 |
10b8: e1 f7 brne .-8 ; 0x10b2 <__eeprom_read_block_1C1D1E>
|
| 2770 |
10a2: 08 95 ret
|
- |
|
| 2771 |
|
- |
|
| 2772 |
000010a4 <__eeprom_write_byte_1C1D1E>:
|
- |
|
| 2773 |
10a4: e1 99 sbic 0x1c, 1 ; 28
|
- |
|
| 2774 |
10a6: fe cf rjmp .-4 ; 0x10a4 <__eeprom_write_byte_1C1D1E>
|
- |
|
| 2775 |
10a8: bf bb out 0x1f, r27 ; 31
|
- |
|
| 2776 |
10aa: ae bb out 0x1e, r26 ; 30
|
- |
|
| 2777 |
10ac: 0d ba out 0x1d, r0 ; 29
|
- |
|
| 2778 |
10ae: 11 96 adiw r26, 0x01 ; 1
|
- |
|
| 2779 |
10b0: 0f b6 in r0, 0x3f ; 63
|
- |
|
| 2780 |
10b2: f8 94 cli
|
- |
|
| 2781 |
10b4: e2 9a sbi 0x1c, 2 ; 28
|
- |
|
| 2782 |
10b6: e1 9a sbi 0x1c, 1 ; 28
|
- |
|
| 2783 |
10b8: 0f be out 0x3f, r0 ; 63
|
- |
|
| 2784 |
10ba: 08 95 ret
|
3076 |
10ba: 08 95 ret
|
| 2785 |
|
3077 |
|
| - |
|
3078 |
000010bc <__eeprom_write_byte_1C1D1E>:
|
| - |
|
3079 |
10bc: e1 99 sbic 0x1c, 1 ; 28
|
| - |
|
3080 |
10be: fe cf rjmp .-4 ; 0x10bc <__eeprom_write_byte_1C1D1E>
|
| - |
|
3081 |
10c0: bf bb out 0x1f, r27 ; 31
|
| - |
|
3082 |
10c2: ae bb out 0x1e, r26 ; 30
|
| - |
|
3083 |
10c4: 0d ba out 0x1d, r0 ; 29
|
| - |
|
3084 |
10c6: 11 96 adiw r26, 0x01 ; 1
|
| - |
|
3085 |
10c8: 0f b6 in r0, 0x3f ; 63
|
| - |
|
3086 |
10ca: f8 94 cli
|
| - |
|
3087 |
10cc: e2 9a sbi 0x1c, 2 ; 28
|
| - |
|
3088 |
10ce: e1 9a sbi 0x1c, 1 ; 28
|
| - |
|
3089 |
10d0: 0f be out 0x3f, r0 ; 63
|
| - |
|
3090 |
10d2: 08 95 ret
|
| - |
|
3091 |
|
| 2786 |
000010bc <_exit>:
|
3092 |
000010d4 <_exit>:
|
| 2787 |
10bc: ff cf rjmp .-2 ; 0x10bc <_exit>
|
3093 |
10d4: ff cf rjmp .-2 ; 0x10d4 <_exit>
|