資源簡介
基于STM32F107的兩路AD采樣,對數(shù)據(jù)進行采集后在串口顯示,方便調(diào)試。

代碼片段和文件信息
/**************************************************************************//**
?*?@file?????core_cm3.c
?*?@brief????CMSIS?Cortex-M3?Core?Peripheral?Access?layer?Source?File
?*?@version??V1.30
?*?@date?????30.?October?2009
?*
?*?@note
?*?Copyright?(C)?2009?ARM?Limited.?All?rights?reserved.
?*
?*?@par
?*?ARM?Limited?(ARM)?is?supplying?this?software?for?use?with?Cortex-M?
?*?processor?based?microcontrollers.??This?file?can?be?freely?distributed?
?*?within?development?tools?that?are?supporting?such?ARM?based?processors.?
?*
?*?@par
?*?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
/*?###################??Compiler?specific?Intrinsics??###########################?*/
#if?defined?(?__CC_ARM???)?/*------------------RealView?Compiler?-----------------*/
/*?ARM?armcc?specific?functions?*/
/**
?*?@brief??Return?the?Process?Stack?Pointer
?*
?*?@return?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??topOfProcStack??Process?Stack?Pointer
?*
?*?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
?*
?*?@return?Main?Stack?Pointer
?*
?*?Return?the?curren
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????17273??2010-06-07?10:25??AD_with_USART1_AC\CMSIS\core_cm3.c
?????文件??????85714??2011-02-09?14:59??AD_with_USART1_AC\CMSIS\core_cm3.h
?????文件?????633941??2011-03-10?10:51??AD_with_USART1_AC\CMSIS\stm32f10x.h
?????文件??????36557??2011-03-10?10:51??AD_with_USART1_AC\CMSIS\system_stm32f10x.c
?????文件???????2085??2011-03-10?10:51??AD_with_USART1_AC\CMSIS\system_stm32f10x.h
?????文件??????93267??2011-07-24?23:42??AD_with_USART1_AC\Listing\Lcd.map
?????文件??????50512??2011-07-24?23:42??AD_with_USART1_AC\Listing\startup_stm32f10x_hd.lst
?????文件???????3530??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件?????????96??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件??????10264??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件?????????19??2011-07-23?22:26??AD_with_USART1_AC\ob
?????文件?????303756??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件??????21132??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件??????55903??2011-12-26?13:02??AD_with_USART1_AC\ob
?????文件????????572??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件????????206??2012-03-01?18:48??AD_with_USART1_AC\ob
?????文件????????479??2011-07-20?17:20??AD_with_USART1_AC\ob
?????文件???????1804??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????268595??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件????????707??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件?????300912??2011-07-24?23:41??AD_with_USART1_AC\ob
?????文件?????266342??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件????????757??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????284724??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????????69??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件???????6620??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????273496??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件????????910??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????331520??2011-07-24?23:42??AD_with_USART1_AC\ob
?????文件?????273343??2011-07-24?23:42??AD_with_USART1_AC\ob
............此處省略91個文件信息
評論
共有 條評論