91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 793KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-12
  • 語言: 其他
  • 標簽: DSP??ad7606??

資源簡介

DSP28335 AD7606 研旭 DSP28335 AD7606 研旭 DSP28335 AD7606 研旭

資源截圖

代碼片段和文件信息

//?TI?File?$Revision:?/main/3?$
//?Checkin?$Date:?March?16?2007???08:37:30?$
//###########################################################################
//
//?FILE: DSP2833x_CpuTimers.c
//
//?title: CPU?32-bit?Timers?Initialization?&?Support?Functions.
//
//?NOTES:???CpuTimer1?and?CpuTimer2?are?reserved?for?use?with?DSP?BIOS?and
//??????????other?realtime?operating?systems.
//
//??????????Do?not?use?these?two?timers?in?your?application?if?you?ever?plan
//??????????on?integrating?DSP-BIOS?or?another?realtime?OS.
//
//
//###########################################################################
//?$TI?Release:?DSP2833x?Header?Files?V1.01?$
//?$Release?Date:?September?26?2007?$
//###########################################################################

#include?“DSP2833x_Device.h“?????//?Headerfile?Include?File
#include?“DSP2833x_Examples.h“???//?Examples?Include?File

struct?CPUTIMER_VARS?CpuTimer0;

//?CpuTimer?1?and?CpuTimer2?are?used?by?DSP?BIOS?&?other?RTOS.?Comment?out?if?using?DSP?BIOS?or?other?RTOS.
struct?CPUTIMER_VARS?CpuTimer1;
struct?CPUTIMER_VARS?CpuTimer2;

//---------------------------------------------------------------------------
//?InitCpuTimers:
//---------------------------------------------------------------------------
//?This?function?initializes?all?three?CPU?timers?to?a?known?state.
//
void?InitCpuTimers(void)
{
????//?CPU?Timer?0
//?Initialize?address?pointers?to?respective?timer?registers:
CpuTimer0.RegsAddr?=?&CpuTimer0Regs;
//?Initialize?timer?period?to?maximum:
CpuTimer0Regs.PRD.all??=?0xFFFFFFFF;
//?Initialize?pre-scale?counter?to?divide?by?1?(SYSCLKOUT):
CpuTimer0Regs.TPR.all??=?0;
CpuTimer0Regs.TPRH.all?=?0;
//?Make?sure?timer?is?stopped:
CpuTimer0Regs.TCR.bit.TSS?=?1;
//?Reload?all?counter?register?with?period?value:
CpuTimer0Regs.TCR.bit.TRB?=?1;
//?Reset?interrupt?counters:
CpuTimer0.InterruptCount?=?0;


//?CpuTimer?1?and?CpuTimer2?are?reserved?for?DSP?BIOS?&?other?RTOS
//?Do?not?use?these?two?timers?if?you?ever?plan?on?integrating
//?DSP-BIOS?or?another?realtime?OS.
//
//?Initialize?address?pointers?to?respective?timer?registers:
CpuTimer1.RegsAddr?=?&CpuTimer1Regs;
CpuTimer2.RegsAddr?=?&CpuTimer2Regs;
//?Initialize?timer?period?to?maximum:
CpuTimer1Regs.PRD.all??=?0xFFFFFFFF;
CpuTimer2Regs.PRD.all??=?0xFFFFFFFF;
????//?Initialize?pre-scale?counter?to?divide?by?1?(SYSCLKOUT):
CpuTimer1Regs.TPR.all??=?0;
CpuTimer1Regs.TPRH.all?=?0;
CpuTimer2Regs.TPR.all??=?0;
CpuTimer2Regs.TPRH.all?=?0;
????//?Make?sure?timers?are?stopped:
CpuTimer1Regs.TCR.bit.TSS?=?1;
CpuTimer2Regs.TCR.bit.TSS?=?1;
//?Reload?all?counter?register?with?period?value:
CpuTimer1Regs.TCR.bit.TRB?=?1;
CpuTimer2Regs.TCR.bit.TRB?=?1;
//?Reset?interrupt?counters:
CpuTimer1.InterruptCount?=?0;
CpuTimer2.InterruptCount?=?0;

}

//---------------------------------------------------------------------------
//?ConfigCpuTimer:
//-------------

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-06-28?09:50??yanxu\
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\7606\
?????目錄???????????0??2018-06-28?09:50??yanxu\28335_AD7606\7606.CS_\
?????文件????????3072??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\FILE.CDX
?????文件????????1454??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\FILE.DBF
?????文件????????2198??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\FILE.FPT
?????文件??????322048??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\SYMBOL.CDX
?????文件??????237942??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\SYMBOL.DBF
?????文件??????409497??2014-11-28?14:29??yanxu\28335_AD7606\7606.CS_\SYMBOL.FPT
?????文件????????9397??2014-11-28?14:29??yanxu\28335_AD7606\7606.paf2
?????文件????????1604??2014-11-28?14:29??yanxu\28335_AD7606\7606.pjt
?????文件????????6241??2014-11-28?14:29??yanxu\28335_AD7606\7606.sbl
?????文件?????????328??2018-06-28?09:51??yanxu\28335_AD7606\7606\.ccsproject
?????文件???????29844??2018-06-28?09:51??yanxu\28335_AD7606\7606\.cproject
?????文件????????3165??2018-06-28?09:51??yanxu\28335_AD7606\7606\.project
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\7606\.settings\
?????文件??????????62??2018-06-28?09:51??yanxu\28335_AD7606\7606\.settings\org.eclipse.cdt.codan.core.prefs
?????文件?????????123??2018-06-28?09:51??yanxu\28335_AD7606\7606\.settings\org.eclipse.cdt.debug.core.prefs
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\7606\CMD\
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\7606\Debug\
?????文件?????????332??2018-06-28?09:51??yanxu\28335_AD7606\7606\project.log
?????目錄???????????0??2018-06-28?09:51??yanxu\28335_AD7606\7606\SRC\
?????文件?????????475??2014-11-28?14:29??yanxu\28335_AD7606\cc_build_Debug.log
?????目錄???????????0??2018-06-28?09:50??yanxu\28335_AD7606\CMD\
?????文件????????3947??2018-06-28?09:49??yanxu\28335_AD7606\CMD\28335_RAM_lnk.cmd
?????文件????????8438??2018-06-28?09:49??yanxu\28335_AD7606\CMD\DSP2833x_Headers_nonBIOS.cmd
?????文件????????4855??2018-06-28?09:49??yanxu\28335_AD7606\CMD\F28335.cmd
?????目錄???????????0??2018-06-28?09:50??yanxu\28335_AD7606\Debug\
?????文件????????1228??2014-11-28?14:29??yanxu\28335_AD7606\Debug.lkf
?????文件????????1112??2014-11-28?14:28??yanxu\28335_AD7606\Debug\DSP2833x_ADC_cal.obj
............此處省略65個文件信息

評論

共有 條評論