system_init.h

来自「dsp5509a USB 驱动 pc端程序 下面还有 dsp端程序」· C头文件 代码 · 共 32 行

H
32
字号
/*********************************************************************\
* DESCRIPTION... Function prototypes that defined in "system_init.c"
\*********************************************************************/
/**************************/
#define CLOCK_IAI             D14		/* Initialize after idle bit         */
#define CLOCK_IOB             D13		/* Initialize on break bit           */
#define CLOCK_TEST            D12		/* Reserved test bit                 */
#define CLOCK_PLL_MULT(x)     ((x)<<7)	/* PLL multiply value (D11->D7)      */
#define CLOCK_PLL_DIV(x)      ((x)<<5)	/* PLL divide value (D6,D5)          */
#define CLOCK_PLL_ENABLE      D4		/* PLL enable bit                    */
#define CLOCK_BYPASS_DIV      ((x)<<2)	/* Bypass-mode divide value (D3,D2)  */
#define CLOCK_BREAKLN         D1		/* Break-lock indicator              */
#define CLOCK_LOCK            D0		/* Lock-mode indicator               */
#define CLKMD_lz           (volatile ioport unsigned int *)0x1C00    /* Clock Mode Register */

/**************************/


Int16 System_Init();

Int16 EMIF_module_init();
Int16 GPIO_module_init();
Int16 Set_GPIO_Val(Int16 pin,Int16 val);
Int16 IRQ_module_init();
Int16 MCBSP_module_init();
Int16 PLL_module_init(Int16 MutiNum);
Int16 TIMER_module_init();
Int16 USB_module_init();
void FingerSensor_init();
Int16 User_var_init();
void Delayms(unsigned int T);

⌨️ 快捷键说明

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