init.c

来自「基于EP7312的MP3播放器源代码,包括MCU和PC端代码.」· C语言 代码 · 共 46 行

C
46
字号
//****************************************************************************//// INIT.C - Initialize the player hardware and software environment.//// Copyright (c) 1999,2000,2001 Cirrus Logic, Inc.////****************************************************************************#include "globals.h"#include "../hwport.h"//****************************************************************************//// The following function initializes the hardware and software environment// expected by the Internet audio player application.  Some very basic// hardware initialization is already handled by vectors.s before it calls// this function.////****************************************************************************voidinitialize(void){    //    // Initialize the file system.    //    FSSetWriteScratch((unsigned char *)ulEndOfRAM);    FSInit();    FSSetWriteScratch(0);    //    // Initialize the output processing.    //    OutputInit();    //    // Initialize the user interface.    //    UIInit();    //    // Initialize the USB controller.    //#ifndef HwRegUSBCable    USBEnable();#endif}

⌨️ 快捷键说明

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