資源簡介
STM32F103 STOP模式低功耗,利用外部中斷以及RTC喚醒,程序無需修改,直接可用,有問題可以交流

代碼片段和文件信息
/**************************************************************************//**
?*?@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??Stop\CORE\core_cm3.c
?????文件??????85714??2011-02-09?14:59??Stop\CORE\core_cm3.h
?????文件??????15503??2011-03-10?10:52??Stop\CORE\startup_stm32f10x_hd.s
?????文件????????399??2011-04-23?10:24??Stop\keilkilll.bat
?????文件?????349549??2018-12-20?20:50??Stop\OBJ\a9g.crf
?????文件???????1722??2018-12-20?20:50??Stop\OBJ\a9g.d
?????文件?????390948??2018-12-20?20:50??Stop\OBJ\a9g.o
?????文件?????345353??2018-12-20?20:50??Stop\OBJ\adc.crf
?????文件???????1562??2018-12-20?20:50??Stop\OBJ\adc.d
?????文件?????387420??2018-12-20?20:50??Stop\OBJ\adc.o
?????文件???????3652??2018-12-20?20:50??Stop\OBJ\core_cm3.crf
?????文件????????104??2018-12-20?20:50??Stop\OBJ\core_cm3.d
?????文件??????11072??2018-12-20?20:50??Stop\OBJ\core_cm3.o
?????文件????????402??2018-12-20?20:50??Stop\OBJ\crc.crf
?????文件?????????70??2018-12-20?20:50??Stop\OBJ\crc.d
?????文件???????7960??2018-12-20?20:50??Stop\OBJ\crc.o
?????文件?????345097??2018-12-20?21:12??Stop\OBJ\exit.crf
?????文件???????1597??2018-12-20?21:12??Stop\OBJ\exit.d
?????文件?????390548??2018-12-20?21:12??Stop\OBJ\exit.o
?????文件?????????19??2018-11-02?20:37??Stop\OBJ\ExtDll.iex
?????文件?????349694??2018-12-20?20:50??Stop\OBJ\i2c.crf
?????文件???????1600??2018-12-20?20:50??Stop\OBJ\i2c.d
?????文件?????407704??2018-12-20?20:50??Stop\OBJ\i2c.o
?????文件?????346244??2018-12-20?22:23??Stop\OBJ\keyboard.crf
?????文件???????1770??2018-12-20?22:23??Stop\OBJ\keyboard.d
?????文件?????391344??2018-12-20?22:23??Stop\OBJ\keyboard.o
?????文件?????353099??2018-12-20?21:14??Stop\OBJ\low.crf
?????文件???????1792??2018-12-20?21:14??Stop\OBJ\low.d
?????文件?????415772??2018-12-20?21:14??Stop\OBJ\low.o
?????文件?????357597??2018-12-20?22:26??Stop\OBJ\main.crf
............此處省略204個文件信息
評論
共有 條評論