資源簡介
基于深圳十指科技公司出品的TFS-M64指紋識別模塊的STM32測試代碼,為了測試方便直接從原子例程中修改的。通過串口2與指紋模塊通信,程序中封裝了指紋模塊的操作函數庫。main.c文件中包含了許多之前測試的代碼。

代碼片段和文件信息
/**************************************************************************//**
?*?@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??TFS-M64指紋識別模塊測試\CORE\core_cm3.c
?????文件??????85714??2011-02-09?14:59??TFS-M64指紋識別模塊測試\CORE\core_cm3.h
?????文件??????15503??2011-03-10?10:52??TFS-M64指紋識別模塊測試\CORE\startup_stm32f10x_hd.s
?????文件??????12765??2011-03-10?10:52??TFS-M64指紋識別模塊測試\CORE\startup_stm32f10x_md.s
?????文件???????3248??2014-01-15?00:31??TFS-M64指紋識別模塊測試\FATFS\doc\css_e.css
?????文件???????3661??2014-01-15?00:31??TFS-M64指紋識別模塊測試\FATFS\doc\css_j.css
?????文件???????1063??2013-09-18?21:47??TFS-M64指紋識別模塊測試\FATFS\doc\img\app1.c
?????文件???????1597??2013-10-18?21:41??TFS-M64指紋識別模塊測試\FATFS\doc\img\app2.c
?????文件???????3811??2014-01-13?20:56??TFS-M64指紋識別模塊測試\FATFS\doc\img\app3.c
?????文件??????10365??2014-01-07?15:10??TFS-M64指紋識別模塊測試\FATFS\doc\img\app4.c
?????文件???????1414??2011-09-02?22:10??TFS-M64指紋識別模塊測試\FATFS\doc\img\f1.png
?????文件???????1458??2007-02-10?03:12??TFS-M64指紋識別模塊測試\FATFS\doc\img\f2.png
?????文件???????1039??2007-02-10?03:12??TFS-M64指紋識別模塊測試\FATFS\doc\img\f3.png
?????文件???????2335??2008-01-05?20:27??TFS-M64指紋識別模塊測試\FATFS\doc\img\f4.png
?????文件???????2479??2008-01-05?20:27??TFS-M64指紋識別模塊測試\FATFS\doc\img\f5.png
?????文件???????1436??2010-08-21?10:13??TFS-M64指紋識別模塊測試\FATFS\doc\img\f6.png
?????文件??????11388??2013-05-12?12:31??TFS-M64指紋識別模塊測試\FATFS\doc\img\f7.png
?????文件??????11421??2014-02-19?22:38??TFS-M64指紋識別模塊測試\FATFS\doc\img\funcs.png
?????文件???????2401??2009-03-20?21:57??TFS-M64指紋識別模塊測試\FATFS\doc\img\la
?????文件???????2379??2009-06-13?21:48??TFS-M64指紋識別模塊測試\FATFS\doc\img\la
?????文件???????7932??2013-12-27?12:20??TFS-M64指紋識別模塊測試\FATFS\doc\img\modules.png
?????文件??????19068??2008-10-18?19:31??TFS-M64指紋識別模塊測試\FATFS\doc\img\rwtest.png
?????文件???????8153??2010-09-13?10:55??TFS-M64指紋識別模塊測試\FATFS\doc\img\rwtest2.png
?????文件???????3011??2009-06-15?00:03??TFS-M64指紋識別模塊測試\FATFS\doc\img\rwtest3.png
?????文件???????5352??2014-01-15?00:31??TFS-M64指紋識別模塊測試\FATFS\doc\updates.txt
?????文件???????3650??2016-05-21?15:12??TFS-M64指紋識別模塊測試\FATFS\exfuns\exfuns.c
?????文件???????1409??2014-03-14?12:22??TFS-M64指紋識別模塊測試\FATFS\exfuns\exfuns.h
?????文件???????7676??2014-03-14?12:57??TFS-M64指紋識別模塊測試\FATFS\exfuns\fattester.c
?????文件???????1219??2014-03-14?12:51??TFS-M64指紋識別模塊測試\FATFS\exfuns\fattester.h
?????文件???????5015??2014-03-14?18:11??TFS-M64指紋識別模塊測試\FATFS\exfuns\mycc936.c
............此處省略167個文件信息
- 上一篇:太陽能自動追蹤系統
- 下一篇:STM32驅動max6675測溫的測試例程
評論
共有 條評論