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

📄 main.pp

📁 语音信号加密
💻 PP
📖 第 1 页 / 共 4 页
字号:


#line 1402 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"

  







 



















  







  






 



















  














 


















  











 





#line 1547 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"

#line 1559 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"












 














#line 1663 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"


  


















 
















  

  





  

  





  

  





  

  





  

  





  

  




 
  

  




 
  

  





  

  





  

  





  

  






  

  





  

  





  

  







#line 1829 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"

#line 1849 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"




  





 















 


#line 2171 "d:/program files/ti/c5500/bios/include/csl_chiphal.h"


 

#line 26 "d:/program files/ti/c5500/bios/include/_csl.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_datasz.h"





















 
#line 1 "d:/program files/ti/c5500/bios/include/csl_chipdat.h"


















 







  typedef struct {
    Uint16 ChipReserved;
  } CSL_ChipDataObj;

#line 24 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_icachdat.h"























 





  

  typedef struct {
    Uint16 reserved;
  } CSL_IcacheDataObj;

extern CSL_IcacheDataObj CSL_IcacheData;



#line 25 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_irqdat.h"




















 











typedef void (*IRQ_IsrPtr)(void);


typedef struct {
  IRQ_IsrPtr funcAddr;
  Uint32 ierMask;
  Uint32 cacheCtrl;
  Uint32 funcArg;
} _IRQ_Dispatch;


typedef struct {
  _IRQ_Dispatch *IrqDispatchTable;
  Uint16 *perRegs;
  Uint32 IrqIntTable[(32)];
  Uint32 IrqEventTable[(32)];
} CSL_IrqDataObj;

#line 118 "d:/program files/ti/c5500/bios/include/csl_irqdat.h"
 
extern CSL_IrqDataObj  CSL_IrqData;



#line 26 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_datdat.h"




















 








typedef struct {
  Uint16 DatReserved;
} CSL_DatDataObj;

#line 27 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_dmadat.h"






















 



#line 1 "d:/program files/ti/c5500/bios/include/csl_dmadatA.h"


















 



#line 31 "d:/program files/ti/c5500/bios/include/csl_dmadat.h"


 
typedef struct {
  Uint16 EventId;
  Uint16 DmaChaNum;
  Uint16 DmaGcrAddr;




  Uint16 DmaCsdpAddr;
  Uint16 DmaCcrAddr;
  Uint16 DmaCicrAddr;
  Uint16 DmaCsrAddr;
  Uint16 DmaCssalAddr;
  Uint16 DmaCssauAddr;
  Uint16 DmaCdsalAddr;
  Uint16 DmaCdsauAddr;
  Uint16 DmaCenAddr;
  Uint16 DmaCfnAddr;
#line 60 "d:/program files/ti/c5500/bios/include/csl_dmadat.h"
  Uint16 DmaCfiAddr;
  Uint16 DmaCeiAddr;

} DMA_PrivateObj;

typedef struct {
  DMA_PrivateObj DmaChan[6];
} CSL_DmaDataObj;

extern CSL_DmaDataObj CSL_DmaData;



#line 28 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_emifdat.h"























 





#line 71 "d:/program files/ti/c5500/bios/include/csl_emifdat.h"

     typedef struct {
       Uint16 EmifReserved;
     } CSL_EmifDataObj;






extern CSL_EmifDataObj CSL_EmifData;



#line 29 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_gpiodat.h"



















 





#line 1 "d:/program files/ti/c5500/bios/include/csl_gpio5509dat.h"



















 





#line 1 "d:/program files/ti/c5500/bios/include/_csl_pgpiodat.h"




















 






 


  typedef struct {
    Uint16 gpioReserved;
  } CSL_GpioDataObj;

extern CSL_GpioDataObj   CSL_GpioData;



#line 28 "d:/program files/ti/c5500/bios/include/csl_gpio5509dat.h"
#line 28 "d:/program files/ti/c5500/bios/include/csl_gpiodat.h"






#line 30 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_plldat.h"





















 








 typedef struct {
   Uint16 PllReserved;
 } CSL_PllDataObj;

extern CSL_PllDataObj CSL_PllData;



#line 31 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_mcbspdat.h"





















 











#line 324 "d:/program files/ti/c5500/bios/include/csl_mcbspdat.h"

typedef struct {
  Uint16 Port;
  Uint16 Drr1Addr;
  Uint16 Drr2Addr;
  Uint16 Dxr1Addr;
  Uint16 Dxr2Addr;
  Uint16 Spcr1Addr;
  Uint16 Spcr2Addr;
  Uint16 Rcr1Addr;
  Uint16 Rcr2Addr;
  Uint16 Xcr1Addr;
  Uint16 Xcr2Addr;
  Uint16 Srgr1Addr;
  Uint16 Srgr2Addr;
  Uint16 Mcr1Addr;
  Uint16 Mcr2Addr;
  Uint16 RceraAddr;
  Uint16 RcerbAddr;
  Uint16 RcercAddr;
  Uint16 RcerdAddr;
  Uint16 RcereAddr;
  Uint16 RcerfAddr;
  Uint16 RcergAddr;
  Uint16 RcerhAddr;
  Uint16 XceraAddr;
  Uint16 XcerbAddr;
  Uint16 XcercAddr;
  Uint16 XcerdAddr;
  Uint16 XcereAddr;
  Uint16 XcerfAddr;
  Uint16 XcergAddr;
  Uint16 XcerhAddr;
  Uint16 PcrAddr;
  Uint16 XmtEvent;
  Uint16 RcvEvent;
} MCBSP_PrivateObj;

typedef struct {
  MCBSP_PrivateObj mcbspPort[3];
} CSL_McbspDataObj;

extern CSL_McbspDataObj  CSL_McbspData;



#line 32 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_pwrdat.h"





















 








  typedef struct {
    Uint16 PwrReserved;
  } CSL_PwrDataObj;

extern CSL_PwrDataObj CSL_PwrData;



#line 33 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_timdat.h"




















 







#line 45 "d:/program files/ti/c5500/bios/include/csl_timdat.h"

 
typedef struct {
  Uint16  Timer;
  Uint16  EventId;
  Uint16  TcrAddr;
  Uint16  PrdAddr;
  Uint16  TimAddr;
  Uint16  PrscAddr;
} TIMER_PrivateObj;

typedef struct {
  TIMER_PrivateObj Timer[2];
} CSL_TimerDataObj;

extern CSL_TimerDataObj  CSL_TimerData;



#line 34 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_gptdat.h"



















 







 
typedef struct {
	volatile Uint16 gptpid1;
	volatile Uint16 gptpid2;
	volatile Uint16 gptemu;
	volatile Uint16 gptclk;
	volatile Uint16 gptgpint;
	volatile Uint16 gptgpen;
	volatile Uint16 gptgpdir;
	volatile Uint16 gptgpdat;
	volatile Uint16 gptcnt1;
	volatile Uint16 gptcnt2;
	volatile Uint16 gptcnt3;
	volatile Uint16 gptcnt4;
	volatile Uint16 gptprd1;
	volatile Uint16 gptprd2;
	volatile Uint16 gptprd3;
	volatile Uint16 gptprd4;
	volatile Uint16 gptctl1;
	volatile Uint16 gptctl2;
	volatile Uint16 gptgctl1;
} GPT_RegObj, *GPT_RegPtr;


typedef struct {
  Uint16  devNum;
  Uint16  EventId;
  GPT_RegPtr  regs;
} GPT_PrivateObj, *GPT_Handle;
 








#line 76 "d:/program files/ti/c5500/bios/include/csl_gptdat.h"

typedef struct {
  GPT_PrivateObj Gpt[2];
} CSL_GptDataObj;

extern CSL_GptDataObj CSL_GptData;



#line 35 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_bctdat.h"




















 






#line 62 "d:/program files/ti/c5500/bios/include/csl_bctdat.h"

  typedef struct {
    Uint16 BCT_reserved;
  }CSL_BctDataObj;
 


extern CSL_BctDataObj CSL_BctData;



#line 36 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_errdat.h"





















 







  typedef struct {
   Uint16 ErrReserved;
  } CSL_ErrDataObj;

extern CSL_ErrDataObj CSL_ErrData;




 
#line 37 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_mmcdat.h"




















 













 
typedef void (*MMC_CallBackPtr)(void);
typedef interrupt void(*MMC_IsrPtr)(void);


extern void interrupt MMC_dispatch0(void);
extern void interrupt MMC_dispatch1(void);



typedef struct {
   MMC_CallBackPtr isr[12];
} MMC_CallBackObj;

typedef struct {
  Uint32 mfgId;                     
  char productName[8];              
  Uint16 hwRev;                     
  Uint16 fwRev;                     
  Uint32 serialNumber;              
  Uint16 monthCode;                 
  Uint16 yearCode;                  
  Uint16 checksum;                  
} MMC_CardIdObj;

typedef struct {
  Uint16 csdStructure;              
  Uint16 mmcProt;                   
  Uint16 taac;                      
  Uint16 nsac;                      
  Uint16 tranSpeed;                 
  Uint16 ccc;                       
  Uint16 readBlLen;                 
  Uint16 readBlPartial;             
  Uint16 writeBlkMisalign;          
  Uint16 readBlkMisalign;           
  Uint16 dsrImp;                    
  Uint16 cSize;                     
  Uint16 vddRCurrMin;               
  Uint16 vddRCurrMax;               
  Uint16 vddWCurrMin;               
  Uint16 vddWCurrMax;               
  Uint16 cSizeMult;                 
  Uint16 eraseGrpSize;              
  Uint16 eraseGrpMult;              
  Uint16 wpGrpSize;                 
  Uint16 wpGrpEnable;                   
  Uint16 defaultEcc;                
  Uint16 r2wFactor;                 
  Uint16 writeBlLen;                
  Uint16 writeBlPartial;            
  Uint16 fileFmtGrp;                
  Uint16 copy;                      
  Uint16 permWriteProtect;          
  Uint16 tmpWriteProtect;           
  Uint16 fileFmt;                   
  Uint16 ecc;                       
  Uint16 crc;                       
} MMC_CardCsdObj;

typedef struct {
  Uint16 csdStructure;              
  Uint16 taac;                      
  Uint16 nsac;                      
  Uint16 tranSpeed;                 
  Uint16 ccc;                       
  Uint16 readBlLen;                 
  Uint16 readBlPartial;             
  Uint16 writeBlkMisalign;          
  Uint16 readBlkMisalign;           
  Uint16 dsrImp;                    
  Uint16 cSize;                     
  Uint16 vddRCurrMin;               
  Uint16 vddRCurrMax;               
  Uint16 vddWCurrMin;               
  Uint16 vddWCurrMax;               
  Uint16 cSizeMult;                 
  Uint16 eraseBlkEn;                
  Uint16 sectorSize;                
  Uint16 wpGrpSize;                 
  Uint16 wpGrpEnable;                   
  Uint16 r2wFactor;                 
  Uint16 writeBlLen;                
  Uint16 writeBlPartial;            
  Uint16 fileFmtGrp;                
  Uint16 copy;                      
  Uint16 permWriteProtect;          
  Uint16 tmpWriteProtect;           
  Uint16 fileFmt;                   
  Uint16 crc;                       
} SD_CardCsdObj;

typedef struct {
  Uint16 securitySysId;            
  Uint16 securitySysVers;          
  Uint16 maxLicenses;              
  Uint32 xStatus;                  
} MMC_CardXCsdObj;


typedef struct {
  Uint32 rca;                  

 
  Uint16 status;                
  Uint16 cardIndex;             
  Uint16 cardType;              
  Uint32 maxXfrRate;            
  Uint32 readAccessTime;        
  Uint32 cardCapacity;          
  Uint32 lastAddrRead;          
  Uint32 lastAddrWritten;       

  MMC_CardIdObj cid;            
  MMC_CardCsdObj *MMC_csd;          
  SD_CardCsdObj *SD_csd;          
 
  MMC_CardXCsdObj *xcsd;        
} MMC_CardObj;


typedef struct {
  Uint16 argh;                  
  Uint16 argl;                  
  Uint16 cmd;                   
} MMC_CmdObj;
             
typedef struct {
  Uint16 dmaEnable;             
  Uint16 dat3EdgeDetection;     
  Uint16 goIdle;                
  Uint16 enableClkPin;          
  Uint32 fdiv;                  
  Uint32 cdiv;                  
  Uint16 rspTimeout;            
  Uint16 dataTimeout;           
  Uint16 blockLen;              
} MMC_SetupNative, MMC_InitObj;

typedef struct {
  Uint16 rsp0;               
  Uint16 rsp1;              
  Uint16 rsp2;              
  Uint16 rsp3;              
  Uint16 rsp4;              
  Uint16 rsp5;              
  Uint16 rsp6;              
  Uint16 rsp7;              
} MMC_RspRegObj;

typedef struct {
  Uint16 mmcfclk;               
  Uint16 mmcctl;                
  Uint16 mmcclk;                
  Uint16 mmcst0;                
  Uint16 mmcst1;                
  Uint16 mmcie;                 
  Uint16 mmctor;                
  Uint16 mmctod;                
  Uint16 mmcblen;               
  Uint16 mmcnblk;               
  Uint16 mmcnblc;               
  Uint16 mmcdrr;                
  Uint16 mmcdxr;                
  Uint16 mmccmd;                
  Uint16 mmcargl;               
  Uint16 mmcargh;               
  MMC_RspRegObj mmcrsp;         
  Uint16 mmcdrsp;               
  Uint16 mmccidx;               
} MMC_MmcRegObj;


 typedef struct {
   Uint16 dev;                          
   ioport MMC_MmcRegObj *mmcRegs;       
   Uint16 nextIndex;                    
   Uint16 currentCard;                  
   Uint16 numCards;                     
   Uint16 numCardsActive;               
   Uint16 numCardsInactive;             
   MMC_CardObj *cards;                   
} MMC_StatusObj;




 

typedef struct {
  Uint16 mmcctl;
  Uint16 mmcfclk;
  Uint16 mmcclk;
  Uint16 mmcie;
  Uint16 mmctor;
  Uint16 mmctod;
  Uint16 mmcblen;
  Uint16 mmcnblk;
} MMC_Config;


typedef struct {
   Uint16 devNum;                       
   Uint16 eventId;                      
   Uint16 status;                       
   MMC_IsrPtr mmcDispatch;              
   MMC_MmcRegObj *mmcRegs;              
   Uint16 nextIndex;                    
   Uint16 currentCard;                  
   Uint16 numCards;                     
   Uint16 numCardsActive;               
   Uint16 numCardsInactive;             
   MMC_CardObj *cards;                  
   MMC_CallBackObj *callBackTbl;          
} MMC_ControllerObj, MMC_PrivateObj, *MMC_Handle;

typedef struct {
 MMC_ControllerObj mmc[2];
}CSL_MmcDataObj;

extern CSL_MmcDataObj CSL_MmcData;



#line 38 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_wdtimdat.h"





















 






#line 66 "d:/program files/ti/c5500/bios/include/csl_wdtimdat.h"

  typedef struct {
    Uint16 WDTIM_reserved;
  }CSL_WdtimDataObj;
 


  extern CSL_WdtimDataObj CSL_WdtimData;

#line 39 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_rtcdat.h"



















 



#line 1 "d:/program files/ti/c5500/bios/include/csl_time.h"



















 





 










typedef unsigned long time_t;






struct tm 
{
    int tm_sec;       
    int tm_min;       
    int tm_hour;      
    int tm_mday;      
    int tm_mon;       
    int tm_year;      
    int tm_wday;      
    int tm_yday;      
    int tm_isdst;     
};

 
 
 
typedef struct 
{
    short daylight;
    long  timezone;
    char  tzname[4];
    char  dstname[4];
} TZ;

extern  TZ _tz;

 
 
 
 time_t     RTC_time(time_t *_timer);     
 
 time_t     RTC_mktime(struct tm *_tptr);
 double     RTC_difftime(time_t _time1, time_t _time0);
       char      *RTC_ctime(const time_t *_timer);
 char      *RTC_asctime(const struct tm *_timeptr);
 struct tm *RTC_gmtime(const time_t *_timer);
 struct tm *RTC_localtime(const time_t *_timer);
 size_t     RTC_strftime(char *_out, size_t _maxsize, 
				 const char *_format,
				 const struct tm *_timeptr);

#line 93 "d:/program files/ti/c5500/bios/include/csl_time.h"

#line 114 "d:/program files/ti/c5500/bios/include/csl_time.h"
 
 


#line 26 "d:/program files/ti/c5500/bios/include/csl_rtcdat.h"

#line 48 "d:/program files/ti/c5500/bios/include/csl_rtcdat.h"

  

  typedef struct {
   char *day[7];
   char *mon[12];
   Uint16 mon_len[12];
   Uint16 mon_day[12];
   char *fday[7];
   char *fmon[12];
   TZ   _tz;
   Uint32 RTC_isrDispatchTable[5];
  } CSL_RtcDataObj;

extern CSL_RtcDataObj  CSL_RtcData;



#line 40 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_i2cdat.h"




















 





#line 35 "d:/program files/ti/c5500/bios/include/csl_i2cdat.h"

  

  typedef struct {
    Uint32 I2C_isrDispatchTable[6];
  } CSL_I2cDataObj;

extern CSL_I2cDataObj CSL_I2cData;



#line 41 "d:/program files/ti/c5500/bios/include/csl_datasz.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_uartdat.h"




















 





#line 36 "d:/program files/ti/c5500/bios/include/csl_uartdat.h"
    typedef struct {
      Uint32 UART_isrDispatchTable[7];
    } CSL_UartDataObj;

extern CSL_UartDataObj CSL_UartData;



#line 42 "d:/program files/ti/c5500/bios/include/csl_datasz.h"



#line 27 "d:/program files/ti/c5500/bios/include/_csl.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_csldat.h"




















 



#line 1 "d:/program files/ti/c5500/bios/include/csl_cslhal.h"




















 
#line 28 "d:/program files/ti/c5500/bios/include/csl_cslhal.h"


 

#line 26 "d:/program files/ti/c5500/bios/include/csl_csldat.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_datasz.h"





















 
#line 42 "d:/program files/ti/c5500/bios/include/csl_datasz.h"



#line 27 "d:/program files/ti/c5500/bios/include/csl_csldat.h"



 










#line 53 "d:/program files/ti/c5500/bios/include/csl_csldat.h"


 
 
 
#line 87 "d:/program files/ti/c5500/bios/include/csl_csldat.h"



 


 
 
 
typedef struct {
	Uint32 Reserved;
      Uint32 DataPtr;
      Uint32 DispatchTablePtr;
      char * Version;
      char * DateStamp;
      Uint16 OsPresent;
      Uint16 DmaAllocMask;
      Uint16 DmaGblAllocMask;
      Uint16 DmaGblRegMask;
      Uint16 DatAllocMask;
      Uint16 DatOpenFlag;
      Uint16 DatSubmitMask;
      Uint16 DatChaPriority;
      Uint16 McbspPortAllocMask;
      Uint16 MmcAllocMask;
      Uint16 TimerAllocMask;
      Uint16 GptAllocMask;
      Uint16 PllAllocMask;
      Uint16 UartAllocMask;
      Uint16 WdtAllocMask;
      Uint16 BctAllocMask;
      Uint16 GpioAllocMask[4];
      Uint16 ErrCnt;
      Uint32 ErrFunc;
} CSL_SysDataObj;



 
extern CSL_SysDataObj         CSL_SysData;






 

#line 28 "d:/program files/ti/c5500/bios/include/_csl.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_irq.h"















 



#line 1 "d:/program files/ti/c5500/bios/include/_csl.h"


















 


#line 32 "d:/program files/ti/c5500/bios/include/_csl.h"


 

#line 21 "d:/program files/ti/c5500/bios/include/csl_irq.h"
#line 1 "d:/program files/ti/c5500/bios/include/csl_irqhal.h"







⌨️ 快捷键说明

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