1,4 → 1,4 |
GAS LISTING /tmp/cckBHomO.s page 1 |
GAS LISTING /tmp/ccCMjSjd.s page 1 |
|
|
1 # 1 "CamInterfaceAsm.S" |
58,7 → 58,7 |
51 ; and is turned off when it isn't needed. |
52 |
53 #include <avr/io.h> |
GAS LISTING /tmp/cckBHomO.s page 2 |
GAS LISTING /tmp/ccCMjSjd.s page 2 |
|
|
1 /* Copyright (c) 2002,2003,2005,2006, Marek Michalkiewicz, Joerg Wunsch |
118,7 → 118,7 |
55 function definitions as documented |
56 \ref avr_signames "here". |
57 |
GAS LISTING /tmp/cckBHomO.s page 3 |
GAS LISTING /tmp/ccCMjSjd.s page 3 |
|
|
58 Finally, the following macros are defined: |
178,7 → 178,7 |
26 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
27 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
28 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
GAS LISTING /tmp/cckBHomO.s page 4 |
GAS LISTING /tmp/ccCMjSjd.s page 4 |
|
|
29 POSSIBILITY OF SUCH DAMAGE. */ |
238,7 → 238,7 |
83 <avr/iom163.h>: #define SPMCR _SFR_IO8(0x37) |
84 <avr/iom128.h>: #define SPMCR _SFR_MEM8(0x68) |
85 \endverbatim |
GAS LISTING /tmp/cckBHomO.s page 5 |
GAS LISTING /tmp/ccCMjSjd.s page 5 |
|
|
86 |
298,7 → 298,7 |
139 #define YL r28 |
140 #define YH r29 |
141 #endif /* #if __AVR_ARCH__ != 1 */ |
GAS LISTING /tmp/cckBHomO.s page 6 |
GAS LISTING /tmp/ccCMjSjd.s page 6 |
|
|
142 #define ZL r30 |
358,7 → 358,7 |
196 # include <avr/iocan128.h> |
197 #elif defined (__AVR_AT90USB646__) |
198 # include <avr/iousb646.h> |
GAS LISTING /tmp/cckBHomO.s page 7 |
GAS LISTING /tmp/ccCMjSjd.s page 7 |
|
|
199 #elif defined (__AVR_AT90USB647__) |
418,7 → 418,7 |
253 #elif defined (__AVR_ATmega169__) |
254 # include <avr/iom169.h> |
255 #elif defined (__AVR_ATmega8__) |
GAS LISTING /tmp/cckBHomO.s page 8 |
GAS LISTING /tmp/ccCMjSjd.s page 8 |
|
|
256 # include <avr/iom8.h> |
478,7 → 478,7 |
54 #define TWSR _SFR_IO8(0x01) |
55 #define TWAR _SFR_IO8(0x02) |
56 #define TWDR _SFR_IO8(0x03) |
GAS LISTING /tmp/cckBHomO.s page 9 |
GAS LISTING /tmp/ccCMjSjd.s page 9 |
|
|
57 |
538,7 → 538,7 |
111 |
112 #define WDTCR _SFR_IO8(0x21) |
113 #define ASSR _SFR_IO8(0x22) |
GAS LISTING /tmp/cckBHomO.s page 10 |
GAS LISTING /tmp/ccCMjSjd.s page 10 |
|
|
114 |
598,7 → 598,7 |
168 #define SIG_INTERRUPT0 _VECTOR(1) |
169 |
170 /* External Interrupt Request 1 */ |
GAS LISTING /tmp/cckBHomO.s page 11 |
GAS LISTING /tmp/ccCMjSjd.s page 11 |
|
|
171 #define INT1_vect _VECTOR(2) |
658,7 → 658,7 |
225 |
226 /* Analog Comparator */ |
227 #define ANA_COMP_vect _VECTOR(16) |
GAS LISTING /tmp/cckBHomO.s page 12 |
GAS LISTING /tmp/ccCMjSjd.s page 12 |
|
|
228 #define SIG_COMPARATOR _VECTOR(16) |
718,7 → 718,7 |
281 #elif defined (__AVR_AT90S2343__) |
282 # include <avr/io2343.h> |
283 #elif defined (__AVR_AT90S2333__) |
GAS LISTING /tmp/cckBHomO.s page 13 |
GAS LISTING /tmp/ccCMjSjd.s page 13 |
|
|
284 # include <avr/io2333.h> |
778,7 → 778,7 |
10 * Redistributions in binary form must reproduce the above copyright |
11 notice, this list of conditions and the following disclaimer in |
12 the documentation and/or other materials provided with the |
GAS LISTING /tmp/cckBHomO.s page 14 |
GAS LISTING /tmp/ccCMjSjd.s page 14 |
|
|
13 distribution. |
838,7 → 838,7 |
67 #define PIN5 5 |
68 #define PIN4 4 |
69 #define PIN3 3 |
GAS LISTING /tmp/cckBHomO.s page 15 |
GAS LISTING /tmp/ccCMjSjd.s page 15 |
|
|
70 #define PIN2 2 |
898,7 → 898,7 |
124 # define PORTB6 PB6 |
125 #endif |
126 #if defined(PB7) |
GAS LISTING /tmp/cckBHomO.s page 16 |
GAS LISTING /tmp/ccCMjSjd.s page 16 |
|
|
127 # define PORTB7 PB7 |
958,7 → 958,7 |
181 # define PORTD7 PD7 |
182 #endif |
183 |
GAS LISTING /tmp/cckBHomO.s page 17 |
GAS LISTING /tmp/ccCMjSjd.s page 17 |
|
|
184 /* PORT E */ |
1018,7 → 1018,7 |
238 /* PORT G */ |
239 |
240 #if defined(PG0) |
GAS LISTING /tmp/cckBHomO.s page 18 |
GAS LISTING /tmp/ccCMjSjd.s page 18 |
|
|
241 # define PORTG0 PG0 |
1078,7 → 1078,7 |
295 # define PORTJ0 PJ0 |
296 #endif |
297 #if defined(PJ1) |
GAS LISTING /tmp/cckBHomO.s page 19 |
GAS LISTING /tmp/ccCMjSjd.s page 19 |
|
|
298 # define PORTJ1 PJ1 |
1138,7 → 1138,7 |
13 distribution. |
14 |
15 * Neither the name of the copyright holders nor the names of |
GAS LISTING /tmp/cckBHomO.s page 20 |
GAS LISTING /tmp/ccCMjSjd.s page 20 |
|
|
16 contributors may be used to endorse or promote products derived |
1198,7 → 1198,7 |
70 /** \ingroup avr_version |
71 String literal representation of the release date. */ |
72 #define __AVR_LIBC_DATE_STRING__ "20060420" |
GAS LISTING /tmp/cckBHomO.s page 21 |
GAS LISTING /tmp/ccCMjSjd.s page 21 |
|
|
73 |
1258,7 → 1258,7 |
34 Description: This file provides the external interface |
35 to the events that can be published/processed in the |
36 system. It is specifically by itself (and nothing |
GAS LISTING /tmp/cckBHomO.s page 22 |
GAS LISTING /tmp/ccCMjSjd.s page 22 |
|
|
37 else should be defined in here) so that both .c and |
1318,7 → 1318,7 |
90 |
91 ; As pixel blocks are sampled, the red, green, and blue values are |
92 ; used to index into their respective color maps. The color maps |
GAS LISTING /tmp/cckBHomO.s page 23 |
GAS LISTING /tmp/ccCMjSjd.s page 23 |
|
|
93 ; return values that can be logically ANDed together so that a |
1378,7 → 1378,7 |
147 ;***************************************************************** |
148 ; Function Name: CamIntAsm_waitForNewTrackingFrame |
149 ; Function Description: This function is responsible for |
GAS LISTING /tmp/cckBHomO.s page 24 |
GAS LISTING /tmp/ccCMjSjd.s page 24 |
|
|
150 ; going to sleep until a new frame begins (indicated by |
1438,7 → 1438,7 |
204:CamInterfaceAsm.S **** out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow |
205 |
206:CamInterfaceAsm.S **** ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and |
GAS LISTING /tmp/cckBHomO.s page 25 |
GAS LISTING /tmp/ccCMjSjd.s page 25 |
|
|
207:CamInterfaceAsm.S **** ldi tmp2,0xFF ; interrupts) after 176 pixels |
1498,7 → 1498,7 |
261:CamInterfaceAsm.S **** sbi _SFR_IO_ADDR(PORTD),PD6 |
262:CamInterfaceAsm.S **** nop |
263:CamInterfaceAsm.S **** cbi _SFR_IO_ADDR(PORTD),PD6 |
GAS LISTING /tmp/cckBHomO.s page 26 |
GAS LISTING /tmp/ccCMjSjd.s page 26 |
|
|
264 |
1558,7 → 1558,7 |
318 |
319 ;***************************************************************** |
320 ; Function Name: CamIntAsm_waitForNewDumpFrame |
GAS LISTING /tmp/cckBHomO.s page 27 |
GAS LISTING /tmp/ccCMjSjd.s page 27 |
|
|
321 ; Function Description: This function is responsible for |
1618,7 → 1618,7 |
375 |
376 ;******************************************************************************************* |
377 ; Dump Frame handler |
GAS LISTING /tmp/cckBHomO.s page 28 |
GAS LISTING /tmp/ccCMjSjd.s page 28 |
|
|
378 ;******************************************************************************************* |
1678,7 → 1678,7 |
432 ; whenever the HREF transitions (meaning the pixels |
433 ; are starting after VSYNC transitioned, and we need to |
434 ; start acquiring the pixel blocks |
GAS LISTING /tmp/cckBHomO.s page 29 |
GAS LISTING /tmp/ccCMjSjd.s page 29 |
|
|
435 ; Inputs: none |
1737,7 → 1737,7 |
488:CamInterfaceAsm.S **** reti |
489 |
490 .end |
GAS LISTING /tmp/cckBHomO.s page 30 |
GAS LISTING /tmp/ccCMjSjd.s page 30 |
|
|
DEFINED SYMBOLS |