Subversion Repositories svnkaklik

Rev

Rev 174 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 174 Rev 182
Line 1... Line 1...
1
GAS LISTING /tmp/ccaC5L8h.s 			page 1
1
GAS LISTING /tmp/cctTSiV3.s 			page 1
2
 
2
 
3
 
3
 
4
   1               		.file	"CamConfig.c"
4
   1               		.file	"CamConfig.c"
5
   2               		.arch atmega8
5
   2               		.arch atmega8
6
   3               	__SREG__ = 0x3f
6
   3               	__SREG__ = 0x3f
Line 56... Line 56...
56
  53               		.stabs	"uint_fast8_t:t(4,20)=(4,2)",128,0,205,0
56
  53               		.stabs	"uint_fast8_t:t(4,20)=(4,2)",128,0,205,0
57
  54               		.stabs	"int_fast16_t:t(4,21)=(4,3)",128,0,210,0
57
  54               		.stabs	"int_fast16_t:t(4,21)=(4,3)",128,0,210,0
58
  55               		.stabs	"uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
58
  55               		.stabs	"uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
59
  56               		.stabs	"int_fast32_t:t(4,23)=(4,5)",128,0,220,0
59
  56               		.stabs	"int_fast32_t:t(4,23)=(4,5)",128,0,220,0
60
  57               		.stabs	"uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
60
  57               		.stabs	"uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
61
GAS LISTING /tmp/ccaC5L8h.s 			page 2
61
GAS LISTING /tmp/cctTSiV3.s 			page 2
62
 
62
 
63
 
63
 
64
  58               		.stabs	"int_fast64_t:t(4,25)=(4,7)",128,0,230,0
64
  58               		.stabs	"int_fast64_t:t(4,25)=(4,7)",128,0,230,0
65
  59               		.stabs	"uint_fast64_t:t(4,26)=(4,8)",128,0,235,0
65
  59               		.stabs	"uint_fast64_t:t(4,26)=(4,8)",128,0,235,0
66
  60               		.stabs	"intmax_t:t(4,27)=(4,7)",128,0,249,0
66
  60               		.stabs	"intmax_t:t(4,27)=(4,7)",128,0,249,0
Line 116... Line 116...
116
  29:CamConfig.c   ****     Module Auth: John Orlando 
116
  29:CamConfig.c   ****     Module Auth: John Orlando 
117
  30:CamConfig.c   **** 	
117
  30:CamConfig.c   **** 	
118
  31:CamConfig.c   **** 	Description: This module is responsible for the 
118
  31:CamConfig.c   **** 	Description: This module is responsible for the 
119
  32:CamConfig.c   **** 	high-level configuration activities of the OV6620
119
  32:CamConfig.c   **** 	high-level configuration activities of the OV6620
120
  33:CamConfig.c   **** 	camera module.  This module interfaces with the
120
  33:CamConfig.c   **** 	camera module.  This module interfaces with the
121
GAS LISTING /tmp/ccaC5L8h.s 			page 3
121
GAS LISTING /tmp/cctTSiV3.s 			page 3
122
 
122
 
123
 
123
 
124
  34:CamConfig.c   **** 	I2CInterface module to perform this configuration.
124
  34:CamConfig.c   **** 	I2CInterface module to perform this configuration.
125
  35:CamConfig.c   ****     
125
  35:CamConfig.c   ****     
126
  36:CamConfig.c   ****     Revision History:
126
  36:CamConfig.c   ****     Revision History:
Line 176... Line 176...
176
  86:CamConfig.c   **** 	CamConfig_setCamReg(0x14,0x20);  /* reduce frame size */
176
  86:CamConfig.c   **** 	CamConfig_setCamReg(0x14,0x20);  /* reduce frame size */
177
  87:CamConfig.c   **** 	CamConfig_setCamReg(0x39,0x40);  /* gate PCLK with HREF */
177
  87:CamConfig.c   **** 	CamConfig_setCamReg(0x39,0x40);  /* gate PCLK with HREF */
178
  88:CamConfig.c   **** 	CamConfig_setCamReg(0x12,0x28);  /* set RGB mode, with no AWB */
178
  88:CamConfig.c   **** 	CamConfig_setCamReg(0x12,0x28);  /* set RGB mode, with no AWB */
179
  89:CamConfig.c   **** 	CamConfig_setCamReg(0x28,0x05);  /* set color sequencer */
179
  89:CamConfig.c   **** 	CamConfig_setCamReg(0x28,0x05);  /* set color sequencer */
180
  90:CamConfig.c   ****     CamConfig_setCamReg(0x13,0x01);  /* un-tri-state the Y/UV lines */
180
  90:CamConfig.c   ****     CamConfig_setCamReg(0x13,0x01);  /* un-tri-state the Y/UV lines */
181
GAS LISTING /tmp/ccaC5L8h.s 			page 4
181
GAS LISTING /tmp/cctTSiV3.s 			page 4
182
 
182
 
183
 
183
 
184
  91:CamConfig.c   **** 	
184
  91:CamConfig.c   **** 	
185
  92:CamConfig.c   **** 	/* send the first four cmds in the I2C fifo */
185
  92:CamConfig.c   **** 	/* send the first four cmds in the I2C fifo */
186
  93:CamConfig.c   **** 	CamConfig_sendFifoCmds();	
186
  93:CamConfig.c   **** 	CamConfig_sendFifoCmds();	
Line 236... Line 236...
236
 143:CamConfig.c   **** }
236
 143:CamConfig.c   **** }
237
 144:CamConfig.c   **** 
237
 144:CamConfig.c   **** 
238
 145:CamConfig.c   **** /***********************************************************
238
 145:CamConfig.c   **** /***********************************************************
239
 146:CamConfig.c   **** 	Function Name: CamConfig_writeTxFifo
239
 146:CamConfig.c   **** 	Function Name: CamConfig_writeTxFifo
240
 147:CamConfig.c   **** 	Function Description: This function is responsible for
240
 147:CamConfig.c   **** 	Function Description: This function is responsible for
241
GAS LISTING /tmp/ccaC5L8h.s 			page 5
241
GAS LISTING /tmp/cctTSiV3.s 			page 5
242
 
242
 
243
 
243
 
244
 148:CamConfig.c   **** 	adding a new command to the tx fifo.  It adjusts all
244
 148:CamConfig.c   **** 	adding a new command to the tx fifo.  It adjusts all
245
 149:CamConfig.c   **** 	needed pointers.
245
 149:CamConfig.c   **** 	needed pointers.
246
 150:CamConfig.c   **** 	Inputs:  cmd - the i2cCmd_t to add to the fifo
246
 150:CamConfig.c   **** 	Inputs:  cmd - the i2cCmd_t to add to the fifo
Line 296... Line 296...
296
 168:CamConfig.c   **** 		/* we wrapped the fifo...return false */
296
 168:CamConfig.c   **** 		/* we wrapped the fifo...return false */
297
 169:CamConfig.c   **** 		retVal = FALSE;
297
 169:CamConfig.c   **** 		retVal = FALSE;
298
 170:CamConfig.c   **** 	}
298
 170:CamConfig.c   **** 	}
299
 171:CamConfig.c   **** 	return(retVal);
299
 171:CamConfig.c   **** 	return(retVal);
300
 172:CamConfig.c   **** }
300
 172:CamConfig.c   **** }
301
GAS LISTING /tmp/ccaC5L8h.s 			page 6
301
GAS LISTING /tmp/cctTSiV3.s 			page 6
302
 
302
 
303
 
303
 
304
 114               		.stabn	68,0,172,.LM5-CamConfig_writeTxFifo
304
 114               		.stabn	68,0,172,.LM5-CamConfig_writeTxFifo
305
 115               	.LM5:
305
 115               	.LM5:
306
 116 002c 9927      		clr r25
306
 116 002c 9927      		clr r25
Line 356... Line 356...
356
 166               	.LM10:
356
 166               	.LM10:
357
 167               	/* prologue: frame size=2 */
357
 167               	/* prologue: frame size=2 */
358
 168 003a 0F93      		push r16
358
 168 003a 0F93      		push r16
359
 169 003c 1F93      		push r17
359
 169 003c 1F93      		push r17
360
 170 003e CF93      		push r28
360
 170 003e CF93      		push r28
361
GAS LISTING /tmp/ccaC5L8h.s 			page 7
361
GAS LISTING /tmp/cctTSiV3.s 			page 7
362
 
362
 
363
 
363
 
364
 171 0040 DF93      		push r29
364
 171 0040 DF93      		push r29
365
 172 0042 CDB7      		in r28,__SP_L__
365
 172 0042 CDB7      		in r28,__SP_L__
366
 173 0044 DEB7      		in r29,__SP_H__
366
 173 0044 DEB7      		in r29,__SP_H__
Line 416... Line 416...
416
 206 0074 9A83      		std Y+2,r25
416
 206 0074 9A83      		std Y+2,r25
417
 207 0076 2983      		std Y+1,r18
417
 207 0076 2983      		std Y+1,r18
418
 208               	.LBE5:
418
 208               	.LBE5:
419
 209               	.LBE4:
419
 209               	.LBE4:
420
 210               		.stabn	68,0,138,.LM14-CamConfig_sendFifoCmds
420
 210               		.stabn	68,0,138,.LM14-CamConfig_sendFifoCmds
421
GAS LISTING /tmp/ccaC5L8h.s 			page 8
421
GAS LISTING /tmp/cctTSiV3.s 			page 8
422
 
422
 
423
 
423
 
424
 211               	.LM14:
424
 211               	.LM14:
425
 212 0078 42E0      		ldi r20,lo8(2)
425
 212 0078 42E0      		ldi r20,lo8(2)
426
 213 007a B801      		movw r22,r16
426
 213 007a B801      		movw r22,r16
Line 476... Line 476...
476
 263               	/* prologue end (size=0) */
476
 263               	/* prologue end (size=0) */
477
 264               		.stabn	68,0,86,.LM19-CamConfig_init
477
 264               		.stabn	68,0,86,.LM19-CamConfig_init
478
 265               	.LM19:
478
 265               	.LM19:
479
 266 00ae 60E2      		ldi r22,lo8(32)
479
 266 00ae 60E2      		ldi r22,lo8(32)
480
 267 00b0 84E1      		ldi r24,lo8(20)
480
 267 00b0 84E1      		ldi r24,lo8(20)
481
GAS LISTING /tmp/ccaC5L8h.s 			page 9
481
GAS LISTING /tmp/cctTSiV3.s 			page 9
482
 
482
 
483
 
483
 
484
 268 00b2 BEDF      		rcall CamConfig_setCamReg
484
 268 00b2 BEDF      		rcall CamConfig_setCamReg
485
 269               		.stabn	68,0,87,.LM20-CamConfig_init
485
 269               		.stabn	68,0,87,.LM20-CamConfig_init
486
 270               	.LM20:
486
 270               	.LM20:
Line 532... Line 532...
532
 316               		.stabs	"CamConfig_txFifoTail:G(0,11)",32,0,75,0
532
 316               		.stabs	"CamConfig_txFifoTail:G(0,11)",32,0,75,0
533
 317               		.text
533
 317               		.text
534
 318               		.stabs	"",100,0,0,.Letext0
534
 318               		.stabs	"",100,0,0,.Letext0
535
 319               	.Letext0:
535
 319               	.Letext0:
536
 320               	/* File "CamConfig.c": code  104 = 0x0068 (  78), prologues  12, epilogues  14 */
536
 320               	/* File "CamConfig.c": code  104 = 0x0068 (  78), prologues  12, epilogues  14 */
537
GAS LISTING /tmp/ccaC5L8h.s 			page 10
537
GAS LISTING /tmp/cctTSiV3.s 			page 10
538
 
538
 
539
 
539
 
540
DEFINED SYMBOLS
540
DEFINED SYMBOLS
541
                            *ABS*:00000000 CamConfig.c
541
                            *ABS*:00000000 CamConfig.c
542
     /tmp/ccaC5L8h.s:3      *ABS*:0000003f __SREG__
542
     /tmp/cctTSiV3.s:3      *ABS*:0000003f __SREG__
543
     /tmp/ccaC5L8h.s:4      *ABS*:0000003e __SP_H__
543
     /tmp/cctTSiV3.s:4      *ABS*:0000003e __SP_H__
544
     /tmp/ccaC5L8h.s:5      *ABS*:0000003d __SP_L__
544
     /tmp/cctTSiV3.s:5      *ABS*:0000003d __SP_L__
545
     /tmp/ccaC5L8h.s:6      *ABS*:00000000 __tmp_reg__
545
     /tmp/cctTSiV3.s:6      *ABS*:00000000 __tmp_reg__
546
     /tmp/ccaC5L8h.s:7      *ABS*:00000001 __zero_reg__
546
     /tmp/cctTSiV3.s:7      *ABS*:00000001 __zero_reg__
547
     /tmp/ccaC5L8h.s:80     .text:00000000 CamConfig_writeTxFifo
547
     /tmp/cctTSiV3.s:80     .text:00000000 CamConfig_writeTxFifo
548
     /tmp/ccaC5L8h.s:305    .bss:00000000 CamConfig_txFifoHead
548
     /tmp/cctTSiV3.s:305    .bss:00000000 CamConfig_txFifoHead
549
                            *COM*:00000010 CamConfig_txFifo
549
                            *COM*:00000010 CamConfig_txFifo
550
     /tmp/ccaC5L8h.s:311    .bss:00000001 CamConfig_txFifoTail
550
     /tmp/cctTSiV3.s:311    .bss:00000001 CamConfig_txFifoTail
551
     /tmp/ccaC5L8h.s:133    .text:00000030 CamConfig_setCamReg
551
     /tmp/cctTSiV3.s:133    .text:00000030 CamConfig_setCamReg
552
     /tmp/ccaC5L8h.s:163    .text:0000003a CamConfig_sendFifoCmds
552
     /tmp/cctTSiV3.s:163    .text:0000003a CamConfig_sendFifoCmds
553
     /tmp/ccaC5L8h.s:258    .text:000000ae CamConfig_init
553
     /tmp/cctTSiV3.s:258    .text:000000ae CamConfig_init
554
 
554
 
555
UNDEFINED SYMBOLS
555
UNDEFINED SYMBOLS
556
__do_copy_data
556
__do_copy_data
557
__do_clear_bss
557
__do_clear_bss
558
I2CInt_writeData
558
I2CInt_writeData