資源簡介
用于串激電機(jī)的閉環(huán)控制,可以實(shí)現(xiàn)pid控制或模糊pid控制

代碼片段和文件信息
/**************************************************************************//**
?*?@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
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????17273??2010-06-07?10:25??最終版本程序\CORE\core_cm3.c
?????文件??????85714??2011-02-09?14:59??最終版本程序\CORE\core_cm3.h
?????文件??????15503??2011-03-10?10:52??最終版本程序\CORE\startup_stm32f10x_hd.s
?????文件????????489??2018-03-15?10:59??最終版本程序\HARDWARE\flag.c
?????文件?????????97??2017-10-19?16:56??最終版本程序\HARDWARE\flag.h
?????文件???????1153??2018-03-15?11:00??最終版本程序\HARDWARE\flagex.c
?????文件?????????99??2017-10-19?18:17??最終版本程序\HARDWARE\flagex.h
?????文件??????35016??2015-03-13?14:54??最終版本程序\HARDWARE\font.h
?????文件???????1110??2018-03-14?21:07??最終版本程序\HARDWARE\keyboard.c
?????文件????????138??2017-10-12?15:20??最終版本程序\HARDWARE\keyboard.h
?????文件??????85336??2017-10-19?20:02??最終版本程序\HARDWARE\lcd.c
?????文件???????7561??2015-03-31?18:07??最終版本程序\HARDWARE\lcd.h
?????文件????????382??2017-10-03?20:46??最終版本程序\HARDWARE\LED.c
?????文件????????138??2017-10-09?09:15??最終版本程序\HARDWARE\LED.h
?????文件???????1299??2018-03-15?10:54??最終版本程序\HARDWARE\timer.c
?????文件????????111??2017-10-19?16:16??最終版本程序\HARDWARE\timer.h
?????文件???????1849??2018-04-22?16:12??最終版本程序\HARDWARE\timer2.c
?????文件????????117??2017-11-02?19:41??最終版本程序\HARDWARE\timer2.h
?????文件???????2227??2018-03-15?10:57??最終版本程序\HARDWARE\timer5.c
?????文件????????112??2017-10-20?19:13??最終版本程序\HARDWARE\timer5.h
?????文件????????399??2011-04-23?10:24??最終版本程序\keilkilll.bat
?????文件???????3939??2018-11-05?10:35??最終版本程序\OBJ\core_cm3.crf
?????文件????????101??2018-11-05?10:35??最終版本程序\OBJ\core_cm3.d
?????文件??????11172??2018-11-05?10:35??最終版本程序\OBJ\core_cm3.o
?????文件?????349952??2018-11-05?10:35??最終版本程序\OBJ\delay.crf
?????文件???????1666??2018-11-05?10:35??最終版本程序\OBJ\delay.d
?????文件?????385484??2018-11-05?10:35??最終版本程序\OBJ\delay.o
?????文件?????349751??2018-03-08?10:46??最終版本程序\OBJ\exit.crf
?????文件???????1692??2018-03-08?10:46??最終版本程序\OBJ\exit.d
?????文件?????385276??2018-03-08?10:46??最終版本程序\OBJ\exit.o
............此處省略214個(gè)文件信息
評(píng)論
共有 條評(píng)論