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

  • 大小: 406KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-23
  • 語言: 其他
  • 標簽: DSP??

資源簡介

利用 TMS320F28335系列DSP,實現(xiàn)了基于液晶顯示屏12864的顯示工程

資源截圖

代碼片段和文件信息

//?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:
//-------------

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????329??2017-05-20?13:48??.ccsproject
?????文件???????17299??2017-05-20?09:57??.cdtbuild
?????文件???????17299??2017-05-20?13:46??.cdtbuild_initial
?????文件?????????553??2017-05-20?09:57??.cdtproject
?????文件???????28441??2017-05-20?13:48??.cproject
?????文件?????????838??2017-05-20?13:48??.project
?????文件?????????588??2017-05-20?13:46??.project_initial
?????目錄???????????0??2017-11-17?20:44??.settings\
?????文件??????????62??2017-05-20?13:46??.settings\org.eclipse.cdt.codan.core.prefs
?????文件?????????123??2017-05-20?13:48??.settings\org.eclipse.cdt.debug.core.prefs
?????文件?????????606??2017-05-20?13:46??.settings\org.eclipse.cdt.managedbuilder.core.prefs
?????文件?????????301??2017-05-20?13:48??.settings\org.eclipse.core.resources.prefs
?????文件????????3604??2017-05-20?09:57??cc_build_Debug.log
?????目錄???????????0??2017-11-17?20:44??CMD\
?????文件????????3947??2017-05-20?09:57??CMD\28335_RAM_lnk.cmd
?????文件????????8438??2017-05-20?09:57??CMD\DSP2833x_Headers_nonBIOS.cmd
?????文件????????4857??2017-05-20?09:57??CMD\F28335.cmd
?????文件????????1390??2017-05-20?09:57??Debug.lkf
?????目錄???????????0??2017-11-17?20:44??Debug\
?????文件?????????371??2017-06-17?16:49??Debug\ccsObjs.opt
?????目錄???????????0??2017-11-17?20:44??Debug\CMD\
?????文件???????????0??2017-05-20?09:57??Debug\CMD\ccsSrcs.opt
?????文件????????1806??2017-05-20?09:57??Debug\CMD\subdir.mk
?????文件????????1579??2017-06-17?16:49??Debug\CMD\subdir_rules.mk
?????文件?????????373??2017-06-17?16:49??Debug\CMD\subdir_vars.mk
?????文件????????1278??2017-05-20?14:53??Debug\DSP2833x_ADC_cal.obj
?????文件????????1562??2017-05-20?14:53??Debug\DSP2833x_CodeStartBranch.obj
?????文件????????5867??2017-05-20?14:53??Debug\DSP2833x_CpuTimers.obj
?????文件???????29438??2017-05-20?14:53??Debug\DSP2833x_DefaultIsr.obj
?????文件??????121440??2017-05-20?14:53??Debug\DSP2833x_GlobalVariableDefs.obj
?????文件????????5822??2017-05-20?14:53??Debug\DSP2833x_PieCtrl.obj
............此處省略77個文件信息

評論

共有 條評論