?? videocfg_c.c
字號:
/* 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -