資源簡介
KEIL中如何程序在 RAM 中運行的STM32F4系列的事例代碼,對應鏈接中的四個例子,參考里面的例程改動即可
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????cs43l22.c
??*?@author??MCD?Application?Team
??*?@version?V1.0.1
??*?@date????02-December-2014
??*?@brief???This?file?provides?the?CS43L22?Audio?Codec?driver.???
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT(c)?2014?STMicroelectronics
??*
??*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
??*?are?permitted?provided?that?the?following?conditions?are?met:
??*???1.?Redistributions?of?source?code?must?retain?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer.
??*???2.?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
??*??????and/or?other?materials?provided?with?the?distribution.
??*???3.?Neither?the?name?of?STMicroelectronics?nor?the?names?of?its?contributors
??*??????may?be?used?to?endorse?or?promote?products?derived?from?this?software
??*??????without?specific?prior?written?permission.
??*
??*?THIS?SOFTWARE?IS?PROVIDED?BY?THE?COPYRIGHT?HOLDERS?AND?CONTRIBUTORS?“AS?IS“
??*?AND?ANY?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
??*?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE?ARE
??*?DISCLAIMED.?IN?NO?EVENT?SHALL?THE?COPYRIGHT?HOLDER?OR?CONTRIBUTORS?BE?LIABLE
??*?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL?EXEMPLARY?OR?CONSEQUENTIAL
??*?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR
??*?SERVICES;?LOSS?OF?USE?DATA?OR?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER
??*?CAUSED?AND?ON?ANY?THEORY?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY
??*?OR?TORT?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE
??*?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
??*
??******************************************************************************
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“cs43l22.h“
/**?@addtogroup?BSP
??*?@{
??*/
??
/**?@addtogroup?Components
??*?@{
??*/?
/**?@addtogroup?cs43l22
??*?@brief?????This?file?provides?a?set?of?functions?needed?to?drive?the?
??*????????????CS43l22?audio?codec.
??*?@{
??*/
/**?@defgroup?CS43L22_Private_Types
??*?@{
??*/
/**
??*?@}
??*/?
??
/**?@defgroup?CS43L22_Private_Defines
??*?@{
??*/
/*?Uncomment?this?line?to?enable?verifying?data?sent?to?codec?after?each?write?
???operation?(for?debug?purpose)?*/
#if?!defined?(VERIFY_WRITTENDATA)??
/*?#define?VERIFY_WRITTENDATA?*/
#endif?/*?VERIFY_WRITTENDATA?*/
/**
??*?@}
??*/?
/**?@defgroup?CS43L22_Private_Macros
??*?@{
??*/
/**
??*?@}
??*/?
??
/**?@defgroup?CS43L22_Private_Variables
??*?@{
??*/
/*?Audio?codec?driver?structure?initialization
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-12-09?11:41??Drivers\
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\ampire480272\
?????文件????????4004??2015-04-17?13:43??Drivers\BSP\Components\ampire480272\ampire480272.h
?????文件???????13884??2015-04-17?13:43??Drivers\BSP\Components\ampire480272\Release_Notes.html
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\ampire640480\
?????文件????????4028??2015-04-17?13:43??Drivers\BSP\Components\ampire640480\ampire640480.h
?????文件???????13695??2015-04-17?13:43??Drivers\BSP\Components\ampire640480\Release_Notes.html
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\Common\
?????文件????????4622??2015-04-17?13:43??Drivers\BSP\Components\Common\accelero.h
?????文件????????3656??2015-04-17?13:43??Drivers\BSP\Components\Common\audio.h
?????文件????????5367??2015-04-17?13:43??Drivers\BSP\Components\Common\camera.h
?????文件????????3393??2015-04-17?13:43??Drivers\BSP\Components\Common\epd.h
?????文件????????4593??2015-04-17?13:43??Drivers\BSP\Components\Common\gyro.h
?????文件????????5072??2015-02-03?15:41??Drivers\BSP\Components\Common\hum_temp.h
?????文件????????5359??2015-04-17?13:43??Drivers\BSP\Components\Common\idd.h
?????文件????????4573??2015-02-03?15:22??Drivers\BSP\Components\Common\imu_6axes.h
?????文件????????5453??2015-04-17?13:43??Drivers\BSP\Components\Common\io.h
?????文件????????3642??2015-04-17?13:43??Drivers\BSP\Components\Common\lcd.h
?????文件????????4075??2015-02-03?15:43??Drivers\BSP\Components\Common\magneto.h
?????文件????????4691??2015-02-03?15:49??Drivers\BSP\Components\Common\pressure.h
?????文件???????24735??2015-04-17?13:43??Drivers\BSP\Components\Common\Release_Notes.html
?????文件????????3301??2015-04-17?13:43??Drivers\BSP\Components\Common\ts.h
?????文件????????3731??2015-04-17?13:43??Drivers\BSP\Components\Common\tsensor.h
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\cs43l22\
?????文件???????13844??2015-04-17?13:43??Drivers\BSP\Components\cs43l22\cs43l22.c
?????文件????????5907??2015-04-17?13:43??Drivers\BSP\Components\cs43l22\cs43l22.h
?????文件???????15643??2015-04-17?13:43??Drivers\BSP\Components\cs43l22\Release_Notes.html
?????目錄???????????0??2015-12-09?11:41??Drivers\BSP\Components\hts221\
?????文件???????14457??2015-02-19?20:08??Drivers\BSP\Components\hts221\hts221.c
............此處省略653個文件信息
評論
共有 條評論