資源簡介
使用紅牛開發板,自己設計實現的示波器程序,可以用TFT顯示波形,計算頻率,幅值等。

代碼片段和文件信息
/******************************************************************************
?*?@file:????core_cm3.c
?*?@purpose:?CMSIS?Cortex-M3?Core?Peripheral?Access?layer?Source?File
?*?@version:?V1.20
?*?@date:????22.?May?2009
?*----------------------------------------------------------------------------
?*
?*?Copyright?(C)?2009?ARM?Limited.?All?rights?reserved.
?*
?*?ARM?Limited?(ARM)?is?supplying?this?software?for?use?with?Cortex-Mx?
?*?processor?based?microcontrollers.??This?file?can?be?freely?distributed?
?*?within?development?tools?that?are?supporting?such?ARM?based?processors.?
?*
?*?THIS?SOFTWARE?IS?PROVIDED?“AS?IS“.??NO?WARRANTIES?WHETHER?EXPRESS?IMPLIED
?*?OR?STATUTORY?INCLUDING?BUT?NOT?LIMITED?TO?IMPLIED?WARRANTIES?OF
?*?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE?APPLY?TO?THIS?SOFTWARE.
?*?ARM?SHALL?NOT?IN?ANY?CIRCUMSTANCES?BE?LIABLE?FOR?SPECIAL?INCIDENTAL?OR
?*?CONSEQUENTIAL?DAMAGES?FOR?ANY?REASON?WHATSOEVER.
?*
?******************************************************************************/
#include?
/*?define?compiler?specific?symbols?*/
#if?defined???(?__CC_ARM???)
??#define?__ASM????????????__asm???????????/*!??#define?__INLINE?????????__inline????????/*!
#elif?defined?(?__ICCARM__?)
??#define?__ASM???????????__asm????????????/*!??#define?__INLINE????????inline???????????/*!
#elif?defined?(??__GNUC__??)
??#define?__ASM?????????????__asm??????????/*!??#define?__INLINE??????????inline?????????/*!
#elif?defined???(??__TASKING__??)
??#define?__ASM????????????__asm???????????/*!??#define?__INLINE?????????inline??????????/*!
#endif
#if?defined?(?__CC_ARM???)?/*------------------RealView?Compiler?-----------------*/
/**
?*?@brief??Return?the?Process?Stack?Pointer
?*
?*?@param??none
?*?@return?uint32_t?ProcessStackPointer
?*
?*?Return?the?actual?process?stack?pointer
?*/
__ASM?uint32_t?__get_PSP(void)
{
??mrs?r0?psp
??bx?lr
}
/**
?*?@brief??Set?the?Process?Stack?Pointer
?*
?*?@param??uint32_t?Process?Stack?Pointer
?*?@return?none
?*
?*?Assign?the?value?ProcessStackPointer?to?the?MSP?
?*?(process?stack?pointer)?Cortex?processor?register
?*/
__ASM?void?__set_PSP(uint32_t?topOfProcStack)
{
??msr?psp?r0
??bx?lr
}
/**
?*?@brief??Return?the?Main?Stack?Pointer
?*
?*?@param??none
?*?@return?uint32_t?Main?Stack?Pointer
?*
?*?Return?the?current?value?of?the?MSP?(main?stack?pointer)
?*?Cortex?processor?register
?*/
__ASM?uint32_t?__get_MSP(void)
{
??mrs?r0?msp
??bx?lr
}
/**
?*?@brief??Set?the?Main?Stack?Pointer
?*
?*?@param??uint32_t?Main?Stack?Pointer
?*?@return?none
?*
?*?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????140756??2009-07-07?10:28??osciliator二代(顯示波形+電壓+頻率fft)\ADC.axf
?????文件??????65028??2009-07-07?10:28??osciliator二代(顯示波形+電壓+頻率fft)\ADC.htm
?????文件????????737??2009-07-07?10:28??osciliator二代(顯示波形+電壓+頻率fft)\ADC.lnp
?????文件??????78722??2009-07-07?10:28??osciliator二代(顯示波形+電壓+頻率fft)\ADC.map
?????文件???????3239??2010-10-27?17:26??osciliator二代(顯示波形+電壓+頻率fft)\ADC.opt.bak
?????文件????????158??2009-07-07?10:32??osciliator二代(顯示波形+電壓+頻率fft)\ADC.plg
?????文件????????479??2009-07-07?10:27??osciliator二代(顯示波形+電壓+頻率fft)\ADC.sct
?????文件???????2663??2009-07-07?10:28??osciliator二代(顯示波形+電壓+頻率fft)\ADC.tra
?????文件???????3302??2010-10-27?17:26??osciliator二代(顯示波形+電壓+頻率fft)\ADC.Uv2.bak
?????文件??????20249??2012-04-30?19:55??osciliator二代(顯示波形+電壓+頻率fft)\ADC.uvproj
?????文件??????16999??2011-07-21?08:03??osciliator二代(顯示波形+電壓+頻率fft)\ADC_ADC_test.dep
?????文件???????4604??2010-10-21?09:39??osciliator二代(顯示波形+電壓+頻率fft)\ADC_Opt.Bak
?????文件???????7905??2013-03-20?10:58??osciliator二代(顯示波形+電壓+頻率fft)\ADC_osciliator.dep
?????文件??????17000??2011-07-21?08:13??osciliator二代(顯示波形+電壓+頻率fft)\ADC_oscliator.dep
?????文件?????????70??2009-07-07?10:22??osciliator二代(顯示波形+電壓+頻率fft)\ADC_Target?1.dep
?????文件???????4412??2010-10-21?09:39??osciliator二代(顯示波形+電壓+頻率fft)\ADC_Uv2.Bak
????.......????180684??2012-04-30?19:55??osciliator二代(顯示波形+電壓+頻率fft)\ADC_uvopt.bak
?????文件??????20249??2012-03-26?23:21??osciliator二代(顯示波形+電壓+頻率fft)\ADC_uvproj.bak
?????文件????????497??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\Jli
?????文件?????196360??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\Jli
?????文件????????285??2011-07-20?19:01??osciliator二代(顯示波形+電壓+頻率fft)\Jli
?????文件?????144302??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\ADC.map
?????文件??????26630??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\cortexm3_macro.lst
?????文件??????91649??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\cr4_fft_1024_stm32.lst
?????文件??????46861??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\cr4_fft_256_stm32.lst
?????文件??????35092??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\cr4_fft_64_stm32.lst
?????文件??????12991??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\fir_stm32.lst
?????文件???????8895??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\iirarma_stm32.lst
?????文件???????7933??2012-04-30?19:18??osciliator二代(顯示波形+電壓+頻率fft)\List\PID_stm32.lst
?????文件??????53996??2010-10-27?15:42??osciliator二代(顯示波形+電壓+頻率fft)\List\startup_stm32f10x_hd.lst
............此處省略232個文件信息
- 上一篇:實習報告實習周記,鑒定表,報告打包
- 下一篇:3fga33.rar
評論
共有 條評論