找回密码
 注册
搜索
查看: 1410|回复: 0

[讨论] Camera 驱动问题

[复制链接]
发表于 2012-12-17 17:34:39 | 显示全部楼层 |阅读模式
哪位大侠搞个WINDOWS智能机的CAMERA,麻烦指点一下:
void ov5640::ov5640_Init(IMG_TYPE eSrcFmt, DWORD CamImgWidth, DWORD CamImgHeight, int eCSISDataLaneNum)
这个函数是否是Camera CPU部分的init?
MODULE_STATUS ov5640::InitSensor()
{
    DBGMSG(CAMC_FUNC, (_T("[%s] %s\r\n"), MODULE_NAME, _T(__FUNCTION__)));
    OutputDebugString(L"Sensor Driver........init Sensor\r\n");  //no here at all
    m_oCommIF->Open(CAMERA_WRITE_ADDRESS, IIC_CLOCK);
    DBGMSG(CAMC_FUNC, (_T("Write Init Command to Module\r\n")));
    m_oCommIF->WriteRegisterSeq(ov5640_init_reg);
    m_oCommIF->WriteRegisterSeq(ov5640_sleep_reg);
    m_oCommIF->WriteRegisterSeq(ov5640_wakeup_reg);

    m_oCommIF->Close();
   
    return MOD_STATUS_SUCCESS;
}
这部分是外挂CAMERA  I2C 的处理吗?但我得TRACE 显示没跑这一段啊!
本文来自:我爱研发网(52RD.com) - R&D大本营
详细出处:http://www.52rd.com/bbs/Post.asp?Action=new&BoardID=15
高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-23 11:49 , Processed in 0.050429 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表