videocfg_c.c

来自「根据摄像头数据分析计算目标距离与方向 并驱动机械进行跟踪 采用合众达DEC643」· C语言 代码 · 共 60 行

C
60
字号
/*   Do *not* directly modify this file.  It was    *//*   generated by the Configuration Tool; any  *//*   changes risk being overwritten.                *//* INPUT video.cdb *//*  Include Header File  */#include "videocfg.h"#ifdef __cplusplus#pragma CODE_SECTION(".text:CSL_cfgInit")#else#pragma CODE_SECTION(CSL_cfgInit,".text:CSL_cfgInit")#endif#ifdef __cplusplus#pragma FUNC_EXT_CALLED()#else#pragma FUNC_EXT_CALLED(CSL_cfgInit)#endif/*  Config Structures */EMIFA_Config emifaCfg0 = {    0x0009207C,        /*  Global Control Reg. (GBLCTL)   */    0xFFFFFF23,        /*  CE0 Space Control Reg. (CECTL0)   */    0xFFFFFF23,        /*  CE1 Space Control Reg. (CECTL1)   */    0xFFFFFF23,        /*  CE2 Space Control Reg. (CECTL2)   */    0xFFFFFF23,        /*  CE3 Space Control Reg. (CECTL3)   */    0x0348F000,        /*  SDRAM Control Reg.(SDCTL)   */    0x005DC5DC,        /*  SDRAM Timing Reg.(SDTIM)   */    0x00175F3F,        /*  SDRAM Extended Reg.(SDEXT)   */    0x00000002,        /*  CE0 Space Secondary Control Reg. (CESEC0)  */    0x00000002,        /*  CE1 Space Secondary Control Reg. (CESEC1)  */    0x00000002,        /*  CE2 Space Secondary Control Reg. (CESEC2)  */    0x00000002         /*  CE3 Space Secondary Control Reg. (CESEC3)  */};TIMER_Config timerCfg0 = {    0x000002C0,        /*  Control Register (CTL)   */    0x000B70A3,        /*  Period Register (PRD)   */    0x00000000         /*  Counter Register (CNT)   */};/*  Handles  */TIMER_Handle hTimer1;TIMER_Handle hTimer2;/* *  ======== CSL_cfgInit() ========   */void CSL_cfgInit(){    hTimer1 = TIMER_open(TIMER_DEV1, TIMER_OPEN_RESET);    hTimer2 = TIMER_open(TIMER_DEV2, TIMER_OPEN_RESET);    TIMER_config(hTimer1, &timerCfg0);    TIMER_config(hTimer2, &timerCfg0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?