seedvmp642_esambioscfg_c.c

来自「本程序是在CCS开发环境下」· C语言 代码 · 共 42 行

C
42
字号
/*   Do *not* directly modify this file.  It was    *//*   generated by the Configuration Tool; any  *//*   changes risk being overwritten.                *//* INPUT SEEDVMP642_esambios.cdb *//*  Include Header File  */#include "SEEDVMP642_esambioscfg.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 */TIMER_Config timerCfg0 = {    0x00000200,        /*  Control Register (CTL)   */    0x00000F42,        /*  Period Register (PRD)   */    0x00000000         /*  Counter Register (CNT)   */};/*  Handles  */TIMER_Handle hTimer1;/* *  ======== CSL_cfgInit() ========   */void CSL_cfgInit(){    hTimer1 = TIMER_open(TIMER_DEV1, TIMER_OPEN_RESET);    TIMER_config(hTimer1, &timerCfg0);}

⌨️ 快捷键说明

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