⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extfun.h

📁 DSP+Mp3+USB+FAT12的所有源程序(C语言编写)。用TI的DSP写的U盘接口程序
💻 H
字号:
/*++

Copyright (c) 2004 GoldInfo Technology Co., Ltd.

Module Name:

        extfun.h

Abstract:

        Module related to function prototype declaration

Environment:

        ccs2.0 IDE

Revision History:

        01/5/2004      Mikal   created

--*/
//*****************************************************************************


extern  void INITIO_initialize(void);
extern  void DSP_Init_Set(void);
extern  void Init_GPIO(void);
extern  void Init_GPIO_Disable(void);



extern  void NandWrite_SET_CLE(USHORT NaFlash_Command);
extern  void NandWrite_SET_ALE(USHORT NaFlash_Adress);
extern  USHORT Nand_Read_Data(void);
extern  void Nand_Write_Data(USHORT NFalsh_Data);
extern  void Read_Nand_Flash_ID(void);
extern  void Write_NFlash_Sector(ULONG WR_NFlash_PhySector,USHORT WR_Datalen,PUSHORT WR_DataBuffer,USHORT wFlag);
extern  void Read_NFlash_Sector( ULONG RD_NFlash_PhySector,USHORT RD_Datalen,PUSHORT RD_DataBuffer,USHORT wFlag);

extern  void Erase_NFlash(ULONG lfy_PhySector) ;





/*******************************************************************/                                                                            
extern UWord16 D12_ReadChipI(void);
extern void D12_USB_ISR(void );
extern UWord16 D12_ReadInterruptRegister(void);



/*******************************************************************/
// interrupt server function for all interrrupt //
extern void D12_Bus_Reset(void);
extern void D12_Ep0_Txdone(void);
extern void D12_Ep0_rxdone(void);
extern void D12_Ep1_Txdone(void);
extern void D12_Ep1_Rxdone(void);
extern void D12_Main_Txdone(void);
extern void D12_Main_Rxdone(void);
extern void D12_DMA_Eot(void);




/*******************************************************************/
//setup packet function
extern void CTLSETUP_StandardRequest(void);
extern void CTLSETUP_ClassRequest(void);



/*******************************************************************/
extern void BULKOUT_Packet(void); 
extern void BULKIN_Packet(void); 




/*******************************************************************/
extern void FAT12_MBRDataSet(void) ;



⌨️ 快捷键说明

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