; generated by Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\ov5460_sccb.o --asm_dir=..\..\..\..\Build\demo\MICO-Fire_F429\list_RVMDK\ --list_dir=..\..\..\..\Build\demo\MICO-Fire_F429\list_RVMDK\ --depend=..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\ov5460_sccb.d --cpu=Cortex-M4.fp --apcs=interwork -O0 --diag_suppress=9931,1,1293 -I..\..\..\..\Board\fire_F429 -I..\..\..\..\Demos\fire\ov2640 -I..\..\..\..\include -I..\..\..\..\libraries\utilities -I..\..\..\..\libraries\utilities\json_c -I..\..\..\..\MICO\core -I..\..\..\..\MICO\security -I..\..\..\..\MICO\system -I..\..\..\..\MICO\system\command_console -I..\..\..\..\Platform\include -I..\..\..\..\Platform\Cortex-M4 -I..\..\..\..\Platform\Cortex-M4\CMSIS -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries\STM32F4xx_StdPeriph_Driver\inc -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries -I..\..\..\..\Platform\MCU\STM32F4xx\wlan_bus_driver -I..\..\..\..\Platform\Drivers\spi_flash -I..\..\..\..\Platform\Drivers -I..\..\..\..\libraries\daemons\homekit_server -I..\..\..\..\libraries\daemons\http_server -I..\..\..\..\Platform\Drivers\malloc -I..\..\..\..\Platform\Drivers\SDRAM -I..\..\..\..\Platform\Drivers\ov5640 -IG:\GIT_OSC\STM32_develop\F429-V2\develop\6-WIFI\STM32-WiFi\3.wifi_ov5640\Projects\STM32F429\demo\RVMDK\RTE -IC:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -IC:\Keil_v5\ARM\CMSIS\Include -IC:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0 -D__UVISION_VERSION=515 -DSTM32F429xx -DUSE_STDPERIPH_DRIVER -DDEBUG -DHSE_VALUE=25000000 -DOV5640 --omf_browse=..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\ov5460_sccb.crf ..\..\..\..\Platform\Drivers\ov5640\ov5460_SCCB.c]
                          THUMB

                          AREA ||i.OV5640_JPEGConfig||, CODE, READONLY, ALIGN=2

                  OV5640_JPEGConfig PROC
;;;131    //uint32_t sensor_cnt=0;
;;;132    void OV5640_JPEGConfig(ImageFormat_TypeDef ImageFormat)
000000  b570              PUSH     {r4-r6,lr}
;;;133    {
000002  4605              MOV      r5,r0
;;;134        uint32_t i;
;;;135    
;;;136        OV5640_Reset();
000004  f7fffffe          BL       OV5640_Reset
;;;137        mico_thread_msleep(200);
000008  20c8              MOVS     r0,#0xc8
00000a  f7fffffe          BL       msleep
;;;138        /* Initialize OV5640 */
;;;139        for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
00000e  2400              MOVS     r4,#0
000010  e009              B        |L1.38|
                  |L1.18|
;;;140        {
;;;141            OV5640_WriteReg(OV5640_JPEG_INIT[i][0], OV5640_JPEG_INIT[i][1]);
000012  4a60              LDR      r2,|L1.404|
000014  eb020284          ADD      r2,r2,r4,LSL #2
000018  7891              LDRB     r1,[r2,#2]
00001a  4a5e              LDR      r2,|L1.404|
00001c  f8320024          LDRH     r0,[r2,r4,LSL #2]
000020  f7fffffe          BL       OV5640_WriteReg
000024  1c64              ADDS     r4,r4,#1              ;139
                  |L1.38|
000026  2cd0              CMP      r4,#0xd0              ;139
000028  d3f3              BCC      |L1.18|
;;;142        }
;;;143    //    for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
;;;144    //    {
;;;145    //        OV5640_WriteReg(OV5640_JPEG_INIT[i][0], OV5640_JPEG_INIT[i][1]);
;;;146    //    }
;;;147    //    for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
;;;148    //    {
;;;149    //        OV5640_WriteReg(OV5640_JPEG_INIT[i][0], OV5640_JPEG_INIT[i][1]);
;;;150    //    }
;;;151    //    for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
;;;152    //    {
;;;153    //        OV5640_WriteReg(OV5640_JPEG_INIT[i][0], OV5640_JPEG_INIT[i][1]);
;;;154    //    }
;;;155    //    for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
;;;156    //    {
;;;157    //        OV5640_WriteReg(OV5640_JPEG_INIT[i][0], OV5640_JPEG_INIT[i][1]);
;;;158    //    }
;;;159    
;;;160    //    for(i=0; i<(sizeof(OV5640_JPEG_INIT)/4); i++)
;;;161    //    {
;;;162    //        sensor_reg[i]=OV5640_ReadReg(OV5640_JPEG_INIT[i][0]); 
;;;163    //        if(OV5640_JPEG_INIT[i][1] != sensor_reg[i])        
;;;164    //        ov5640_SCCB_log("sensor_reg[%d]:%x-%x\n",i,OV5640_JPEG_INIT[i][1],sensor_reg[i]);
;;;165    //    }
;;;166        
;;;167        mico_thread_msleep(10);
00002a  200a              MOVS     r0,#0xa
00002c  f7fffffe          BL       msleep
;;;168    
;;;169        switch(ImageFormat)
000030  2d0a              CMP      r5,#0xa
000032  d26f              BCS      |L1.276|
000034  e8dff005          TBB      [pc,r5]
000038  05142332          DCB      0x05,0x14,0x23,0x32
00003c  41505f6f          DCB      0x41,0x50,0x5f,0x6f
000040  7e8d              DCB      0x7e,0x8d
;;;170        {
;;;171         case JPEG_160x120:
;;;172            {
;;;173                for(i=0; i<(sizeof(OV5640_160x120_JPEG)/4); i++)
000042  2400              MOVS     r4,#0
000044  e009              B        |L1.90|
                  |L1.70|
;;;174                {
;;;175                    OV5640_WriteReg(OV5640_160x120_JPEG[i][0], OV5640_160x120_JPEG[i][1]);
000046  4a54              LDR      r2,|L1.408|
000048  eb020284          ADD      r2,r2,r4,LSL #2
00004c  7891              LDRB     r1,[r2,#2]
00004e  4a52              LDR      r2,|L1.408|
000050  f8320024          LDRH     r0,[r2,r4,LSL #2]
000054  f7fffffe          BL       OV5640_WriteReg
000058  1c64              ADDS     r4,r4,#1              ;173
                  |L1.90|
00005a  2c2a              CMP      r4,#0x2a              ;173
00005c  d3f3              BCC      |L1.70|
;;;176                }
;;;177                break;
00005e  e096              B        |L1.398|
;;;178            }
;;;179         case JPEG_320x240:
;;;180            {
;;;181                for(i=0; i<(sizeof(OV5640_320x240_JPEG)/4); i++)
000060  2400              MOVS     r4,#0
000062  e009              B        |L1.120|
                  |L1.100|
;;;182                {
;;;183                    OV5640_WriteReg(OV5640_320x240_JPEG[i][0], OV5640_320x240_JPEG[i][1]);
000064  4a4d              LDR      r2,|L1.412|
000066  eb020284          ADD      r2,r2,r4,LSL #2
00006a  7891              LDRB     r1,[r2,#2]
00006c  4a4b              LDR      r2,|L1.412|
00006e  f8320024          LDRH     r0,[r2,r4,LSL #2]
000072  f7fffffe          BL       OV5640_WriteReg
000076  1c64              ADDS     r4,r4,#1              ;181
                  |L1.120|
000078  2c2a              CMP      r4,#0x2a              ;181
00007a  d3f3              BCC      |L1.100|
;;;184                }
;;;185                break;
00007c  e087              B        |L1.398|
;;;186            }
;;;187         case JPEG_640x480:
;;;188            {
;;;189                for(i=0; i<(sizeof(OV5640_640x480_JPEG)/4); i++)
00007e  2400              MOVS     r4,#0
000080  e009              B        |L1.150|
                  |L1.130|
;;;190                {
;;;191                    OV5640_WriteReg(OV5640_640x480_JPEG[i][0], OV5640_640x480_JPEG[i][1]);
000082  4a47              LDR      r2,|L1.416|
000084  eb020284          ADD      r2,r2,r4,LSL #2
000088  7891              LDRB     r1,[r2,#2]
00008a  4a45              LDR      r2,|L1.416|
00008c  f8320024          LDRH     r0,[r2,r4,LSL #2]
000090  f7fffffe          BL       OV5640_WriteReg
000094  1c64              ADDS     r4,r4,#1              ;189
                  |L1.150|
000096  2c2a              CMP      r4,#0x2a              ;189
000098  d3f3              BCC      |L1.130|
;;;192                }
;;;193                break;            
00009a  e078              B        |L1.398|
;;;194            }
;;;195    
;;;196         case JPEG_800x600:
;;;197            {
;;;198                for(i=0; i<(sizeof(OV5640_800x600_JPEG)/4); i++)
00009c  2400              MOVS     r4,#0
00009e  e009              B        |L1.180|
                  |L1.160|
;;;199                {
;;;200                    OV5640_WriteReg(OV5640_800x600_JPEG[i][0], OV5640_800x600_JPEG[i][1]);
0000a0  4a40              LDR      r2,|L1.420|
0000a2  eb020284          ADD      r2,r2,r4,LSL #2
0000a6  7891              LDRB     r1,[r2,#2]
0000a8  4a3e              LDR      r2,|L1.420|
0000aa  f8320024          LDRH     r0,[r2,r4,LSL #2]
0000ae  f7fffffe          BL       OV5640_WriteReg
0000b2  1c64              ADDS     r4,r4,#1              ;198
                  |L1.180|
0000b4  2c2a              CMP      r4,#0x2a              ;198
0000b6  d3f3              BCC      |L1.160|
;;;201                }
;;;202                break;
0000b8  e069              B        |L1.398|
;;;203            }
;;;204         case JPEG_1024x768:
;;;205            {
;;;206                for(i=0; i<(sizeof(OV5640_1024x768_JPEG)/4); i++)
0000ba  2400              MOVS     r4,#0
0000bc  e009              B        |L1.210|
                  |L1.190|
;;;207                {
;;;208                    OV5640_WriteReg(OV5640_1024x768_JPEG[i][0], OV5640_1024x768_JPEG[i][1]);
0000be  4a3a              LDR      r2,|L1.424|
0000c0  eb020284          ADD      r2,r2,r4,LSL #2
0000c4  7891              LDRB     r1,[r2,#2]
0000c6  4a38              LDR      r2,|L1.424|
0000c8  f8320024          LDRH     r0,[r2,r4,LSL #2]
0000cc  f7fffffe          BL       OV5640_WriteReg
0000d0  1c64              ADDS     r4,r4,#1              ;206
                  |L1.210|
0000d2  2c2a              CMP      r4,#0x2a              ;206
0000d4  d3f3              BCC      |L1.190|
;;;209                }
;;;210                break;
0000d6  e05a              B        |L1.398|
;;;211            }
;;;212    		case JPEG_1280x960:
;;;213            {
;;;214                for(i=0; i<(sizeof(OV5640_1280x960_JPEG)/4); i++)
0000d8  2400              MOVS     r4,#0
0000da  e009              B        |L1.240|
                  |L1.220|
;;;215                {
;;;216                        OV5640_WriteReg(OV5640_1280x960_JPEG[i][0], OV5640_1280x960_JPEG[i][1]);
0000dc  4a33              LDR      r2,|L1.428|
0000de  eb020284          ADD      r2,r2,r4,LSL #2
0000e2  7891              LDRB     r1,[r2,#2]
0000e4  4a31              LDR      r2,|L1.428|
0000e6  f8320024          LDRH     r0,[r2,r4,LSL #2]
0000ea  f7fffffe          BL       OV5640_WriteReg
0000ee  1c64              ADDS     r4,r4,#1              ;214
                  |L1.240|
0000f0  2c2a              CMP      r4,#0x2a              ;214
0000f2  d3f3              BCC      |L1.220|
;;;217                }
;;;218                break;
0000f4  e04b              B        |L1.398|
;;;219            }
;;;220    		case JPEG_1600x1200:
;;;221            {
;;;222                for(i=0; i<(sizeof(OV5640_1600x1200_JPEG)/4); i++)
0000f6  2400              MOVS     r4,#0
0000f8  e009              B        |L1.270|
                  |L1.250|
;;;223                {
;;;224                        OV5640_WriteReg(OV5640_1600x1200_JPEG[i][0], OV5640_1600x1200_JPEG[i][1]);
0000fa  4a2d              LDR      r2,|L1.432|
0000fc  eb020284          ADD      r2,r2,r4,LSL #2
000100  7891              LDRB     r1,[r2,#2]
000102  4a2b              LDR      r2,|L1.432|
000104  f8320024          LDRH     r0,[r2,r4,LSL #2]
000108  f7fffffe          BL       OV5640_WriteReg
00010c  1c64              ADDS     r4,r4,#1              ;222
                  |L1.270|
00010e  2c29              CMP      r4,#0x29              ;222
000110  d3f3              BCC      |L1.250|
;;;225                }
;;;226                break;
000112  e03c              B        |L1.398|
                  |L1.276|
000114  e02c              B        |L1.368|
;;;227            }
;;;228            case JPEG_2048x1536:
;;;229            {
;;;230                for(i=0; i<(sizeof(OV5640_2048x1536_JPEG)/4); i++)
000116  2400              MOVS     r4,#0
000118  e009              B        |L1.302|
                  |L1.282|
;;;231                {
;;;232                        OV5640_WriteReg(OV5640_2048x1536_JPEG[i][0], OV5640_2048x1536_JPEG[i][1]);
00011a  4a26              LDR      r2,|L1.436|
00011c  eb020284          ADD      r2,r2,r4,LSL #2
000120  7891              LDRB     r1,[r2,#2]
000122  4a24              LDR      r2,|L1.436|
000124  f8320024          LDRH     r0,[r2,r4,LSL #2]
000128  f7fffffe          BL       OV5640_WriteReg
00012c  1c64              ADDS     r4,r4,#1              ;230
                  |L1.302|
00012e  2c29              CMP      r4,#0x29              ;230
000130  d3f3              BCC      |L1.282|
;;;233                }
;;;234                break;
000132  e02c              B        |L1.398|
;;;235            }
;;;236            case JPEG_2320x1740:
;;;237            {
;;;238                for(i=0; i<(sizeof(OV5640_2320x1740_JPEG)/4); i++)
000134  2400              MOVS     r4,#0
000136  e009              B        |L1.332|
                  |L1.312|
;;;239                {
;;;240                        OV5640_WriteReg(OV5640_2320x1740_JPEG[i][0], OV5640_2320x1740_JPEG[i][1]);
000138  4a1f              LDR      r2,|L1.440|
00013a  eb020284          ADD      r2,r2,r4,LSL #2
00013e  7891              LDRB     r1,[r2,#2]
000140  4a1d              LDR      r2,|L1.440|
000142  f8320024          LDRH     r0,[r2,r4,LSL #2]
000146  f7fffffe          BL       OV5640_WriteReg
00014a  1c64              ADDS     r4,r4,#1              ;238
                  |L1.332|
00014c  2c29              CMP      r4,#0x29              ;238
00014e  d3f3              BCC      |L1.312|
;;;241                }
;;;242                break;
000150  e01d              B        |L1.398|
;;;243            }
;;;244            case JPEG_2592x1944:
;;;245            {
;;;246                for(i=0; i<(sizeof(OV5640_2592x1944_JPEG)/4); i++)
000152  2400              MOVS     r4,#0
000154  e009              B        |L1.362|
                  |L1.342|
;;;247                {
;;;248                        OV5640_WriteReg(OV5640_2592x1944_JPEG[i][0], OV5640_2592x1944_JPEG[i][1]);
000156  4a19              LDR      r2,|L1.444|
000158  eb020284          ADD      r2,r2,r4,LSL #2
00015c  7891              LDRB     r1,[r2,#2]
00015e  4a17              LDR      r2,|L1.444|
000160  f8320024          LDRH     r0,[r2,r4,LSL #2]
000164  f7fffffe          BL       OV5640_WriteReg
000168  1c64              ADDS     r4,r4,#1              ;246
                  |L1.362|
00016a  2c29              CMP      r4,#0x29              ;246
00016c  d3f3              BCC      |L1.342|
;;;249                }
;;;250                break;
00016e  e00e              B        |L1.398|
                  |L1.368|
;;;251            }
;;;252         default:
;;;253            {
;;;254                for(i=0; i<(sizeof(OV5640_320x240_JPEG)/4); i++)
000170  2400              MOVS     r4,#0
000172  e009              B        |L1.392|
                  |L1.372|
;;;255                {
;;;256                    OV5640_WriteReg(OV5640_320x240_JPEG[i][0], OV5640_320x240_JPEG[i][1]);
000174  4a09              LDR      r2,|L1.412|
000176  eb020284          ADD      r2,r2,r4,LSL #2
00017a  7891              LDRB     r1,[r2,#2]
00017c  4a07              LDR      r2,|L1.412|
00017e  f8320024          LDRH     r0,[r2,r4,LSL #2]
000182  f7fffffe          BL       OV5640_WriteReg
000186  1c64              ADDS     r4,r4,#1              ;254
                  |L1.392|
000188  2c2a              CMP      r4,#0x2a              ;254
00018a  d3f3              BCC      |L1.372|
;;;257                }
;;;258                break;
00018c  bf00              NOP      
                  |L1.398|
00018e  bf00              NOP                            ;177
;;;259            }
;;;260        }
;;;261    }
000190  bd70              POP      {r4-r6,pc}
;;;262    
                          ENDP

000192  0000              DCW      0x0000
                  |L1.404|
                          DCD      OV5640_JPEG_INIT
                  |L1.408|
                          DCD      OV5640_160x120_JPEG
                  |L1.412|
                          DCD      OV5640_320x240_JPEG
                  |L1.416|
                          DCD      OV5640_640x480_JPEG
                  |L1.420|
                          DCD      OV5640_800x600_JPEG
                  |L1.424|
                          DCD      OV5640_1024x768_JPEG
                  |L1.428|
                          DCD      OV5640_1280x960_JPEG
                  |L1.432|
                          DCD      OV5640_1600x1200_JPEG
                  |L1.436|
                          DCD      OV5640_2048x1536_JPEG
                  |L1.440|
                          DCD      OV5640_2320x1740_JPEG
                  |L1.444|
                          DCD      OV5640_2592x1944_JPEG

                          AREA ||i.OV5640_LightMode||, CODE, READONLY, ALIGN=1

                  OV5640_LightMode PROC
;;;273    */
;;;274    void OV5640_LightMode(uint8_t mode)
000000  b510              PUSH     {r4,lr}
;;;275    {
000002  4604              MOV      r4,r0
;;;276        switch(mode)
000004  2c05              CMP      r4,#5
000006  d236              BCS      |L2.118|
000008  e8dff004          TBB      [pc,r4]
00000c  0336699c          DCB      0x03,0x36,0x69,0x9c
000010  cf00              DCB      0xcf,0x00
;;;277        {
;;;278    
;;;279         case 0:     //Auto 自动
;;;280            OV5640_WriteReg(0x3212, 0x03); // start group 3
000012  2103              MOVS     r1,#3
000014  f2432012          MOV      r0,#0x3212
000018  f7fffffe          BL       OV5640_WriteReg
;;;281            OV5640_WriteReg(0x3406, 0x00);
00001c  2100              MOVS     r1,#0
00001e  f2434006          MOV      r0,#0x3406
000022  f7fffffe          BL       OV5640_WriteReg
;;;282            OV5640_WriteReg(0x3400, 0x04);
000026  2104              MOVS     r1,#4
000028  f44f5050          MOV      r0,#0x3400
00002c  f7fffffe          BL       OV5640_WriteReg
;;;283            OV5640_WriteReg(0x3401, 0x00);
000030  2100              MOVS     r1,#0
000032  f2434001          MOV      r0,#0x3401
000036  f7fffffe          BL       OV5640_WriteReg
;;;284            OV5640_WriteReg(0x3402, 0x04);
00003a  2104              MOVS     r1,#4
00003c  f2434002          MOV      r0,#0x3402
000040  f7fffffe          BL       OV5640_WriteReg
;;;285            OV5640_WriteReg(0x3403, 0x00);
000044  2100              MOVS     r1,#0
000046  f2434003          MOV      r0,#0x3403
00004a  f7fffffe          BL       OV5640_WriteReg
;;;286            OV5640_WriteReg(0x3404, 0x04);
00004e  2104              MOVS     r1,#4
000050  f2434004          MOV      r0,#0x3404
000054  f7fffffe          BL       OV5640_WriteReg
;;;287            OV5640_WriteReg(0x3405, 0x00);
000058  2100              MOVS     r1,#0
00005a  f2434005          MOV      r0,#0x3405
00005e  f7fffffe          BL       OV5640_WriteReg
;;;288            OV5640_WriteReg(0x3212, 0x13); // end group 3
000062  2113              MOVS     r1,#0x13
000064  f2432012          MOV      r0,#0x3212
000068  f7fffffe          BL       OV5640_WriteReg
;;;289            OV5640_WriteReg(0x3212, 0xa3); // lanuch group 3
00006c  21a3              MOVS     r1,#0xa3
00006e  f2432012          MOV      r0,#0x3212
000072  f7fffffe          BL       OV5640_WriteReg
                  |L2.118|
;;;290            break;
000076  e0cb              B        |L2.528|
;;;291    
;;;292         case 1:     //Sunny 日光
;;;293            OV5640_WriteReg(0x3212, 0x03); // start group 3
000078  2103              MOVS     r1,#3
00007a  f2432012          MOV      r0,#0x3212
00007e  f7fffffe          BL       OV5640_WriteReg
;;;294            OV5640_WriteReg(0x3406, 0x01);
000082  2101              MOVS     r1,#1
000084  f2434006          MOV      r0,#0x3406
000088  f7fffffe          BL       OV5640_WriteReg
;;;295            OV5640_WriteReg(0x3400, 0x06);
00008c  2106              MOVS     r1,#6
00008e  f44f5050          MOV      r0,#0x3400
000092  f7fffffe          BL       OV5640_WriteReg
;;;296            OV5640_WriteReg(0x3401, 0x1c);
000096  211c              MOVS     r1,#0x1c
000098  f2434001          MOV      r0,#0x3401
00009c  f7fffffe          BL       OV5640_WriteReg
;;;297            OV5640_WriteReg(0x3402, 0x04);
0000a0  2104              MOVS     r1,#4
0000a2  f2434002          MOV      r0,#0x3402
0000a6  f7fffffe          BL       OV5640_WriteReg
;;;298            OV5640_WriteReg(0x3403, 0x00);
0000aa  2100              MOVS     r1,#0
0000ac  f2434003          MOV      r0,#0x3403
0000b0  f7fffffe          BL       OV5640_WriteReg
;;;299            OV5640_WriteReg(0x3404, 0x04);
0000b4  2104              MOVS     r1,#4
0000b6  f2434004          MOV      r0,#0x3404
0000ba  f7fffffe          BL       OV5640_WriteReg
;;;300            OV5640_WriteReg(0x3405, 0xf3);
0000be  21f3              MOVS     r1,#0xf3
0000c0  f2434005          MOV      r0,#0x3405
0000c4  f7fffffe          BL       OV5640_WriteReg
;;;301            OV5640_WriteReg(0x3212, 0x13); // end group 3
0000c8  2113              MOVS     r1,#0x13
0000ca  f2432012          MOV      r0,#0x3212
0000ce  f7fffffe          BL       OV5640_WriteReg
;;;302            OV5640_WriteReg(0x3212, 0xa3); // lanuch group 3
0000d2  21a3              MOVS     r1,#0xa3
0000d4  f2432012          MOV      r0,#0x3212
0000d8  f7fffffe          BL       OV5640_WriteReg
;;;303            break;
0000dc  e098              B        |L2.528|
;;;304    
;;;305         case 2:    //Office 办公室
;;;306            OV5640_WriteReg(0x3212, 0x03); // start group 3
0000de  2103              MOVS     r1,#3
0000e0  f2432012          MOV      r0,#0x3212
0000e4  f7fffffe          BL       OV5640_WriteReg
;;;307            OV5640_WriteReg(0x3406, 0x01);
0000e8  2101              MOVS     r1,#1
0000ea  f2434006          MOV      r0,#0x3406
0000ee  f7fffffe          BL       OV5640_WriteReg
;;;308            OV5640_WriteReg(0x3400, 0x05);
0000f2  2105              MOVS     r1,#5
0000f4  f44f5050          MOV      r0,#0x3400
0000f8  f7fffffe          BL       OV5640_WriteReg
;;;309            OV5640_WriteReg(0x3401, 0x48);
0000fc  2148              MOVS     r1,#0x48
0000fe  f2434001          MOV      r0,#0x3401
000102  f7fffffe          BL       OV5640_WriteReg
;;;310            OV5640_WriteReg(0x3402, 0x04);
000106  2104              MOVS     r1,#4
000108  f2434002          MOV      r0,#0x3402
00010c  f7fffffe          BL       OV5640_WriteReg
;;;311            OV5640_WriteReg(0x3403, 0x00);
000110  2100              MOVS     r1,#0
000112  f2434003          MOV      r0,#0x3403
000116  f7fffffe          BL       OV5640_WriteReg
;;;312            OV5640_WriteReg(0x3404, 0x07);
00011a  2107              MOVS     r1,#7
00011c  f2434004          MOV      r0,#0x3404
000120  f7fffffe          BL       OV5640_WriteReg
;;;313            OV5640_WriteReg(0x3405, 0xcf);
000124  21cf              MOVS     r1,#0xcf
000126  f2434005          MOV      r0,#0x3405
00012a  f7fffffe          BL       OV5640_WriteReg
;;;314            OV5640_WriteReg(0x3212, 0x13); // end group 3
00012e  2113              MOVS     r1,#0x13
000130  f2432012          MOV      r0,#0x3212
000134  f7fffffe          BL       OV5640_WriteReg
;;;315            OV5640_WriteReg(0x3212, 0xa3); // lanuch group 3
000138  21a3              MOVS     r1,#0xa3
00013a  f2432012          MOV      r0,#0x3212
00013e  f7fffffe          BL       OV5640_WriteReg
;;;316            break;
000142  e065              B        |L2.528|
;;;317    
;;;318         case 3:   //Cloudy 阴天
;;;319            OV5640_WriteReg(0x3212, 0x03); // start group 3
000144  2103              MOVS     r1,#3
000146  f2432012          MOV      r0,#0x3212
00014a  f7fffffe          BL       OV5640_WriteReg
;;;320            OV5640_WriteReg(0x3406, 0x01);
00014e  2101              MOVS     r1,#1
000150  f2434006          MOV      r0,#0x3406
000154  f7fffffe          BL       OV5640_WriteReg
;;;321            OV5640_WriteReg(0x3400, 0x06);
000158  2106              MOVS     r1,#6
00015a  f44f5050          MOV      r0,#0x3400
00015e  f7fffffe          BL       OV5640_WriteReg
;;;322            OV5640_WriteReg(0x3401, 0x48);
000162  2148              MOVS     r1,#0x48
000164  f2434001          MOV      r0,#0x3401
000168  f7fffffe          BL       OV5640_WriteReg
;;;323            OV5640_WriteReg(0x3402, 0x04);
00016c  2104              MOVS     r1,#4
00016e  f2434002          MOV      r0,#0x3402
000172  f7fffffe          BL       OV5640_WriteReg
;;;324            OV5640_WriteReg(0x3403, 0x00);
000176  2100              MOVS     r1,#0
000178  f2434003          MOV      r0,#0x3403
00017c  f7fffffe          BL       OV5640_WriteReg
;;;325            OV5640_WriteReg(0x3404, 0x04);
000180  2104              MOVS     r1,#4
000182  f2434004          MOV      r0,#0x3404
000186  f7fffffe          BL       OV5640_WriteReg
;;;326            OV5640_WriteReg(0x3405, 0xd3);
00018a  21d3              MOVS     r1,#0xd3
00018c  f2434005          MOV      r0,#0x3405
000190  f7fffffe          BL       OV5640_WriteReg
;;;327            OV5640_WriteReg(0x3212, 0x13); // end group 3
000194  2113              MOVS     r1,#0x13
000196  f2432012          MOV      r0,#0x3212
00019a  f7fffffe          BL       OV5640_WriteReg
;;;328            OV5640_WriteReg(0x3212, 0xa3); // lanuch group 3
00019e  21a3              MOVS     r1,#0xa3
0001a0  f2432012          MOV      r0,#0x3212
0001a4  f7fffffe          BL       OV5640_WriteReg
;;;329            break;
0001a8  e032              B        |L2.528|
;;;330    
;;;331         case 4:   //Home 室内
;;;332            OV5640_WriteReg(0x3212, 0x03); // start group 3
0001aa  2103              MOVS     r1,#3
0001ac  f2432012          MOV      r0,#0x3212
0001b0  f7fffffe          BL       OV5640_WriteReg
;;;333            OV5640_WriteReg(0x3406, 0x01);
0001b4  2101              MOVS     r1,#1
0001b6  f2434006          MOV      r0,#0x3406
0001ba  f7fffffe          BL       OV5640_WriteReg
;;;334            OV5640_WriteReg(0x3400, 0x04);
0001be  2104              MOVS     r1,#4
0001c0  f44f5050          MOV      r0,#0x3400
0001c4  f7fffffe          BL       OV5640_WriteReg
;;;335            OV5640_WriteReg(0x3401, 0x10);
0001c8  2110              MOVS     r1,#0x10
0001ca  f2434001          MOV      r0,#0x3401
0001ce  f7fffffe          BL       OV5640_WriteReg
;;;336            OV5640_WriteReg(0x3402, 0x04);
0001d2  2104              MOVS     r1,#4
0001d4  f2434002          MOV      r0,#0x3402
0001d8  f7fffffe          BL       OV5640_WriteReg
;;;337            OV5640_WriteReg(0x3403, 0x00);
0001dc  2100              MOVS     r1,#0
0001de  f2434003          MOV      r0,#0x3403
0001e2  f7fffffe          BL       OV5640_WriteReg
;;;338            OV5640_WriteReg(0x3404, 0x08);
0001e6  2108              MOVS     r1,#8
0001e8  f2434004          MOV      r0,#0x3404
0001ec  f7fffffe          BL       OV5640_WriteReg
;;;339            OV5640_WriteReg(0x3405, 0x40);
0001f0  2140              MOVS     r1,#0x40
0001f2  f2434005          MOV      r0,#0x3405
0001f6  f7fffffe          BL       OV5640_WriteReg
;;;340            OV5640_WriteReg(0x3212, 0x13); // end group 3
0001fa  2113              MOVS     r1,#0x13
0001fc  f2432012          MOV      r0,#0x3212
000200  f7fffffe          BL       OV5640_WriteReg
;;;341            OV5640_WriteReg(0x3212, 0xa3); // lanuch group 3
000204  21a3              MOVS     r1,#0xa3
000206  f2432012          MOV      r0,#0x3212
00020a  f7fffffe          BL       OV5640_WriteReg
;;;342            break;
00020e  bf00              NOP      
                  |L2.528|
000210  bf00              NOP                            ;290
;;;343        }
;;;344    }
000212  bd10              POP      {r4,pc}
;;;345    
                          ENDP


                          AREA ||i.OV5640_ReadID||, CODE, READONLY, ALIGN=1

                  OV5640_ReadID PROC
;;;104    */
;;;105    uint16_t OV5640_ReadID(void)
000000  b510              PUSH     {r4,lr}
;;;106    {
;;;107        uint16_t sensor_ID=0;
000002  2400              MOVS     r4,#0
;;;108        /*读取寄存芯片ID*/
;;;109        sensor_ID=OV5640_ReadReg(OV5640_SENSOR_PIDH);
000004  f243000a          MOV      r0,#0x300a
000008  f7fffffe          BL       OV5640_ReadReg
00000c  4604              MOV      r4,r0
;;;110        /* Get the camera ID */
;;;111        return (sensor_ID);
00000e  4620              MOV      r0,r4
;;;112    }
000010  bd10              POP      {r4,pc}
;;;113    
                          ENDP


                          AREA ||i.OV5640_ReadReg||, CODE, READONLY, ALIGN=2

                  OV5640_ReadReg PROC
;;;525      */
;;;526    uint8_t OV5640_ReadReg(uint16_t Addr)
000000  b570              PUSH     {r4-r6,lr}
;;;527    {
000002  4605              MOV      r5,r0
;;;528    	uint32_t timeout = DCMI_TIMEOUT_MAX;
000004  f2427410          MOV      r4,#0x2710
;;;529    	uint8_t Data = 0;
000008  2600              MOVS     r6,#0
;;;530    
;;;531    	/* Generate the Start Condition */
;;;532    	I2C_GenerateSTART(CAMERA_I2C, ENABLE);
00000a  2101              MOVS     r1,#1
00000c  4851              LDR      r0,|L4.340|
00000e  f7fffffe          BL       I2C_GenerateSTART
;;;533    
;;;534    	/* Test on CAMERA_I2C EV5 and clear it */
;;;535    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
000012  bf00              NOP      
;;;536    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_MODE_SELECT))
000014  e005              B        |L4.34|
                  |L4.22|
;;;537    	{
;;;538    		/* If the timeout delay is exeeded, exit with error code */
;;;539    		if ((timeout--) == 0) return 0xFF;
000016  0020              MOVS     r0,r4
000018  f1a40401          SUB      r4,r4,#1
00001c  d101              BNE      |L4.34|
00001e  20ff              MOVS     r0,#0xff
                  |L4.32|
;;;540    	} 
;;;541      
;;;542    	/* Send DCMI selcted device slave Address for write */
;;;543    	I2C_Send7bitAddress(CAMERA_I2C, OV5640_DEVICE_ADDRESS, I2C_Direction_Transmitter);
;;;544     
;;;545    	/* Test on I2C1 EV6 and clear it */
;;;546    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;547    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED))
;;;548    	{
;;;549    		/* If the timeout delay is exeeded, exit with error code */
;;;550    		if ((timeout--) == 0) return 0xFF;
;;;551    	} 
;;;552    
;;;553    	/* Send I2C1 location address MSB */
;;;554    	I2C_SendData( CAMERA_I2C, (uint8_t)((Addr>>8) & 0xFF) );
;;;555    
;;;556    	/* Test on I2C1 EV8 and clear it */
;;;557    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;558    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;559    	{
;;;560    		/* If the timeout delay is exeeded, exit with error code */
;;;561    		if ((timeout--) == 0) return 0xFF;
;;;562    	} 
;;;563      
;;;564    	/* Clear AF flag if arised */
;;;565    	CAMERA_I2C->SR1 |= (uint16_t)0x0400; 
;;;566      
;;;567    //--------------------------------------------------------
;;;568    	/* Send I2C1 location address LSB */
;;;569    	I2C_SendData( CAMERA_I2C, (uint8_t)(Addr & 0xFF) );
;;;570    	/* Test on I2C1 EV8 and clear it */
;;;571    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;572    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;573    	{
;;;574    		/* If the timeout delay is exeeded, exit with error code */
;;;575    		if ((timeout--) == 0) return 0xFF;
;;;576    	} 
;;;577      
;;;578    	/* Clear AF flag if arised */
;;;579    	CAMERA_I2C->SR1 |= (uint16_t)0x0400;
;;;580    	//--------------------------------------------------------
;;;581    
;;;582    	/* Generate the Start Condition */
;;;583    	I2C_GenerateSTART(CAMERA_I2C, ENABLE);
;;;584      
;;;585    	/* Test on I2C1 EV6 and clear it */
;;;586    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;587    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_MODE_SELECT))
;;;588    	{
;;;589    		/* If the timeout delay is exeeded, exit with error code */
;;;590    		if ((timeout--) == 0) return 0xFF;
;;;591    	} 
;;;592      
;;;593    	/* Send DCMI selcted device slave Address for write */
;;;594    	I2C_Send7bitAddress(CAMERA_I2C, OV5640_DEVICE_ADDRESS, I2C_Direction_Receiver);
;;;595       
;;;596    	/* Test on I2C1 EV6 and clear it */
;;;597    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;598    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_RECEIVER_MODE_SELECTED))
;;;599    	{
;;;600    		/* If the timeout delay is exeeded, exit with error code */
;;;601    		if ((timeout--) == 0) return 0xFF;
;;;602    	}  
;;;603     
;;;604    	/* Prepare an NACK for the next data received */
;;;605    	I2C_AcknowledgeConfig(CAMERA_I2C, DISABLE);
;;;606    	
;;;607    	/* Test on I2C1 EV7 and clear it */
;;;608    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;609    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_RECEIVED))
;;;610    	{
;;;611    		/* If the timeout delay is exeeded, exit with error code */
;;;612    		if ((timeout--) == 0) return 0xFF;
;;;613    	}   
;;;614        
;;;615    	/* Prepare Stop after receiving data */
;;;616    	I2C_GenerateSTOP(CAMERA_I2C, ENABLE);
;;;617    
;;;618    	/* Receive the Data */
;;;619    	Data = I2C_ReceiveData(CAMERA_I2C);
;;;620    
;;;621    	/* return the read data */
;;;622    	return Data;
;;;623    }
000020  bd70              POP      {r4-r6,pc}
                  |L4.34|
000022  494d              LDR      r1,|L4.344|
000024  484b              LDR      r0,|L4.340|
000026  f7fffffe          BL       I2C_CheckEvent
00002a  2800              CMP      r0,#0                 ;536
00002c  d0f3              BEQ      |L4.22|
00002e  2200              MOVS     r2,#0                 ;543
000030  2178              MOVS     r1,#0x78              ;543
000032  4848              LDR      r0,|L4.340|
000034  f7fffffe          BL       I2C_Send7bitAddress
000038  f2427410          MOV      r4,#0x2710            ;546
00003c  e005              B        |L4.74|
                  |L4.62|
00003e  0020              MOVS     r0,r4                 ;550
000040  f1a40401          SUB      r4,r4,#1              ;550
000044  d101              BNE      |L4.74|
000046  20ff              MOVS     r0,#0xff              ;550
000048  e7ea              B        |L4.32|
                  |L4.74|
00004a  4944              LDR      r1,|L4.348|
00004c  4841              LDR      r0,|L4.340|
00004e  f7fffffe          BL       I2C_CheckEvent
000052  2800              CMP      r0,#0                 ;547
000054  d0f3              BEQ      |L4.62|
000056  0a29              LSRS     r1,r5,#8              ;554
000058  483e              LDR      r0,|L4.340|
00005a  f7fffffe          BL       I2C_SendData
00005e  f2427410          MOV      r4,#0x2710            ;557
000062  e005              B        |L4.112|
                  |L4.100|
000064  0020              MOVS     r0,r4                 ;561
000066  f1a40401          SUB      r4,r4,#1              ;561
00006a  d101              BNE      |L4.112|
00006c  20ff              MOVS     r0,#0xff              ;561
00006e  e7d7              B        |L4.32|
                  |L4.112|
000070  493a              LDR      r1,|L4.348|
000072  1c89              ADDS     r1,r1,#2              ;558
000074  4837              LDR      r0,|L4.340|
000076  f7fffffe          BL       I2C_CheckEvent
00007a  2800              CMP      r0,#0                 ;558
00007c  d0f2              BEQ      |L4.100|
00007e  4835              LDR      r0,|L4.340|
000080  3014              ADDS     r0,r0,#0x14           ;565
000082  8800              LDRH     r0,[r0,#0]            ;565
000084  f4406080          ORR      r0,r0,#0x400          ;565
000088  4932              LDR      r1,|L4.340|
00008a  3114              ADDS     r1,r1,#0x14           ;565
00008c  8008              STRH     r0,[r1,#0]            ;565
00008e  b2e9              UXTB     r1,r5                 ;569
000090  4830              LDR      r0,|L4.340|
000092  f7fffffe          BL       I2C_SendData
000096  f2427410          MOV      r4,#0x2710            ;571
00009a  e005              B        |L4.168|
                  |L4.156|
00009c  0020              MOVS     r0,r4                 ;575
00009e  f1a40401          SUB      r4,r4,#1              ;575
0000a2  d101              BNE      |L4.168|
0000a4  20ff              MOVS     r0,#0xff              ;575
0000a6  e7bb              B        |L4.32|
                  |L4.168|
0000a8  492c              LDR      r1,|L4.348|
0000aa  1c89              ADDS     r1,r1,#2              ;572
0000ac  4829              LDR      r0,|L4.340|
0000ae  f7fffffe          BL       I2C_CheckEvent
0000b2  2800              CMP      r0,#0                 ;572
0000b4  d0f2              BEQ      |L4.156|
0000b6  4827              LDR      r0,|L4.340|
0000b8  3014              ADDS     r0,r0,#0x14           ;579
0000ba  8800              LDRH     r0,[r0,#0]            ;579
0000bc  f4406080          ORR      r0,r0,#0x400          ;579
0000c0  4924              LDR      r1,|L4.340|
0000c2  3114              ADDS     r1,r1,#0x14           ;579
0000c4  8008              STRH     r0,[r1,#0]            ;579
0000c6  2101              MOVS     r1,#1                 ;583
0000c8  4822              LDR      r0,|L4.340|
0000ca  f7fffffe          BL       I2C_GenerateSTART
0000ce  f2427410          MOV      r4,#0x2710            ;586
0000d2  e005              B        |L4.224|
                  |L4.212|
0000d4  0020              MOVS     r0,r4                 ;590
0000d6  f1a40401          SUB      r4,r4,#1              ;590
0000da  d101              BNE      |L4.224|
0000dc  20ff              MOVS     r0,#0xff              ;590
0000de  e79f              B        |L4.32|
                  |L4.224|
0000e0  491d              LDR      r1,|L4.344|
0000e2  481c              LDR      r0,|L4.340|
0000e4  f7fffffe          BL       I2C_CheckEvent
0000e8  2800              CMP      r0,#0                 ;587
0000ea  d0f3              BEQ      |L4.212|
0000ec  2201              MOVS     r2,#1                 ;594
0000ee  2178              MOVS     r1,#0x78              ;594
0000f0  4818              LDR      r0,|L4.340|
0000f2  f7fffffe          BL       I2C_Send7bitAddress
0000f6  f2427410          MOV      r4,#0x2710            ;597
0000fa  e005              B        |L4.264|
                  |L4.252|
0000fc  0020              MOVS     r0,r4                 ;601
0000fe  f1a40401          SUB      r4,r4,#1              ;601
000102  d101              BNE      |L4.264|
000104  20ff              MOVS     r0,#0xff              ;601
000106  e78b              B        |L4.32|
                  |L4.264|
000108  4913              LDR      r1,|L4.344|
00010a  1c49              ADDS     r1,r1,#1              ;598
00010c  4811              LDR      r0,|L4.340|
00010e  f7fffffe          BL       I2C_CheckEvent
000112  2800              CMP      r0,#0                 ;598
000114  d0f2              BEQ      |L4.252|
000116  2100              MOVS     r1,#0                 ;605
000118  480e              LDR      r0,|L4.340|
00011a  f7fffffe          BL       I2C_AcknowledgeConfig
00011e  f2427410          MOV      r4,#0x2710            ;608
000122  e005              B        |L4.304|
                  |L4.292|
000124  0020              MOVS     r0,r4                 ;612
000126  f1a40401          SUB      r4,r4,#1              ;612
00012a  d101              BNE      |L4.304|
00012c  20ff              MOVS     r0,#0xff              ;612
00012e  e777              B        |L4.32|
                  |L4.304|
000130  4909              LDR      r1,|L4.344|
000132  313f              ADDS     r1,r1,#0x3f           ;609
000134  4807              LDR      r0,|L4.340|
000136  f7fffffe          BL       I2C_CheckEvent
00013a  2800              CMP      r0,#0                 ;609
00013c  d0f2              BEQ      |L4.292|
00013e  2101              MOVS     r1,#1                 ;616
000140  4804              LDR      r0,|L4.340|
000142  f7fffffe          BL       I2C_GenerateSTOP
000146  4803              LDR      r0,|L4.340|
000148  f7fffffe          BL       I2C_ReceiveData
00014c  4606              MOV      r6,r0                 ;619
00014e  4630              MOV      r0,r6                 ;622
000150  e766              B        |L4.32|
;;;624    
                          ENDP

000152  0000              DCW      0x0000
                  |L4.340|
                          DCD      0x40005400
                  |L4.344|
                          DCD      0x00030001
                  |L4.348|
                          DCD      0x00070082

                          AREA ||i.OV5640_Reset||, CODE, READONLY, ALIGN=1

                  OV5640_Reset PROC
;;;118    */
;;;119    void OV5640_Reset(void)
000000  b510              PUSH     {r4,lr}
;;;120    {
;;;121    	/*OV5640软件复位*/
;;;122      OV5640_WriteReg(0x3008, 0x80);
000002  2180              MOVS     r1,#0x80
000004  f2430008          MOV      r0,#0x3008
000008  f7fffffe          BL       OV5640_WriteReg
;;;123    }
00000c  bd10              POP      {r4,pc}
;;;124    
                          ENDP


                          AREA ||i.OV5640_SCCB_Init||, CODE, READONLY, ALIGN=2

                          REQUIRE _printf_pre_padding
                          REQUIRE _printf_percent
                          REQUIRE _printf_widthprec
                          REQUIRE _printf_d
                          REQUIRE _printf_x
                          REQUIRE _printf_s
                          REQUIRE _printf_int_dec
                          REQUIRE _printf_longlong_hex
                          REQUIRE _printf_str
                          REQUIRE _printf_str
                  OV5640_SCCB_Init PROC
;;;36     */
;;;37     OSStatus OV5640_SCCB_Init(ImageFormat_TypeDef ImageFormat)
000000  b5f0              PUSH     {r4-r7,lr}
;;;38     {
000002  b089              SUB      sp,sp,#0x24
000004  4604              MOV      r4,r0
;;;39         GPIO_InitTypeDef GPIO_InitStructure;
;;;40         I2C_InitTypeDef  I2C_InitStruct;
;;;41         uint16_t index;
;;;42         /****** Configures the I2C2 used for OV5640 camera module configuration *****/
;;;43         /* I2C2 clock enable */
;;;44         RCC_APB1PeriphClockCmd(CAMERA_I2C_CLK, ENABLE);
000006  2101              MOVS     r1,#1
000008  0548              LSLS     r0,r1,#21
00000a  f7fffffe          BL       RCC_APB1PeriphClockCmd
;;;45     
;;;46         /* GPIOB clock enable */
;;;47         RCC_AHB1PeriphClockCmd(CAMERA_I2C_SCL_GPIO_CLK|CAMERA_I2C_SDA_GPIO_CLK, ENABLE);
00000e  2101              MOVS     r1,#1
000010  2002              MOVS     r0,#2
000012  f7fffffe          BL       RCC_AHB1PeriphClockCmd
;;;48     
;;;49         /* Connect I2C2 pins to AF4 */
;;;50         GPIO_PinAFConfig(CAMERA_I2C_SCL_GPIO_PORT, CAMERA_I2C_SCL_SOURCE, CAMERA_I2C_SCL_AF);
000016  2204              MOVS     r2,#4
000018  2106              MOVS     r1,#6
00001a  4852              LDR      r0,|L6.356|
00001c  f7fffffe          BL       GPIO_PinAFConfig
;;;51     
;;;52         /* Configure I2C2 GPIOs */
;;;53         GPIO_InitStructure.GPIO_Pin = CAMERA_I2C_SCL_PIN ;
000020  2040              MOVS     r0,#0x40
000022  9007              STR      r0,[sp,#0x1c]
;;;54         GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
000024  2002              MOVS     r0,#2
000026  f88d0020          STRB     r0,[sp,#0x20]
;;;55         GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
00002a  2000              MOVS     r0,#0
00002c  f88d0021          STRB     r0,[sp,#0x21]
;;;56         GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
000030  2001              MOVS     r0,#1
000032  f88d0022          STRB     r0,[sp,#0x22]
;;;57         GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
000036  2000              MOVS     r0,#0
000038  f88d0023          STRB     r0,[sp,#0x23]
;;;58         GPIO_Init(CAMERA_I2C_SCL_GPIO_PORT, &GPIO_InitStructure);
00003c  a907              ADD      r1,sp,#0x1c
00003e  4849              LDR      r0,|L6.356|
000040  f7fffffe          BL       GPIO_Init
;;;59         GPIO_PinAFConfig(CAMERA_I2C_SCL_GPIO_PORT, CAMERA_I2C_SCL_SOURCE, CAMERA_I2C_SCL_AF);
000044  2204              MOVS     r2,#4
000046  2106              MOVS     r1,#6
000048  4846              LDR      r0,|L6.356|
00004a  f7fffffe          BL       GPIO_PinAFConfig
;;;60     
;;;61         GPIO_InitStructure.GPIO_Pin = CAMERA_I2C_SDA_PIN ;
00004e  2080              MOVS     r0,#0x80
000050  9007              STR      r0,[sp,#0x1c]
;;;62         GPIO_Init(CAMERA_I2C_SDA_GPIO_PORT, &GPIO_InitStructure);
000052  a907              ADD      r1,sp,#0x1c
000054  4843              LDR      r0,|L6.356|
000056  f7fffffe          BL       GPIO_Init
;;;63         GPIO_PinAFConfig(CAMERA_I2C_SDA_GPIO_PORT, CAMERA_I2C_SDA_SOURCE, CAMERA_I2C_SDA_AF);
00005a  2204              MOVS     r2,#4
00005c  2107              MOVS     r1,#7
00005e  4841              LDR      r0,|L6.356|
000060  f7fffffe          BL       GPIO_PinAFConfig
;;;64     
;;;65         /* Configure I2C2 */
;;;66         /* I2C DeInit */
;;;67         I2C_DeInit(CAMERA_I2C);
000064  4840              LDR      r0,|L6.360|
000066  f7fffffe          BL       I2C_DeInit
;;;68     
;;;69         /* Enable the I2C peripheral */
;;;70         I2C_Cmd(CAMERA_I2C, ENABLE);
00006a  2101              MOVS     r1,#1
00006c  483e              LDR      r0,|L6.360|
00006e  f7fffffe          BL       I2C_Cmd
;;;71     
;;;72         /* Set the I2C structure parameters */
;;;73         I2C_InitStruct.I2C_Mode = I2C_Mode_I2C;
000072  2000              MOVS     r0,#0
000074  f8ad0010          STRH     r0,[sp,#0x10]
;;;74         I2C_InitStruct.I2C_DutyCycle = I2C_DutyCycle_2;
000078  f64b70ff          MOV      r0,#0xbfff
00007c  f8ad0012          STRH     r0,[sp,#0x12]
;;;75         I2C_InitStruct.I2C_OwnAddress1 = 0xFE;
000080  20fe              MOVS     r0,#0xfe
000082  f8ad0014          STRH     r0,[sp,#0x14]
;;;76         I2C_InitStruct.I2C_Ack = I2C_Ack_Enable;
000086  f44f6080          MOV      r0,#0x400
00008a  f8ad0016          STRH     r0,[sp,#0x16]
;;;77         I2C_InitStruct.I2C_AcknowledgedAddress = I2C_AcknowledgedAddress_7bit;
00008e  0100              LSLS     r0,r0,#4
000090  f8ad0018          STRH     r0,[sp,#0x18]
;;;78         I2C_InitStruct.I2C_ClockSpeed = 200000;
000094  4835              LDR      r0,|L6.364|
000096  9003              STR      r0,[sp,#0xc]
;;;79     
;;;80         /* Initialize the I2C peripheral w/ selected parameters */
;;;81         I2C_Init(CAMERA_I2C, &I2C_InitStruct);
000098  a903              ADD      r1,sp,#0xc
00009a  4833              LDR      r0,|L6.360|
00009c  f7fffffe          BL       I2C_Init
;;;82         
;;;83         mico_thread_msleep(50);
0000a0  2032              MOVS     r0,#0x32
0000a2  f7fffffe          BL       msleep
;;;84         /* Prepare the camera to be configured */
;;;85         OV5640_Reset();
0000a6  f7fffffe          BL       OV5640_Reset
;;;86         
;;;87     
;;;88         index = OV5640_ReadID();
0000aa  f7fffffe          BL       OV5640_ReadID
0000ae  4605              MOV      r5,r0
;;;89         
;;;90         if (index != OV5640_ID)
0000b0  2d56              CMP      r5,#0x56
0000b2  d003              BEQ      |L6.188|
;;;91             return kGeneralErr;
0000b4  f04f30ff          MOV      r0,#0xffffffff
                  |L6.184|
;;;92         
;;;93         ov5640_SCCB_log("OV5640_ID:0x%x\n",index);
;;;94         
;;;95         OV5640_JPEGConfig(ImageFormat);
;;;96         ov5640_SCCB_log("OV5640_ImageFormat:%x\n",ImageFormat);
;;;97         OV5640_AUTO_FOCUS();
;;;98         return kNoErr;
;;;99     }
0000b8  b009              ADD      sp,sp,#0x24
0000ba  bdf0              POP      {r4-r7,pc}
                  |L6.188|
0000bc  bf00              NOP                            ;93
0000be  482c              LDR      r0,|L6.368|
0000c0  6800              LDR      r0,[r0,#0]            ;93  ; mico_debug_enabled
0000c2  b900              CBNZ     r0,|L6.198|
0000c4  e01f              B        |L6.262|
                  |L6.198|
0000c6  482b              LDR      r0,|L6.372|
0000c8  f7fffffe          BL       mico_rtos_lock_mutex
0000cc  215c              MOVS     r1,#0x5c              ;93
0000ce  a02a              ADR      r0,|L6.376|
0000d0  f7fffffe          BL       strrchr
0000d4  b128              CBZ      r0,|L6.226|
0000d6  215c              MOVS     r1,#0x5c              ;93
0000d8  a027              ADR      r0,|L6.376|
0000da  f7fffffe          BL       strrchr
0000de  1c40              ADDS     r0,r0,#1              ;93
0000e0  e000              B        |L6.228|
                  |L6.226|
0000e2  a025              ADR      r0,|L6.376|
                  |L6.228|
0000e4  4606              MOV      r6,r0                 ;93
0000e6  f7fffffe          BL       mico_get_time
0000ea  4607              MOV      r7,r0                 ;93
0000ec  205d              MOVS     r0,#0x5d              ;93
0000ee  4633              MOV      r3,r6                 ;93
0000f0  a22e              ADR      r2,|L6.428|
0000f2  4639              MOV      r1,r7                 ;93
0000f4  e9cd0500          STRD     r0,r5,[sp,#0]         ;93
0000f8  a02f              ADR      r0,|L6.440|
0000fa  f7fffffe          BL       __2printf
0000fe  481d              LDR      r0,|L6.372|
000100  f7fffffe          BL       mico_rtos_unlock_mutex
000104  bf00              NOP                            ;93
                  |L6.262|
000106  bf00              NOP                            ;93
000108  4620              MOV      r0,r4                 ;95
00010a  f7fffffe          BL       OV5640_JPEGConfig
00010e  bf00              NOP                            ;96
000110  4817              LDR      r0,|L6.368|
000112  6800              LDR      r0,[r0,#0]            ;96  ; mico_debug_enabled
000114  b900              CBNZ     r0,|L6.280|
000116  e01f              B        |L6.344|
                  |L6.280|
000118  4816              LDR      r0,|L6.372|
00011a  f7fffffe          BL       mico_rtos_lock_mutex
00011e  215c              MOVS     r1,#0x5c              ;96
000120  a015              ADR      r0,|L6.376|
000122  f7fffffe          BL       strrchr
000126  b128              CBZ      r0,|L6.308|
000128  215c              MOVS     r1,#0x5c              ;96
00012a  a013              ADR      r0,|L6.376|
00012c  f7fffffe          BL       strrchr
000130  1c40              ADDS     r0,r0,#1              ;96
000132  e000              B        |L6.310|
                  |L6.308|
000134  a010              ADR      r0,|L6.376|
                  |L6.310|
000136  4606              MOV      r6,r0                 ;96
000138  f7fffffe          BL       mico_get_time
00013c  4607              MOV      r7,r0                 ;96
00013e  2060              MOVS     r0,#0x60              ;96
000140  4633              MOV      r3,r6                 ;96
000142  a21a              ADR      r2,|L6.428|
000144  4639              MOV      r1,r7                 ;96
000146  e9cd0400          STRD     r0,r4,[sp,#0]         ;96
00014a  a024              ADR      r0,|L6.476|
00014c  f7fffffe          BL       __2printf
000150  4808              LDR      r0,|L6.372|
000152  f7fffffe          BL       mico_rtos_unlock_mutex
000156  bf00              NOP                            ;96
                  |L6.344|
000158  bf00              NOP                            ;96
00015a  f7fffffe          BL       OV5640_AUTO_FOCUS
00015e  2000              MOVS     r0,#0                 ;98
000160  e7aa              B        |L6.184|
;;;100    /**
                          ENDP

000162  0000              DCW      0x0000
                  |L6.356|
                          DCD      0x40020400
                  |L6.360|
                          DCD      0x40005400
                  |L6.364|
                          DCD      0x00030d40
                  |L6.368|
                          DCD      mico_debug_enabled
                  |L6.372|
                          DCD      stdio_tx_mutex
                  |L6.376|
000178  2e2e5c2e          DCB      "..\\..\\..\\..\\Platform\\Drivers\\ov5640\\ov5460_SCCB."
00017c  2e5c2e2e
000180  5c2e2e5c
000184  506c6174
000188  666f726d
00018c  5c447269
000190  76657273
000194  5c6f7635
000198  3634305c
00019c  6f763534
0001a0  36305f53
0001a4  4343422e
0001a8  6300              DCB      "c",0
0001aa  00                DCB      0
0001ab  00                DCB      0
                  |L6.428|
0001ac  6f763536          DCB      "ov5640_SCCB",0
0001b0  34305f53
0001b4  43434200
                  |L6.440|
0001b8  5b25645d          DCB      "[%d][%s: %s:%4d] OV5640_ID:0x%x\n\r\n",0
0001bc  5b25733a
0001c0  2025733a
0001c4  2534645d
0001c8  204f5635
0001cc  3634305f
0001d0  49443a30
0001d4  7825780a
0001d8  0d0a00  
0001db  00                DCB      0
                  |L6.476|
0001dc  5b25645d          DCB      "[%d][%s: %s:%4d] OV5640_ImageFormat:%x\n\r\n",0
0001e0  5b25733a
0001e4  2025733a
0001e8  2534645d
0001ec  204f5635
0001f0  3634305f
0001f4  496d6167
0001f8  65466f72
0001fc  6d61743a
000200  25780a0d
000204  0a00    
000206  00                DCB      0
000207  00                DCB      0

                          AREA ||i.OV5640_SpecialEffects||, CODE, READONLY, ALIGN=1

                  OV5640_SpecialEffects PROC
;;;350    */
;;;351    void OV5640_SpecialEffects(uint8_t mode)
000000  b510              PUSH     {r4,lr}
;;;352    {
000002  4604              MOV      r4,r0
;;;353        switch(mode)
000004  2c09              CMP      r4,#9
000006  d229              BCS      |L7.92|
000008  e8dff004          TBB      [pc,r4]
00000c  05294d71          DCB      0x05,0x29,0x4d,0x71
000010  95b9ddfd          DCB      0x95,0xb9,0xdd,0xfd
000014  fc00              DCB      0xfc,0x00
;;;354        {
;;;355    
;;;356         case 0:     //Normal (off) 正常
;;;357            OV5640_WriteReg(0x3212, 0x03); // start group 3
000016  2103              MOVS     r1,#3
000018  f2432012          MOV      r0,#0x3212
00001c  f7fffffe          BL       OV5640_WriteReg
;;;358            OV5640_WriteReg(0x5580, 0x06);
000020  2106              MOVS     r1,#6
000022  f44f40ab          MOV      r0,#0x5580
000026  f7fffffe          BL       OV5640_WriteReg
;;;359            OV5640_WriteReg(0x5583, 0x40); // sat U
00002a  2140              MOVS     r1,#0x40
00002c  f2455083          MOV      r0,#0x5583
000030  f7fffffe          BL       OV5640_WriteReg
;;;360            OV5640_WriteReg(0x5584, 0x10); // sat V
000034  2110              MOVS     r1,#0x10
000036  f2455084          MOV      r0,#0x5584
00003a  f7fffffe          BL       OV5640_WriteReg
;;;361            OV5640_WriteReg(0x5003, 0x08);
00003e  2108              MOVS     r1,#8
000040  f2450003          MOV      r0,#0x5003
000044  f7fffffe          BL       OV5640_WriteReg
;;;362            OV5640_WriteReg(0x3212, 0x13); // end group 3
000048  2113              MOVS     r1,#0x13
00004a  f2432012          MOV      r0,#0x3212
00004e  f7fffffe          BL       OV5640_WriteReg
;;;363            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
000052  21a3              MOVS     r1,#0xa3
000054  f2432012          MOV      r0,#0x3212
000058  f7fffffe          BL       OV5640_WriteReg
                  |L7.92|
;;;364            break;
00005c  e122              B        |L7.676|
;;;365    
;;;366         case 1:     //Blueish (cool light) 冷色
;;;367            OV5640_WriteReg(0x3212, 0x03); // start group 3
00005e  2103              MOVS     r1,#3
000060  f2432012          MOV      r0,#0x3212
000064  f7fffffe          BL       OV5640_WriteReg
;;;368            OV5640_WriteReg(0x5580, 0x1e);
000068  211e              MOVS     r1,#0x1e
00006a  f44f40ab          MOV      r0,#0x5580
00006e  f7fffffe          BL       OV5640_WriteReg
;;;369            OV5640_WriteReg(0x5583, 0xa0);
000072  21a0              MOVS     r1,#0xa0
000074  f2455083          MOV      r0,#0x5583
000078  f7fffffe          BL       OV5640_WriteReg
;;;370            OV5640_WriteReg(0x5584, 0x40);
00007c  2140              MOVS     r1,#0x40
00007e  f2455084          MOV      r0,#0x5584
000082  f7fffffe          BL       OV5640_WriteReg
;;;371            OV5640_WriteReg(0x5003, 0x08);
000086  2108              MOVS     r1,#8
000088  f2450003          MOV      r0,#0x5003
00008c  f7fffffe          BL       OV5640_WriteReg
;;;372            OV5640_WriteReg(0x3212, 0x13); // end group 3
000090  2113              MOVS     r1,#0x13
000092  f2432012          MOV      r0,#0x3212
000096  f7fffffe          BL       OV5640_WriteReg
;;;373            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
00009a  21a3              MOVS     r1,#0xa3
00009c  f2432012          MOV      r0,#0x3212
0000a0  f7fffffe          BL       OV5640_WriteReg
;;;374            break;
0000a4  e0fe              B        |L7.676|
;;;375    
;;;376         case 2:    //Redish (warm) 暖色
;;;377            OV5640_WriteReg(0x3212, 0x03); // start group 3
0000a6  2103              MOVS     r1,#3
0000a8  f2432012          MOV      r0,#0x3212
0000ac  f7fffffe          BL       OV5640_WriteReg
;;;378            OV5640_WriteReg(0x5580, 0x1e);
0000b0  211e              MOVS     r1,#0x1e
0000b2  f44f40ab          MOV      r0,#0x5580
0000b6  f7fffffe          BL       OV5640_WriteReg
;;;379            OV5640_WriteReg(0x5583, 0x80);
0000ba  2180              MOVS     r1,#0x80
0000bc  f2455083          MOV      r0,#0x5583
0000c0  f7fffffe          BL       OV5640_WriteReg
;;;380            OV5640_WriteReg(0x5584, 0xc0);
0000c4  21c0              MOVS     r1,#0xc0
0000c6  f2455084          MOV      r0,#0x5584
0000ca  f7fffffe          BL       OV5640_WriteReg
;;;381            OV5640_WriteReg(0x5003, 0x08);
0000ce  2108              MOVS     r1,#8
0000d0  f2450003          MOV      r0,#0x5003
0000d4  f7fffffe          BL       OV5640_WriteReg
;;;382            OV5640_WriteReg(0x3212, 0x13); // end group 3
0000d8  2113              MOVS     r1,#0x13
0000da  f2432012          MOV      r0,#0x3212
0000de  f7fffffe          BL       OV5640_WriteReg
;;;383            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
0000e2  21a3              MOVS     r1,#0xa3
0000e4  f2432012          MOV      r0,#0x3212
0000e8  f7fffffe          BL       OV5640_WriteReg
;;;384            break;
0000ec  e0da              B        |L7.676|
;;;385    
;;;386         case 3:   //Black and white 黑白
;;;387            OV5640_WriteReg(0x3212, 0x03); // start group 3
0000ee  2103              MOVS     r1,#3
0000f0  f2432012          MOV      r0,#0x3212
0000f4  f7fffffe          BL       OV5640_WriteReg
;;;388            OV5640_WriteReg(0x5580, 0x1e);
0000f8  211e              MOVS     r1,#0x1e
0000fa  f44f40ab          MOV      r0,#0x5580
0000fe  f7fffffe          BL       OV5640_WriteReg
;;;389            OV5640_WriteReg(0x5583, 0x80);
000102  2180              MOVS     r1,#0x80
000104  f2455083          MOV      r0,#0x5583
000108  f7fffffe          BL       OV5640_WriteReg
;;;390            OV5640_WriteReg(0x5584, 0x80);
00010c  2180              MOVS     r1,#0x80
00010e  f2455084          MOV      r0,#0x5584
000112  f7fffffe          BL       OV5640_WriteReg
;;;391            OV5640_WriteReg(0x5003, 0x08);
000116  2108              MOVS     r1,#8
000118  f2450003          MOV      r0,#0x5003
00011c  f7fffffe          BL       OV5640_WriteReg
;;;392            OV5640_WriteReg(0x3212, 0x13); // end group 3
000120  2113              MOVS     r1,#0x13
000122  f2432012          MOV      r0,#0x3212
000126  f7fffffe          BL       OV5640_WriteReg
;;;393            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
00012a  21a3              MOVS     r1,#0xa3
00012c  f2432012          MOV      r0,#0x3212
000130  f7fffffe          BL       OV5640_WriteReg
;;;394            break;
000134  e0b6              B        |L7.676|
;;;395    
;;;396         case 4:   //Sepia 泛黄        
;;;397            OV5640_WriteReg(0x3212, 0x03); // start group 3
000136  2103              MOVS     r1,#3
000138  f2432012          MOV      r0,#0x3212
00013c  f7fffffe          BL       OV5640_WriteReg
;;;398            OV5640_WriteReg(0x5580, 0x1e);
000140  211e              MOVS     r1,#0x1e
000142  f44f40ab          MOV      r0,#0x5580
000146  f7fffffe          BL       OV5640_WriteReg
;;;399            OV5640_WriteReg(0x5583, 0x40);
00014a  2140              MOVS     r1,#0x40
00014c  f2455083          MOV      r0,#0x5583
000150  f7fffffe          BL       OV5640_WriteReg
;;;400            OV5640_WriteReg(0x5584, 0xa0);
000154  21a0              MOVS     r1,#0xa0
000156  f2455084          MOV      r0,#0x5584
00015a  f7fffffe          BL       OV5640_WriteReg
;;;401            OV5640_WriteReg(0x5003, 0x08);
00015e  2108              MOVS     r1,#8
000160  f2450003          MOV      r0,#0x5003
000164  f7fffffe          BL       OV5640_WriteReg
;;;402            OV5640_WriteReg(0x3212, 0x13); // end group 3
000168  2113              MOVS     r1,#0x13
00016a  f2432012          MOV      r0,#0x3212
00016e  f7fffffe          BL       OV5640_WriteReg
;;;403            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
000172  21a3              MOVS     r1,#0xa3
000174  f2432012          MOV      r0,#0x3212
000178  f7fffffe          BL       OV5640_WriteReg
;;;404            break;
00017c  e092              B        |L7.676|
;;;405         
;;;406        case 5:   //Negative 反色     
;;;407            OV5640_WriteReg(0x3212, 0x03); // start group 3
00017e  2103              MOVS     r1,#3
000180  f2432012          MOV      r0,#0x3212
000184  f7fffffe          BL       OV5640_WriteReg
;;;408            OV5640_WriteReg(0x5580, 0x40);
000188  2140              MOVS     r1,#0x40
00018a  f44f40ab          MOV      r0,#0x5580
00018e  f7fffffe          BL       OV5640_WriteReg
;;;409            OV5640_WriteReg(0x5003, 0x08);
000192  2108              MOVS     r1,#8
000194  f2450003          MOV      r0,#0x5003
000198  f7fffffe          BL       OV5640_WriteReg
;;;410            OV5640_WriteReg(0x5583, 0x40); // sat U
00019c  2140              MOVS     r1,#0x40
00019e  f2455083          MOV      r0,#0x5583
0001a2  f7fffffe          BL       OV5640_WriteReg
;;;411            OV5640_WriteReg(0x5584, 0x10); // sat V
0001a6  2110              MOVS     r1,#0x10
0001a8  f2455084          MOV      r0,#0x5584
0001ac  f7fffffe          BL       OV5640_WriteReg
;;;412            OV5640_WriteReg(0x3212, 0x13); // end group 3
0001b0  2113              MOVS     r1,#0x13
0001b2  f2432012          MOV      r0,#0x3212
0001b6  f7fffffe          BL       OV5640_WriteReg
;;;413            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
0001ba  21a3              MOVS     r1,#0xa3
0001bc  f2432012          MOV      r0,#0x3212
0001c0  f7fffffe          BL       OV5640_WriteReg
;;;414            break;
0001c4  e06e              B        |L7.676|
;;;415    
;;;416        case 6:   //Greenish 偏绿    
;;;417            OV5640_WriteReg(0x3212, 0x03); // start group 3
0001c6  2103              MOVS     r1,#3
0001c8  f2432012          MOV      r0,#0x3212
0001cc  f7fffffe          BL       OV5640_WriteReg
;;;418            OV5640_WriteReg(0x5580, 0x1e);
0001d0  211e              MOVS     r1,#0x1e
0001d2  f44f40ab          MOV      r0,#0x5580
0001d6  f7fffffe          BL       OV5640_WriteReg
;;;419            OV5640_WriteReg(0x5583, 0x60);
0001da  2160              MOVS     r1,#0x60
0001dc  f2455083          MOV      r0,#0x5583
0001e0  f7fffffe          BL       OV5640_WriteReg
;;;420            OV5640_WriteReg(0x5584, 0x60);
0001e4  2160              MOVS     r1,#0x60
0001e6  f2455084          MOV      r0,#0x5584
0001ea  f7fffffe          BL       OV5640_WriteReg
;;;421            OV5640_WriteReg(0x5003, 0x08);
0001ee  2108              MOVS     r1,#8
0001f0  f2450003          MOV      r0,#0x5003
0001f4  f7fffffe          BL       OV5640_WriteReg
;;;422            OV5640_WriteReg(0x3212, 0x13); // end group 3
0001f8  2113              MOVS     r1,#0x13
0001fa  f2432012          MOV      r0,#0x3212
0001fe  f7fffffe          BL       OV5640_WriteReg
;;;423            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
000202  e001              B        |L7.520|
000204  e02a              B        |L7.604|
000206  e005              B        |L7.532|
                  |L7.520|
000208  21a3              MOVS     r1,#0xa3
00020a  f2432012          MOV      r0,#0x3212
00020e  f7fffffe          BL       OV5640_WriteReg
;;;424            break;
000212  e047              B        |L7.676|
                  |L7.532|
;;;425    
;;;426        case 7:   //Overexposure 过曝      
;;;427            OV5640_WriteReg(0x3212, 0x03); // start group 3
000214  2103              MOVS     r1,#3
000216  f2432012          MOV      r0,#0x3212
00021a  f7fffffe          BL       OV5640_WriteReg
;;;428            OV5640_WriteReg(0x5580, 0x1e);
00021e  211e              MOVS     r1,#0x1e
000220  f44f40ab          MOV      r0,#0x5580
000224  f7fffffe          BL       OV5640_WriteReg
;;;429            OV5640_WriteReg(0x5583, 0xf0);
000228  21f0              MOVS     r1,#0xf0
00022a  f2455083          MOV      r0,#0x5583
00022e  f7fffffe          BL       OV5640_WriteReg
;;;430            OV5640_WriteReg(0x5584, 0xf0);
000232  21f0              MOVS     r1,#0xf0
000234  f2455084          MOV      r0,#0x5584
000238  f7fffffe          BL       OV5640_WriteReg
;;;431            OV5640_WriteReg(0x5003, 0x08);
00023c  2108              MOVS     r1,#8
00023e  f2450003          MOV      r0,#0x5003
000242  f7fffffe          BL       OV5640_WriteReg
;;;432            OV5640_WriteReg(0x3212, 0x13); // end group 3
000246  2113              MOVS     r1,#0x13
000248  f2432012          MOV      r0,#0x3212
00024c  f7fffffe          BL       OV5640_WriteReg
;;;433            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
000250  21a3              MOVS     r1,#0xa3
000252  f2432012          MOV      r0,#0x3212
000256  f7fffffe          BL       OV5640_WriteReg
;;;434            break;
00025a  e023              B        |L7.676|
                  |L7.604|
;;;435    
;;;436        case 8:   //Solarize 正负片叠加     
;;;437            OV5640_WriteReg(0x3212, 0x03); // start group 3
00025c  2103              MOVS     r1,#3
00025e  f2432012          MOV      r0,#0x3212
000262  f7fffffe          BL       OV5640_WriteReg
;;;438            OV5640_WriteReg(0x5580, 0x06);
000266  2106              MOVS     r1,#6
000268  f44f40ab          MOV      r0,#0x5580
00026c  f7fffffe          BL       OV5640_WriteReg
;;;439            OV5640_WriteReg(0x5583, 0x40); // sat U
000270  2140              MOVS     r1,#0x40
000272  f2455083          MOV      r0,#0x5583
000276  f7fffffe          BL       OV5640_WriteReg
;;;440            OV5640_WriteReg(0x5584, 0x10); // sat V
00027a  2110              MOVS     r1,#0x10
00027c  f2455084          MOV      r0,#0x5584
000280  f7fffffe          BL       OV5640_WriteReg
;;;441            OV5640_WriteReg(0x5003, 0x09);
000284  2109              MOVS     r1,#9
000286  f2450003          MOV      r0,#0x5003
00028a  f7fffffe          BL       OV5640_WriteReg
;;;442            OV5640_WriteReg(0x3212, 0x13); // end group 3
00028e  2113              MOVS     r1,#0x13
000290  f2432012          MOV      r0,#0x3212
000294  f7fffffe          BL       OV5640_WriteReg
;;;443            OV5640_WriteReg(0x3212, 0xa3); // launch group 3
000298  21a3              MOVS     r1,#0xa3
00029a  f2432012          MOV      r0,#0x3212
00029e  f7fffffe          BL       OV5640_WriteReg
;;;444            break;
0002a2  bf00              NOP      
                  |L7.676|
0002a4  bf00              NOP                            ;364
;;;445        }
;;;446    }
0002a6  bd10              POP      {r4,pc}
;;;447    
                          ENDP


                          AREA ||i.OV5640_WriteFW||, CODE, READONLY, ALIGN=2

                  OV5640_WriteFW PROC
;;;631      */
;;;632    uint8_t OV5640_WriteFW(uint8_t *pBuffer ,uint16_t BufferSize)
000000  e92d41f0          PUSH     {r4-r8,lr}
;;;633    {
000004  4605              MOV      r5,r0
000006  460e              MOV      r6,r1
;;;634    	uint32_t timeout = DCMI_TIMEOUT_MAX;
000008  f2427410          MOV      r4,#0x2710
;;;635        uint16_t Addr=0x8000;
00000c  f44f4700          MOV      r7,#0x8000
;;;636        
;;;637    	/* Generate the Start Condition */
;;;638    	I2C_GenerateSTART(CAMERA_I2C, ENABLE);
000010  2101              MOVS     r1,#1
000012  4837              LDR      r0,|L8.240|
000014  f7fffffe          BL       I2C_GenerateSTART
;;;639    
;;;640    	/* Test on CAMERA_I2C EV5 and clear it */
;;;641    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
000018  bf00              NOP      
;;;642    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_MODE_SELECT))
00001a  e006              B        |L8.42|
                  |L8.28|
;;;643    	{
;;;644    		/* If the timeout delay is exeeded, exit with error code */
;;;645    		if ((timeout--) == 0) return 0xFF;
00001c  0020              MOVS     r0,r4
00001e  f1a40401          SUB      r4,r4,#1
000022  d102              BNE      |L8.42|
000024  20ff              MOVS     r0,#0xff
                  |L8.38|
;;;646    	}
;;;647       
;;;648    	/* Send DCMI selcted device slave Address for write */
;;;649    	I2C_Send7bitAddress(CAMERA_I2C, OV5640_DEVICE_ADDRESS, I2C_Direction_Transmitter);
;;;650     
;;;651    	/* Test on CAMERA_I2C EV6 and clear it */
;;;652    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;653    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED))
;;;654    	{
;;;655    		/* If the timeout delay is exeeded, exit with error code */
;;;656    		if ((timeout--) == 0) return 0xFF;
;;;657    	}
;;;658     
;;;659    	/* Send CAMERA_I2C location address MSB */
;;;660    	I2C_SendData(CAMERA_I2C, (uint8_t)( (Addr >> 8) & 0xFF) );
;;;661    
;;;662    	/* Test on CAMERA_I2C EV8 and clear it */
;;;663    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;664    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;665    	{
;;;666    		/* If the timeout delay is exeeded, exit with error code */
;;;667    		if ((timeout--) == 0) return 0xFF;
;;;668    	}
;;;669    	//--------------------------------------------------------
;;;670    	/* Send I2C1 location address LSB */
;;;671    	I2C_SendData( CAMERA_I2C, (uint8_t)(Addr & 0xFF) );
;;;672    	/* Test on I2C1 EV8 and clear it */
;;;673    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;674    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;675    	{
;;;676    		/* If the timeout delay is exeeded, exit with error code */
;;;677    		if ((timeout--) == 0) return 0xFF;
;;;678    	} 
;;;679      
;;;680    	//--------------------------------------------------------
;;;681    /* While there is data to be written */
;;;682      while(BufferSize--)  
;;;683      {
;;;684        /* Send Data */
;;;685        I2C_SendData(CAMERA_I2C, *pBuffer);  
;;;686          
;;;687        /* Point to the next byte to be written */
;;;688        pBuffer++; 
;;;689        /* Test on CAMERA_I2C EV8 and clear it */
;;;690        timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;691        while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;692        {
;;;693            /* If the timeout delay is exeeded, exit with error code */
;;;694            if ((timeout--) == 0) return 0xFF;
;;;695        }  
;;;696       }
;;;697    	/* Send I2C1 STOP Condition */
;;;698    	I2C_GenerateSTOP(CAMERA_I2C, ENABLE);
;;;699      
;;;700    	/* If operation is OK, return 0 */
;;;701    	return 0;
;;;702    }
000026  e8bd81f0          POP      {r4-r8,pc}
                  |L8.42|
00002a  4932              LDR      r1,|L8.244|
00002c  4830              LDR      r0,|L8.240|
00002e  f7fffffe          BL       I2C_CheckEvent
000032  2800              CMP      r0,#0                 ;642
000034  d0f2              BEQ      |L8.28|
000036  2200              MOVS     r2,#0                 ;649
000038  2178              MOVS     r1,#0x78              ;649
00003a  482d              LDR      r0,|L8.240|
00003c  f7fffffe          BL       I2C_Send7bitAddress
000040  f2427410          MOV      r4,#0x2710            ;652
000044  e005              B        |L8.82|
                  |L8.70|
000046  0020              MOVS     r0,r4                 ;656
000048  f1a40401          SUB      r4,r4,#1              ;656
00004c  d101              BNE      |L8.82|
00004e  20ff              MOVS     r0,#0xff              ;656
000050  e7e9              B        |L8.38|
                  |L8.82|
000052  4929              LDR      r1,|L8.248|
000054  4826              LDR      r0,|L8.240|
000056  f7fffffe          BL       I2C_CheckEvent
00005a  2800              CMP      r0,#0                 ;653
00005c  d0f3              BEQ      |L8.70|
00005e  0a39              LSRS     r1,r7,#8              ;660
000060  4823              LDR      r0,|L8.240|
000062  f7fffffe          BL       I2C_SendData
000066  f2427410          MOV      r4,#0x2710            ;663
00006a  e005              B        |L8.120|
                  |L8.108|
00006c  0020              MOVS     r0,r4                 ;667
00006e  f1a40401          SUB      r4,r4,#1              ;667
000072  d101              BNE      |L8.120|
000074  20ff              MOVS     r0,#0xff              ;667
000076  e7d6              B        |L8.38|
                  |L8.120|
000078  491f              LDR      r1,|L8.248|
00007a  1c89              ADDS     r1,r1,#2              ;664
00007c  481c              LDR      r0,|L8.240|
00007e  f7fffffe          BL       I2C_CheckEvent
000082  2800              CMP      r0,#0                 ;664
000084  d0f2              BEQ      |L8.108|
000086  b2f9              UXTB     r1,r7                 ;671
000088  4819              LDR      r0,|L8.240|
00008a  f7fffffe          BL       I2C_SendData
00008e  f2427410          MOV      r4,#0x2710            ;673
000092  e005              B        |L8.160|
                  |L8.148|
000094  0020              MOVS     r0,r4                 ;677
000096  f1a40401          SUB      r4,r4,#1              ;677
00009a  d101              BNE      |L8.160|
00009c  20ff              MOVS     r0,#0xff              ;677
00009e  e7c2              B        |L8.38|
                  |L8.160|
0000a0  4915              LDR      r1,|L8.248|
0000a2  1c89              ADDS     r1,r1,#2              ;674
0000a4  4812              LDR      r0,|L8.240|
0000a6  f7fffffe          BL       I2C_CheckEvent
0000aa  2800              CMP      r0,#0                 ;674
0000ac  d0f2              BEQ      |L8.148|
0000ae  e014              B        |L8.218|
                  |L8.176|
0000b0  7829              LDRB     r1,[r5,#0]            ;685
0000b2  480f              LDR      r0,|L8.240|
0000b4  f7fffffe          BL       I2C_SendData
0000b8  1c6d              ADDS     r5,r5,#1              ;688
0000ba  f2427410          MOV      r4,#0x2710            ;690
0000be  e005              B        |L8.204|
                  |L8.192|
0000c0  0020              MOVS     r0,r4                 ;694
0000c2  f1a40401          SUB      r4,r4,#1              ;694
0000c6  d101              BNE      |L8.204|
0000c8  20ff              MOVS     r0,#0xff              ;694
0000ca  e7ac              B        |L8.38|
                  |L8.204|
0000cc  490a              LDR      r1,|L8.248|
0000ce  1c89              ADDS     r1,r1,#2              ;691
0000d0  4807              LDR      r0,|L8.240|
0000d2  f7fffffe          BL       I2C_CheckEvent
0000d6  2800              CMP      r0,#0                 ;691
0000d8  d0f2              BEQ      |L8.192|
                  |L8.218|
0000da  0030              MOVS     r0,r6                 ;682
0000dc  f1a60101          SUB      r1,r6,#1              ;682
0000e0  b28e              UXTH     r6,r1                 ;682
0000e2  d1e5              BNE      |L8.176|
0000e4  2101              MOVS     r1,#1                 ;698
0000e6  4802              LDR      r0,|L8.240|
0000e8  f7fffffe          BL       I2C_GenerateSTOP
0000ec  2000              MOVS     r0,#0                 ;701
0000ee  e79a              B        |L8.38|
;;;703    
                          ENDP

                  |L8.240|
                          DCD      0x40005400
                  |L8.244|
                          DCD      0x00030001
                  |L8.248|
                          DCD      0x00070082

                          AREA ||i.OV5640_WriteReg||, CODE, READONLY, ALIGN=2

                  OV5640_WriteReg PROC
;;;453      */
;;;454    uint8_t OV5640_WriteReg(uint16_t Addr, uint8_t Data)
000000  b570              PUSH     {r4-r6,lr}
;;;455    {
000002  4605              MOV      r5,r0
000004  460e              MOV      r6,r1
;;;456    	uint32_t timeout = DCMI_TIMEOUT_MAX;
000006  f2427410          MOV      r4,#0x2710
;;;457      
;;;458    	/* Generate the Start Condition */
;;;459    	I2C_GenerateSTART(CAMERA_I2C, ENABLE);
00000a  2101              MOVS     r1,#1
00000c  4833              LDR      r0,|L9.220|
00000e  f7fffffe          BL       I2C_GenerateSTART
;;;460    
;;;461    	/* Test on CAMERA_I2C EV5 and clear it */
;;;462    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
000012  bf00              NOP      
;;;463    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_MODE_SELECT))
000014  e005              B        |L9.34|
                  |L9.22|
;;;464    	{
;;;465    		/* If the timeout delay is exeeded, exit with error code */
;;;466    		if ((timeout--) == 0) return 0xFF;
000016  0020              MOVS     r0,r4
000018  f1a40401          SUB      r4,r4,#1
00001c  d101              BNE      |L9.34|
00001e  20ff              MOVS     r0,#0xff
                  |L9.32|
;;;467    	}
;;;468       
;;;469    	/* Send DCMI selcted device slave Address for write */
;;;470    	I2C_Send7bitAddress(CAMERA_I2C, OV5640_DEVICE_ADDRESS, I2C_Direction_Transmitter);
;;;471     
;;;472    	/* Test on CAMERA_I2C EV6 and clear it */
;;;473    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;474    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED))
;;;475    	{
;;;476    		/* If the timeout delay is exeeded, exit with error code */
;;;477    		if ((timeout--) == 0) return 0xFF;
;;;478    	}
;;;479     
;;;480    	/* Send CAMERA_I2C location address MSB */
;;;481    	I2C_SendData(CAMERA_I2C, (uint8_t)( (Addr >> 8) & 0xFF) );
;;;482    
;;;483    	/* Test on CAMERA_I2C EV8 and clear it */
;;;484    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;485    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;486    	{
;;;487    		/* If the timeout delay is exeeded, exit with error code */
;;;488    		if ((timeout--) == 0) return 0xFF;
;;;489    	}
;;;490    	//--------------------------------------------------------
;;;491    	/* Send I2C1 location address LSB */
;;;492    	I2C_SendData( CAMERA_I2C, (uint8_t)(Addr & 0xFF) );
;;;493    	/* Test on I2C1 EV8 and clear it */
;;;494    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;495    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;496    	{
;;;497    		/* If the timeout delay is exeeded, exit with error code */
;;;498    		if ((timeout--) == 0) return 0xFF;
;;;499    	} 
;;;500      
;;;501    
;;;502    	//--------------------------------------------------------
;;;503    
;;;504    	/* Send Data */
;;;505    	I2C_SendData(CAMERA_I2C, Data);    
;;;506    
;;;507    	/* Test on CAMERA_I2C EV8 and clear it */
;;;508    	timeout = DCMI_TIMEOUT_MAX; /* Initialize timeout value */
;;;509    	while(!I2C_CheckEvent(CAMERA_I2C, I2C_EVENT_MASTER_BYTE_TRANSMITTED))
;;;510    	{
;;;511    		/* If the timeout delay is exeeded, exit with error code */
;;;512    		if ((timeout--) == 0) return 0xFF;
;;;513    	}  
;;;514     
;;;515    	/* Send I2C1 STOP Condition */
;;;516    	I2C_GenerateSTOP(CAMERA_I2C, ENABLE);
;;;517      
;;;518    	/* If operation is OK, return 0 */
;;;519    	return 0;
;;;520    }
000020  bd70              POP      {r4-r6,pc}
                  |L9.34|
000022  492f              LDR      r1,|L9.224|
000024  482d              LDR      r0,|L9.220|
000026  f7fffffe          BL       I2C_CheckEvent
00002a  2800              CMP      r0,#0                 ;463
00002c  d0f3              BEQ      |L9.22|
00002e  2200              MOVS     r2,#0                 ;470
000030  2178              MOVS     r1,#0x78              ;470
000032  482a              LDR      r0,|L9.220|
000034  f7fffffe          BL       I2C_Send7bitAddress
000038  f2427410          MOV      r4,#0x2710            ;473
00003c  e005              B        |L9.74|
                  |L9.62|
00003e  0020              MOVS     r0,r4                 ;477
000040  f1a40401          SUB      r4,r4,#1              ;477
000044  d101              BNE      |L9.74|
000046  20ff              MOVS     r0,#0xff              ;477
000048  e7ea              B        |L9.32|
                  |L9.74|
00004a  4926              LDR      r1,|L9.228|
00004c  4823              LDR      r0,|L9.220|
00004e  f7fffffe          BL       I2C_CheckEvent
000052  2800              CMP      r0,#0                 ;474
000054  d0f3              BEQ      |L9.62|
000056  0a29              LSRS     r1,r5,#8              ;481
000058  4820              LDR      r0,|L9.220|
00005a  f7fffffe          BL       I2C_SendData
00005e  f2427410          MOV      r4,#0x2710            ;484
000062  e005              B        |L9.112|
                  |L9.100|
000064  0020              MOVS     r0,r4                 ;488
000066  f1a40401          SUB      r4,r4,#1              ;488
00006a  d101              BNE      |L9.112|
00006c  20ff              MOVS     r0,#0xff              ;488
00006e  e7d7              B        |L9.32|
                  |L9.112|
000070  491c              LDR      r1,|L9.228|
000072  1c89              ADDS     r1,r1,#2              ;485
000074  4819              LDR      r0,|L9.220|
000076  f7fffffe          BL       I2C_CheckEvent
00007a  2800              CMP      r0,#0                 ;485
00007c  d0f2              BEQ      |L9.100|
00007e  b2e9              UXTB     r1,r5                 ;492
000080  4816              LDR      r0,|L9.220|
000082  f7fffffe          BL       I2C_SendData
000086  f2427410          MOV      r4,#0x2710            ;494
00008a  e005              B        |L9.152|
                  |L9.140|
00008c  0020              MOVS     r0,r4                 ;498
00008e  f1a40401          SUB      r4,r4,#1              ;498
000092  d101              BNE      |L9.152|
000094  20ff              MOVS     r0,#0xff              ;498
000096  e7c3              B        |L9.32|
                  |L9.152|
000098  4912              LDR      r1,|L9.228|
00009a  1c89              ADDS     r1,r1,#2              ;495
00009c  480f              LDR      r0,|L9.220|
00009e  f7fffffe          BL       I2C_CheckEvent
0000a2  2800              CMP      r0,#0                 ;495
0000a4  d0f2              BEQ      |L9.140|
0000a6  4631              MOV      r1,r6                 ;505
0000a8  480c              LDR      r0,|L9.220|
0000aa  f7fffffe          BL       I2C_SendData
0000ae  f2427410          MOV      r4,#0x2710            ;508
0000b2  e005              B        |L9.192|
                  |L9.180|
0000b4  0020              MOVS     r0,r4                 ;512
0000b6  f1a40401          SUB      r4,r4,#1              ;512
0000ba  d101              BNE      |L9.192|
0000bc  20ff              MOVS     r0,#0xff              ;512
0000be  e7af              B        |L9.32|
                  |L9.192|
0000c0  4908              LDR      r1,|L9.228|
0000c2  1c89              ADDS     r1,r1,#2              ;509
0000c4  4805              LDR      r0,|L9.220|
0000c6  f7fffffe          BL       I2C_CheckEvent
0000ca  2800              CMP      r0,#0                 ;509
0000cc  d0f2              BEQ      |L9.180|
0000ce  2101              MOVS     r1,#1                 ;516
0000d0  4802              LDR      r0,|L9.220|
0000d2  f7fffffe          BL       I2C_GenerateSTOP
0000d6  2000              MOVS     r0,#0                 ;519
0000d8  e7a2              B        |L9.32|
;;;521    /**
                          ENDP

0000da  0000              DCW      0x0000
                  |L9.220|
                          DCD      0x40005400
                  |L9.224|
                          DCD      0x00030001
                  |L9.228|
                          DCD      0x00070082

                          AREA ||.bss||, DATA, NOINIT, ALIGN=0

                  sensor_reg
                          %        208

                          AREA ||.constdata||, DATA, READONLY, ALIGN=1

                  OV5640_160x120_JPEG
000000  30350021          DCW      0x3035,0x0021
000004  30360069          DCW      0x3036,0x0069
000008  3c070007          DCW      0x3c07,0x0007
00000c  38200046          DCW      0x3820,0x0046
000010  38210020          DCW      0x3821,0x0020
000014  38140031          DCW      0x3814,0x0031
000018  38150031          DCW      0x3815,0x0031
00001c  38000000          DCW      0x3800,0x0000
000020  38010000          DCW      0x3801,0x0000
000024  38020000          DCW      0x3802,0x0000
000028  38030004          DCW      0x3803,0x0004
00002c  3804000a          DCW      0x3804,0x000a
000030  3805003f          DCW      0x3805,0x003f
000034  38060007          DCW      0x3806,0x0007
000038  3807009b          DCW      0x3807,0x009b
00003c  43000030          DCW      0x4300,0x0030
000040  501f0000          DCW      0x501f,0x0000
000044  38080000          DCW      0x3808,0x0000
000048  380900a0          DCW      0x3809,0x00a0
00004c  380a0000          DCW      0x380a,0x0000
000050  380b0078          DCW      0x380b,0x0078
000054  380c0007          DCW      0x380c,0x0007
000058  380d0068          DCW      0x380d,0x0068
00005c  380e0003          DCW      0x380e,0x0003
000060  380f00d8          DCW      0x380f,0x00d8
000064  38130006          DCW      0x3813,0x0006
000068  36180000          DCW      0x3618,0x0000
00006c  36120029          DCW      0x3612,0x0029
000070  37090052          DCW      0x3709,0x0052
000074  370c0003          DCW      0x370c,0x0003
000078  40040002          DCW      0x4004,0x0002
00007c  30020000          DCW      0x3002,0x0000
000080  300600ff          DCW      0x3006,0x00ff
000084  47130003          DCW      0x4713,0x0003
000088  44070004          DCW      0x4407,0x0004
00008c  440a004e          DCW      0x440a,0x004e
000090  460b0035          DCW      0x460b,0x0035
000094  460c0022          DCW      0x460c,0x0022
000098  48370016          DCW      0x4837,0x0016
00009c  38240002          DCW      0x3824,0x0002
0000a0  500100a3          DCW      0x5001,0x00a3
0000a4  35030000          DCW      0x3503,0x0000
                  OV5640_320x240_JPEG
0000a8  30350021          DCW      0x3035,0x0021
0000ac  30360069          DCW      0x3036,0x0069
0000b0  3c070007          DCW      0x3c07,0x0007
0000b4  38200046          DCW      0x3820,0x0046
0000b8  38210020          DCW      0x3821,0x0020
0000bc  38140031          DCW      0x3814,0x0031
0000c0  38150031          DCW      0x3815,0x0031
0000c4  38000000          DCW      0x3800,0x0000
0000c8  38010000          DCW      0x3801,0x0000
0000cc  38020000          DCW      0x3802,0x0000
0000d0  38030004          DCW      0x3803,0x0004
0000d4  3804000a          DCW      0x3804,0x000a
0000d8  3805003f          DCW      0x3805,0x003f
0000dc  38060007          DCW      0x3806,0x0007
0000e0  3807009b          DCW      0x3807,0x009b
0000e4  43000030          DCW      0x4300,0x0030
0000e8  501f0000          DCW      0x501f,0x0000
0000ec  38080001          DCW      0x3808,0x0001
0000f0  38090040          DCW      0x3809,0x0040
0000f4  380a0000          DCW      0x380a,0x0000
0000f8  380b00f0          DCW      0x380b,0x00f0
0000fc  380c0007          DCW      0x380c,0x0007
000100  380d0068          DCW      0x380d,0x0068
000104  380e0003          DCW      0x380e,0x0003
000108  380f00d8          DCW      0x380f,0x00d8
00010c  38130006          DCW      0x3813,0x0006
000110  36180000          DCW      0x3618,0x0000
000114  36120029          DCW      0x3612,0x0029
000118  37090052          DCW      0x3709,0x0052
00011c  370c0003          DCW      0x370c,0x0003
000120  40040002          DCW      0x4004,0x0002
000124  30020000          DCW      0x3002,0x0000
000128  300600ff          DCW      0x3006,0x00ff
00012c  47130003          DCW      0x4713,0x0003
000130  44070004          DCW      0x4407,0x0004
000134  440a004e          DCW      0x440a,0x004e
000138  460b0035          DCW      0x460b,0x0035
00013c  460c0022          DCW      0x460c,0x0022
000140  48370016          DCW      0x4837,0x0016
000144  38240002          DCW      0x3824,0x0002
000148  500100a3          DCW      0x5001,0x00a3
00014c  35030000          DCW      0x3503,0x0000
                  OV5640_640x480_JPEG
000150  30350021          DCW      0x3035,0x0021
000154  30360069          DCW      0x3036,0x0069
000158  3c070007          DCW      0x3c07,0x0007
00015c  38200046          DCW      0x3820,0x0046
000160  38210020          DCW      0x3821,0x0020
000164  38140031          DCW      0x3814,0x0031
000168  38150031          DCW      0x3815,0x0031
00016c  38000000          DCW      0x3800,0x0000
000170  38010000          DCW      0x3801,0x0000
000174  38020000          DCW      0x3802,0x0000
000178  38030004          DCW      0x3803,0x0004
00017c  3804000a          DCW      0x3804,0x000a
000180  3805003f          DCW      0x3805,0x003f
000184  38060007          DCW      0x3806,0x0007
000188  3807009b          DCW      0x3807,0x009b
00018c  43000030          DCW      0x4300,0x0030
000190  501f0000          DCW      0x501f,0x0000
000194  38080002          DCW      0x3808,0x0002
000198  38090080          DCW      0x3809,0x0080
00019c  380a0001          DCW      0x380a,0x0001
0001a0  380b00e0          DCW      0x380b,0x00e0
0001a4  380c0007          DCW      0x380c,0x0007
0001a8  380d0068          DCW      0x380d,0x0068
0001ac  380e0003          DCW      0x380e,0x0003
0001b0  380f00d8          DCW      0x380f,0x00d8
0001b4  38130006          DCW      0x3813,0x0006
0001b8  36180000          DCW      0x3618,0x0000
0001bc  36120029          DCW      0x3612,0x0029
0001c0  37090052          DCW      0x3709,0x0052
0001c4  370c0003          DCW      0x370c,0x0003
0001c8  40040002          DCW      0x4004,0x0002
0001cc  30020000          DCW      0x3002,0x0000
0001d0  300600ff          DCW      0x3006,0x00ff
0001d4  47130003          DCW      0x4713,0x0003
0001d8  44070004          DCW      0x4407,0x0004
0001dc  440a004e          DCW      0x440a,0x004e
0001e0  460b0035          DCW      0x460b,0x0035
0001e4  460c0022          DCW      0x460c,0x0022
0001e8  48370016          DCW      0x4837,0x0016
0001ec  38240002          DCW      0x3824,0x0002
0001f0  500100a3          DCW      0x5001,0x00a3
0001f4  35030000          DCW      0x3503,0x0000
                  OV5640_800x600_JPEG
0001f8  30350021          DCW      0x3035,0x0021
0001fc  30360069          DCW      0x3036,0x0069
000200  3c070007          DCW      0x3c07,0x0007
000204  38200046          DCW      0x3820,0x0046
000208  38210020          DCW      0x3821,0x0020
00020c  38140031          DCW      0x3814,0x0031
000210  38150031          DCW      0x3815,0x0031
000214  38000000          DCW      0x3800,0x0000
000218  38010000          DCW      0x3801,0x0000
00021c  38020000          DCW      0x3802,0x0000
000220  38030004          DCW      0x3803,0x0004
000224  3804000a          DCW      0x3804,0x000a
000228  3805003f          DCW      0x3805,0x003f
00022c  38060007          DCW      0x3806,0x0007
000230  3807009b          DCW      0x3807,0x009b
000234  43000030          DCW      0x4300,0x0030
000238  501f0000          DCW      0x501f,0x0000
00023c  38080003          DCW      0x3808,0x0003
000240  38090020          DCW      0x3809,0x0020
000244  380a0002          DCW      0x380a,0x0002
000248  380b0058          DCW      0x380b,0x0058
00024c  380c0007          DCW      0x380c,0x0007
000250  380d0068          DCW      0x380d,0x0068
000254  380e0003          DCW      0x380e,0x0003
000258  380f00d8          DCW      0x380f,0x00d8
00025c  38130006          DCW      0x3813,0x0006
000260  36180000          DCW      0x3618,0x0000
000264  36120029          DCW      0x3612,0x0029
000268  37090052          DCW      0x3709,0x0052
00026c  370c0003          DCW      0x370c,0x0003
000270  40040002          DCW      0x4004,0x0002
000274  30020000          DCW      0x3002,0x0000
000278  300600ff          DCW      0x3006,0x00ff
00027c  47130003          DCW      0x4713,0x0003
000280  44070004          DCW      0x4407,0x0004
000284  440a004e          DCW      0x440a,0x004e
000288  460b0035          DCW      0x460b,0x0035
00028c  460c0022          DCW      0x460c,0x0022
000290  48370016          DCW      0x4837,0x0016
000294  38240002          DCW      0x3824,0x0002
000298  500100a3          DCW      0x5001,0x00a3
00029c  35030000          DCW      0x3503,0x0000
                  OV5640_1024x768_JPEG
0002a0  30350021          DCW      0x3035,0x0021
0002a4  30360069          DCW      0x3036,0x0069
0002a8  3c070007          DCW      0x3c07,0x0007
0002ac  38200046          DCW      0x3820,0x0046
0002b0  38210020          DCW      0x3821,0x0020
0002b4  38140031          DCW      0x3814,0x0031
0002b8  38150031          DCW      0x3815,0x0031
0002bc  38000000          DCW      0x3800,0x0000
0002c0  38010000          DCW      0x3801,0x0000
0002c4  38020000          DCW      0x3802,0x0000
0002c8  38030004          DCW      0x3803,0x0004
0002cc  3804000a          DCW      0x3804,0x000a
0002d0  3805003f          DCW      0x3805,0x003f
0002d4  38060007          DCW      0x3806,0x0007
0002d8  3807009b          DCW      0x3807,0x009b
0002dc  43000030          DCW      0x4300,0x0030
0002e0  501f0000          DCW      0x501f,0x0000
0002e4  38080004          DCW      0x3808,0x0004
0002e8  38090000          DCW      0x3809,0x0000
0002ec  380a0003          DCW      0x380a,0x0003
0002f0  380b0000          DCW      0x380b,0x0000
0002f4  380c0007          DCW      0x380c,0x0007
0002f8  380d0068          DCW      0x380d,0x0068
0002fc  380e0003          DCW      0x380e,0x0003
000300  380f00d8          DCW      0x380f,0x00d8
000304  38130006          DCW      0x3813,0x0006
000308  36180000          DCW      0x3618,0x0000
00030c  36120029          DCW      0x3612,0x0029
000310  37090052          DCW      0x3709,0x0052
000314  370c0003          DCW      0x370c,0x0003
000318  40040002          DCW      0x4004,0x0002
00031c  30020000          DCW      0x3002,0x0000
000320  300600ff          DCW      0x3006,0x00ff
000324  47130003          DCW      0x4713,0x0003
000328  44070004          DCW      0x4407,0x0004
00032c  440a004e          DCW      0x440a,0x004e
000330  460b0035          DCW      0x460b,0x0035
000334  460c0022          DCW      0x460c,0x0022
000338  48370016          DCW      0x4837,0x0016
00033c  38240002          DCW      0x3824,0x0002
000340  500100a3          DCW      0x5001,0x00a3
000344  35030000          DCW      0x3503,0x0000
                  OV5640_1280x960_JPEG
000348  30350021          DCW      0x3035,0x0021
00034c  30360069          DCW      0x3036,0x0069
000350  3c070007          DCW      0x3c07,0x0007
000354  38200046          DCW      0x3820,0x0046
000358  38210020          DCW      0x3821,0x0020
00035c  38140031          DCW      0x3814,0x0031
000360  38150031          DCW      0x3815,0x0031
000364  38000000          DCW      0x3800,0x0000
000368  38010000          DCW      0x3801,0x0000
00036c  38020000          DCW      0x3802,0x0000
000370  38030004          DCW      0x3803,0x0004
000374  3804000a          DCW      0x3804,0x000a
000378  3805003f          DCW      0x3805,0x003f
00037c  38060007          DCW      0x3806,0x0007
000380  3807009b          DCW      0x3807,0x009b
000384  43000030          DCW      0x4300,0x0030
000388  501f0000          DCW      0x501f,0x0000
00038c  38080005          DCW      0x3808,0x0005
000390  38090000          DCW      0x3809,0x0000
000394  380a0003          DCW      0x380a,0x0003
000398  380b00c0          DCW      0x380b,0x00c0
00039c  380c0007          DCW      0x380c,0x0007
0003a0  380d0068          DCW      0x380d,0x0068
0003a4  380e0003          DCW      0x380e,0x0003
0003a8  380f00d8          DCW      0x380f,0x00d8
0003ac  38130006          DCW      0x3813,0x0006
0003b0  36180000          DCW      0x3618,0x0000
0003b4  36120029          DCW      0x3612,0x0029
0003b8  37090052          DCW      0x3709,0x0052
0003bc  370c0003          DCW      0x370c,0x0003
0003c0  40040002          DCW      0x4004,0x0002
0003c4  30020000          DCW      0x3002,0x0000
0003c8  300600ff          DCW      0x3006,0x00ff
0003cc  47130003          DCW      0x4713,0x0003
0003d0  44070004          DCW      0x4407,0x0004
0003d4  440a004e          DCW      0x440a,0x004e
0003d8  460b0035          DCW      0x460b,0x0035
0003dc  460c0022          DCW      0x460c,0x0022
0003e0  48370016          DCW      0x4837,0x0016
0003e4  38240002          DCW      0x3824,0x0002
0003e8  500100a3          DCW      0x5001,0x00a3
0003ec  35030000          DCW      0x3503,0x0000
                  OV5640_1600x1200_JPEG
0003f0  30350021          DCW      0x3035,0x0021
0003f4  30360069          DCW      0x3036,0x0069
0003f8  3c070007          DCW      0x3c07,0x0007
0003fc  38200046          DCW      0x3820,0x0046
000400  38210020          DCW      0x3821,0x0020
000404  38140011          DCW      0x3814,0x0011
000408  38150011          DCW      0x3815,0x0011
00040c  38000000          DCW      0x3800,0x0000
000410  38010000          DCW      0x3801,0x0000
000414  38020000          DCW      0x3802,0x0000
000418  38030000          DCW      0x3803,0x0000
00041c  3804000a          DCW      0x3804,0x000a
000420  3805003f          DCW      0x3805,0x003f
000424  38060007          DCW      0x3806,0x0007
000428  3807009f          DCW      0x3807,0x009f
00042c  43000030          DCW      0x4300,0x0030
000430  501f0000          DCW      0x501f,0x0000
000434  38080006          DCW      0x3808,0x0006
000438  38090040          DCW      0x3809,0x0040
00043c  380a0004          DCW      0x380a,0x0004
000440  380b00b0          DCW      0x380b,0x00b0
000444  380c000b          DCW      0x380c,0x000b
000448  380d001c          DCW      0x380d,0x001c
00044c  380e0007          DCW      0x380e,0x0007
000450  380f00b0          DCW      0x380f,0x00b0
000454  38130004          DCW      0x3813,0x0004
000458  36180004          DCW      0x3618,0x0004
00045c  3612002b          DCW      0x3612,0x002b
000460  37090012          DCW      0x3709,0x0012
000464  370c0000          DCW      0x370c,0x0000
000468  40040006          DCW      0x4004,0x0006
00046c  30020000          DCW      0x3002,0x0000
000470  300600ff          DCW      0x3006,0x00ff
000474  47130003          DCW      0x4713,0x0003
000478  44070001          DCW      0x4407,0x0001
00047c  460b0035          DCW      0x460b,0x0035
000480  460c0022          DCW      0x460c,0x0022
000484  48370016          DCW      0x4837,0x0016
000488  38240002          DCW      0x3824,0x0002
00048c  500100a3          DCW      0x5001,0x00a3
000490  35030000          DCW      0x3503,0x0000
                  OV5640_2048x1536_JPEG
000494  30350021          DCW      0x3035,0x0021
000498  30360069          DCW      0x3036,0x0069
00049c  3c070007          DCW      0x3c07,0x0007
0004a0  38200046          DCW      0x3820,0x0046
0004a4  38210020          DCW      0x3821,0x0020
0004a8  38140011          DCW      0x3814,0x0011
0004ac  38150011          DCW      0x3815,0x0011
0004b0  38000000          DCW      0x3800,0x0000
0004b4  38010000          DCW      0x3801,0x0000
0004b8  38020000          DCW      0x3802,0x0000
0004bc  38030000          DCW      0x3803,0x0000
0004c0  3804000a          DCW      0x3804,0x000a
0004c4  3805003f          DCW      0x3805,0x003f
0004c8  38060007          DCW      0x3806,0x0007
0004cc  3807009f          DCW      0x3807,0x009f
0004d0  43000030          DCW      0x4300,0x0030
0004d4  501f0000          DCW      0x501f,0x0000
0004d8  38080008          DCW      0x3808,0x0008
0004dc  38090000          DCW      0x3809,0x0000
0004e0  380a0006          DCW      0x380a,0x0006
0004e4  380b0000          DCW      0x380b,0x0000
0004e8  380c000b          DCW      0x380c,0x000b
0004ec  380d001c          DCW      0x380d,0x001c
0004f0  380e0007          DCW      0x380e,0x0007
0004f4  380f00b0          DCW      0x380f,0x00b0
0004f8  38130004          DCW      0x3813,0x0004
0004fc  36180004          DCW      0x3618,0x0004
000500  3612002b          DCW      0x3612,0x002b
000504  37090012          DCW      0x3709,0x0012
000508  370c0000          DCW      0x370c,0x0000
00050c  40040006          DCW      0x4004,0x0006
000510  30020000          DCW      0x3002,0x0000
000514  300600ff          DCW      0x3006,0x00ff
000518  47130003          DCW      0x4713,0x0003
00051c  44070001          DCW      0x4407,0x0001
000520  460b0035          DCW      0x460b,0x0035
000524  460c0022          DCW      0x460c,0x0022
000528  48370016          DCW      0x4837,0x0016
00052c  38240002          DCW      0x3824,0x0002
000530  500100a3          DCW      0x5001,0x00a3
000534  35030000          DCW      0x3503,0x0000
                  OV5640_2320x1740_JPEG
000538  30350021          DCW      0x3035,0x0021
00053c  30360069          DCW      0x3036,0x0069
000540  3c070007          DCW      0x3c07,0x0007
000544  38200046          DCW      0x3820,0x0046
000548  38210020          DCW      0x3821,0x0020
00054c  38140011          DCW      0x3814,0x0011
000550  38150011          DCW      0x3815,0x0011
000554  38000000          DCW      0x3800,0x0000
000558  38010000          DCW      0x3801,0x0000
00055c  38020000          DCW      0x3802,0x0000
000560  38030000          DCW      0x3803,0x0000
000564  3804000a          DCW      0x3804,0x000a
000568  3805003f          DCW      0x3805,0x003f
00056c  38060007          DCW      0x3806,0x0007
000570  3807009f          DCW      0x3807,0x009f
000574  43000030          DCW      0x4300,0x0030
000578  501f0000          DCW      0x501f,0x0000
00057c  38080009          DCW      0x3808,0x0009
000580  38090010          DCW      0x3809,0x0010
000584  380a0006          DCW      0x380a,0x0006
000588  380b00cc          DCW      0x380b,0x00cc
00058c  380c000b          DCW      0x380c,0x000b
000590  380d001c          DCW      0x380d,0x001c
000594  380e0007          DCW      0x380e,0x0007
000598  380f00b0          DCW      0x380f,0x00b0
00059c  38130004          DCW      0x3813,0x0004
0005a0  36180004          DCW      0x3618,0x0004
0005a4  3612002b          DCW      0x3612,0x002b
0005a8  37090012          DCW      0x3709,0x0012
0005ac  370c0000          DCW      0x370c,0x0000
0005b0  40040006          DCW      0x4004,0x0006
0005b4  30020000          DCW      0x3002,0x0000
0005b8  300600ff          DCW      0x3006,0x00ff
0005bc  47130003          DCW      0x4713,0x0003
0005c0  44070001          DCW      0x4407,0x0001
0005c4  460b0035          DCW      0x460b,0x0035
0005c8  460c0022          DCW      0x460c,0x0022
0005cc  48370016          DCW      0x4837,0x0016
0005d0  38240002          DCW      0x3824,0x0002
0005d4  500100a3          DCW      0x5001,0x00a3
0005d8  35030000          DCW      0x3503,0x0000
                  OV5640_2592x1944_JPEG
0005dc  30350021          DCW      0x3035,0x0021
0005e0  30360069          DCW      0x3036,0x0069
0005e4  3c070007          DCW      0x3c07,0x0007
0005e8  38200046          DCW      0x3820,0x0046
0005ec  38210020          DCW      0x3821,0x0020
0005f0  38140011          DCW      0x3814,0x0011
0005f4  38150011          DCW      0x3815,0x0011
0005f8  38000000          DCW      0x3800,0x0000
0005fc  38010000          DCW      0x3801,0x0000
000600  38020000          DCW      0x3802,0x0000
000604  38030000          DCW      0x3803,0x0000
000608  3804000a          DCW      0x3804,0x000a
00060c  3805003f          DCW      0x3805,0x003f
000610  38060007          DCW      0x3806,0x0007
000614  3807009f          DCW      0x3807,0x009f
000618  43000030          DCW      0x4300,0x0030
00061c  501f0000          DCW      0x501f,0x0000
000620  3808000a          DCW      0x3808,0x000a
000624  38090020          DCW      0x3809,0x0020
000628  380a0007          DCW      0x380a,0x0007
00062c  380b0098          DCW      0x380b,0x0098
000630  380c000b          DCW      0x380c,0x000b
000634  380d001c          DCW      0x380d,0x001c
000638  380e0007          DCW      0x380e,0x0007
00063c  380f00b0          DCW      0x380f,0x00b0
000640  38130004          DCW      0x3813,0x0004
000644  36180004          DCW      0x3618,0x0004
000648  3612002b          DCW      0x3612,0x002b
00064c  37090012          DCW      0x3709,0x0012
000650  370c0000          DCW      0x370c,0x0000
000654  40040006          DCW      0x4004,0x0006
000658  30020000          DCW      0x3002,0x0000
00065c  300600ff          DCW      0x3006,0x00ff
000660  47130003          DCW      0x4713,0x0003
000664  44070001          DCW      0x4407,0x0001
000668  460b0035          DCW      0x460b,0x0035
00066c  460c0022          DCW      0x460c,0x0022
000670  48370016          DCW      0x4837,0x0016
000674  38240002          DCW      0x3824,0x0002
000678  50010083          DCW      0x5001,0x0083
00067c  35030000          DCW      0x3503,0x0000
                  OV5640_JPEG_INIT
000680  31030011          DCW      0x3103,0x0011
000684  30080082          DCW      0x3008,0x0082
000688  31030003          DCW      0x3103,0x0003
00068c  301700ff          DCW      0x3017,0x00ff
000690  301800ff          DCW      0x3018,0x00ff
000694  3034001a          DCW      0x3034,0x001a
000698  30370013          DCW      0x3037,0x0013
00069c  31080001          DCW      0x3108,0x0001
0006a0  36300036          DCW      0x3630,0x0036
0006a4  3631000e          DCW      0x3631,0x000e
0006a8  363200e2          DCW      0x3632,0x00e2
0006ac  36330012          DCW      0x3633,0x0012
0006b0  362100e0          DCW      0x3621,0x00e0
0006b4  370400a0          DCW      0x3704,0x00a0
0006b8  3703005a          DCW      0x3703,0x005a
0006bc  37150078          DCW      0x3715,0x0078
0006c0  37170001          DCW      0x3717,0x0001
0006c4  370b0060          DCW      0x370b,0x0060
0006c8  3705001a          DCW      0x3705,0x001a
0006cc  39050002          DCW      0x3905,0x0002
0006d0  39060010          DCW      0x3906,0x0010
0006d4  3901000a          DCW      0x3901,0x000a
0006d8  37310012          DCW      0x3731,0x0012
0006dc  36000008          DCW      0x3600,0x0008
0006e0  36010033          DCW      0x3601,0x0033
0006e4  302d0060          DCW      0x302d,0x0060
0006e8  36200052          DCW      0x3620,0x0052
0006ec  371b0020          DCW      0x371b,0x0020
0006f0  471c0050          DCW      0x471c,0x0050
0006f4  3a130043          DCW      0x3a13,0x0043
0006f8  3a180000          DCW      0x3a18,0x0000
0006fc  3a1900f8          DCW      0x3a19,0x00f8
000700  36350013          DCW      0x3635,0x0013
000704  36360003          DCW      0x3636,0x0003
000708  36340040          DCW      0x3634,0x0040
00070c  36220001          DCW      0x3622,0x0001
000710  3c010034          DCW      0x3c01,0x0034
000714  3c040028          DCW      0x3c04,0x0028
000718  3c050098          DCW      0x3c05,0x0098
00071c  3c060000          DCW      0x3c06,0x0000
000720  3c070008          DCW      0x3c07,0x0008
000724  3c080000          DCW      0x3c08,0x0000
000728  3c09001c          DCW      0x3c09,0x001c
00072c  3c0a009c          DCW      0x3c0a,0x009c
000730  3c0b0040          DCW      0x3c0b,0x0040
000734  38100000          DCW      0x3810,0x0000
000738  38110010          DCW      0x3811,0x0010
00073c  38120000          DCW      0x3812,0x0000
000740  37080064          DCW      0x3708,0x0064
000744  40010002          DCW      0x4001,0x0002
000748  4005001a          DCW      0x4005,0x001a
00074c  30000000          DCW      0x3000,0x0000
000750  300400ff          DCW      0x3004,0x00ff
000754  300e0058          DCW      0x300e,0x0058
000758  302e0000          DCW      0x302e,0x0000
00075c  43000030          DCW      0x4300,0x0030
000760  501f0000          DCW      0x501f,0x0000
000764  440e0000          DCW      0x440e,0x0000
000768  500000a7          DCW      0x5000,0x00a7
00076c  3a0f0030          DCW      0x3a0f,0x0030
000770  3a100028          DCW      0x3a10,0x0028
000774  3a1b0030          DCW      0x3a1b,0x0030
000778  3a1e0026          DCW      0x3a1e,0x0026
00077c  3a110060          DCW      0x3a11,0x0060
000780  3a1f0014          DCW      0x3a1f,0x0014
000784  58000023          DCW      0x5800,0x0023
000788  58010014          DCW      0x5801,0x0014
00078c  5802000f          DCW      0x5802,0x000f
000790  5803000f          DCW      0x5803,0x000f
000794  58040012          DCW      0x5804,0x0012
000798  58050026          DCW      0x5805,0x0026
00079c  5806000c          DCW      0x5806,0x000c
0007a0  58070008          DCW      0x5807,0x0008
0007a4  58080005          DCW      0x5808,0x0005
0007a8  58090005          DCW      0x5809,0x0005
0007ac  580a0008          DCW      0x580a,0x0008
0007b0  580b000d          DCW      0x580b,0x000d
0007b4  580c0008          DCW      0x580c,0x0008
0007b8  580d0003          DCW      0x580d,0x0003
0007bc  580e0000          DCW      0x580e,0x0000
0007c0  580f0000          DCW      0x580f,0x0000
0007c4  58100003          DCW      0x5810,0x0003
0007c8  58110009          DCW      0x5811,0x0009
0007cc  58120007          DCW      0x5812,0x0007
0007d0  58130003          DCW      0x5813,0x0003
0007d4  58140000          DCW      0x5814,0x0000
0007d8  58150001          DCW      0x5815,0x0001
0007dc  58160003          DCW      0x5816,0x0003
0007e0  58170008          DCW      0x5817,0x0008
0007e4  5818000d          DCW      0x5818,0x000d
0007e8  58190008          DCW      0x5819,0x0008
0007ec  581a0005          DCW      0x581a,0x0005
0007f0  581b0006          DCW      0x581b,0x0006
0007f4  581c0008          DCW      0x581c,0x0008
0007f8  581d000e          DCW      0x581d,0x000e
0007fc  581e0029          DCW      0x581e,0x0029
000800  581f0017          DCW      0x581f,0x0017
000804  58200011          DCW      0x5820,0x0011
000808  58210011          DCW      0x5821,0x0011
00080c  58220015          DCW      0x5822,0x0015
000810  58230028          DCW      0x5823,0x0028
000814  58240046          DCW      0x5824,0x0046
000818  58250026          DCW      0x5825,0x0026
00081c  58260008          DCW      0x5826,0x0008
000820  58270026          DCW      0x5827,0x0026
000824  58280064          DCW      0x5828,0x0064
000828  58290026          DCW      0x5829,0x0026
00082c  582a0024          DCW      0x582a,0x0024
000830  582b0022          DCW      0x582b,0x0022
000834  582c0024          DCW      0x582c,0x0024
000838  582d0024          DCW      0x582d,0x0024
00083c  582e0006          DCW      0x582e,0x0006
000840  582f0022          DCW      0x582f,0x0022
000844  58300040          DCW      0x5830,0x0040
000848  58310042          DCW      0x5831,0x0042
00084c  58320024          DCW      0x5832,0x0024
000850  58330026          DCW      0x5833,0x0026
000854  58340024          DCW      0x5834,0x0024
000858  58350022          DCW      0x5835,0x0022
00085c  58360022          DCW      0x5836,0x0022
000860  58370026          DCW      0x5837,0x0026
000864  58380044          DCW      0x5838,0x0044
000868  58390024          DCW      0x5839,0x0024
00086c  583a0026          DCW      0x583a,0x0026
000870  583b0028          DCW      0x583b,0x0028
000874  583c0042          DCW      0x583c,0x0042
000878  583d00ce          DCW      0x583d,0x00ce
00087c  518000ff          DCW      0x5180,0x00ff
000880  518100f2          DCW      0x5181,0x00f2
000884  51820000          DCW      0x5182,0x0000
000888  51830014          DCW      0x5183,0x0014
00088c  51840025          DCW      0x5184,0x0025
000890  51850024          DCW      0x5185,0x0024
000894  51860009          DCW      0x5186,0x0009
000898  51870009          DCW      0x5187,0x0009
00089c  51880009          DCW      0x5188,0x0009
0008a0  51890075          DCW      0x5189,0x0075
0008a4  518a0054          DCW      0x518a,0x0054
0008a8  518b00e0          DCW      0x518b,0x00e0
0008ac  518c00b2          DCW      0x518c,0x00b2
0008b0  518d0042          DCW      0x518d,0x0042
0008b4  518e003d          DCW      0x518e,0x003d
0008b8  518f0056          DCW      0x518f,0x0056
0008bc  51900046          DCW      0x5190,0x0046
0008c0  519100f8          DCW      0x5191,0x00f8
0008c4  51920004          DCW      0x5192,0x0004
0008c8  51930070          DCW      0x5193,0x0070
0008cc  519400f0          DCW      0x5194,0x00f0
0008d0  519500f0          DCW      0x5195,0x00f0
0008d4  51960003          DCW      0x5196,0x0003
0008d8  51970001          DCW      0x5197,0x0001
0008dc  51980004          DCW      0x5198,0x0004
0008e0  51990012          DCW      0x5199,0x0012
0008e4  519a0004          DCW      0x519a,0x0004
0008e8  519b0000          DCW      0x519b,0x0000
0008ec  519c0006          DCW      0x519c,0x0006
0008f0  519d0082          DCW      0x519d,0x0082
0008f4  519e0038          DCW      0x519e,0x0038
0008f8  54800001          DCW      0x5480,0x0001
0008fc  54810008          DCW      0x5481,0x0008
000900  54820014          DCW      0x5482,0x0014
000904  54830028          DCW      0x5483,0x0028
000908  54840051          DCW      0x5484,0x0051
00090c  54850065          DCW      0x5485,0x0065
000910  54860071          DCW      0x5486,0x0071
000914  5487007d          DCW      0x5487,0x007d
000918  54880087          DCW      0x5488,0x0087
00091c  54890091          DCW      0x5489,0x0091
000920  548a009a          DCW      0x548a,0x009a
000924  548b00aa          DCW      0x548b,0x00aa
000928  548c00b8          DCW      0x548c,0x00b8
00092c  548d00cd          DCW      0x548d,0x00cd
000930  548e00dd          DCW      0x548e,0x00dd
000934  548f00ea          DCW      0x548f,0x00ea
000938  5490001d          DCW      0x5490,0x001d
00093c  5381001e          DCW      0x5381,0x001e
000940  5382005b          DCW      0x5382,0x005b
000944  53830008          DCW      0x5383,0x0008
000948  5384000a          DCW      0x5384,0x000a
00094c  5385007e          DCW      0x5385,0x007e
000950  53860088          DCW      0x5386,0x0088
000954  5387007c          DCW      0x5387,0x007c
000958  5388006c          DCW      0x5388,0x006c
00095c  53890010          DCW      0x5389,0x0010
000960  538a0001          DCW      0x538a,0x0001
000964  538b0098          DCW      0x538b,0x0098
000968  55800006          DCW      0x5580,0x0006
00096c  55830040          DCW      0x5583,0x0040
000970  55840010          DCW      0x5584,0x0010
000974  55890010          DCW      0x5589,0x0010
000978  558a0000          DCW      0x558a,0x0000
00097c  558b00f8          DCW      0x558b,0x00f8
000980  501d0040          DCW      0x501d,0x0040
000984  53000008          DCW      0x5300,0x0008
000988  53010030          DCW      0x5301,0x0030
00098c  53020010          DCW      0x5302,0x0010
000990  53030000          DCW      0x5303,0x0000
000994  53040008          DCW      0x5304,0x0008
000998  53050030          DCW      0x5305,0x0030
00099c  53060008          DCW      0x5306,0x0008
0009a0  53070016          DCW      0x5307,0x0016
0009a4  53090008          DCW      0x5309,0x0008
0009a8  530a0030          DCW      0x530a,0x0030
0009ac  530b0004          DCW      0x530b,0x0004
0009b0  530c0006          DCW      0x530c,0x0006
0009b4  50250000          DCW      0x5025,0x0000
0009b8  47400021          DCW      0x4740,0x0021
0009bc  30080002          DCW      0x3008,0x0002

;*** Start embedded assembler ***

#line 1 "..\\..\\..\\..\\Platform\\Drivers\\ov5640\\ov5460_SCCB.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___13_ov5460_SCCB_c_bb35734e____REV16|
#line 114 "..\\..\\..\\..\\Platform\\Cortex-M4\\CMSIS\\core_cmInstr.h"
|__asm___13_ov5460_SCCB_c_bb35734e____REV16| PROC
#line 115

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___13_ov5460_SCCB_c_bb35734e____REVSH|
#line 128
|__asm___13_ov5460_SCCB_c_bb35734e____REVSH| PROC
#line 129

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
