資源簡介
基于AS3992開發源代碼, 全套3992代碼資料

代碼片段和文件信息
/*
?*****************************************************************************
?*?Copyright?@?2009?by?austriamicrosystems?AG????????????????????????????????*
?*?All?rights?are?reserved.??????????????????????????????????????????????????*
?*???????????????????????????????????????????????????????????????????????????*
?*?IMPORTANT?-?PLEASE?READ?CAREFULLY?BEFORE?COPYING?INSTALLING?OR?USING?????*
?*?THE?SOFTWARE.?????????????????????????????????????????????????????????????*
?*???????????????????????????????????????????????????????????????????????????*
?*?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??*
?*?OWNER?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.??????*
?*****************************************************************************
?*/
/*!?\file
?*
?*??\author?U.Herrmann?(based?on?work?by?E.Grubmueller)
?*??\author?T.?Luecker?(Substitute)
?*
?*???\brief?Functions?provided?by?the?AS399x?series?chips
?*
?*???Functions?provided?by?the?AS399x?series?chips.?All?higher?level
?*???and?protocol?work?is?contained?in?gen2.c?and?iso6b.c
?*/
#include?“c8051F340.h“
#include?“as399x_config.h“
#include?“as399x.h“
#include?“as399x_public.h“
#include?“global.h“
#include?“as399x_com.h“
#include?“uart.h“
#include?“timer.h“
#include?“gen2.h“
#include?“stdlib.h“
#include?“string.h“
#if?VERBOSE_INIT
#include?
#endif
/**?Definition?protocol?read?bit?*/
#define?READ??????????????????????0x40
/**?Definition?protocol?continous?bit?*/
#define?CONTINUOUS?????????????????0x20
/**?Variable?is?used?to?store?the?IRQ?status?read?from?the?AS3990?*/
u8?as399xIrqStatus?=?0;
/**?Variable?is?used?to?store?the?AS399X_REG_FIFO?status?read?from?the?AS3990?*/
u8?as399xFifoStatus?=?0;
/**?This?variable?is?used?as?flag?to?signal?an?data?reception.
??*??It?is?a?bit?mask?of?the?RESP_TXIRQ?RESP_RXIRQ?RESP_*?values
??*/
volatile?u16?as399xResponse?=?0;
u8?as399xChipVersion;
u32?as399xCurrentbaseFreq;
static?u8?as399xSavedSensRegs[2];
#if?RUN_ON_AS3992
const?u8?as399xPredistortionData[252]={?0x00?
????0x00?0x01?0x02?0x03?0x04?0x05?0x06?0x07
????0x08?0x09?0x0a?0x0b?0x0c?0x0d?0x0e?0x0f
????0x10?0x11?0x12?0x13?0x14?0x15?0x16?0x17
????0x18?0x19?0x1a?0x1b?0x1c?0x1d?0x1e?0x1f
????0x20?0x21?0x22?0x23
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-09?22:52??AS3992_v1.5.0\
?????文件????????2448??2010-02-25?15:28??AS3992_v1.5.0\ChangeLog.txt
?????文件????????9888??2010-02-25?15:28??AS3992_v1.5.0\Doxyfile
?????文件????????5991??2010-02-25?15:28??AS3992_v1.5.0\F340_FlashPrimitives.c
?????文件????????2113??2010-02-25?15:28??AS3992_v1.5.0\F340_FlashPrimitives.h
?????文件????????2728??2010-02-25?15:28??AS3992_v1.5.0\F3xx_bl
?????文件????????9438??2010-02-25?15:28??AS3992_v1.5.0\F3xx_bl
?????文件???????10795??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_Desc
?????文件????????8136??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_Desc
?????文件???????23259??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_InterruptServiceRoutine.c
?????文件????????7244??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_InterruptServiceRoutine.h
?????文件????????1962??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_Main.c
?????文件????????4576??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_Register.h
?????文件????????9528??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_ReportHandler.c
?????文件????????1543??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_ReportHandler.h
?????文件???????25746??2010-02-25?15:28??AS3992_v1.5.0\F3xx_USB0_Standard_Requests.c
?????文件????????3128??2010-03-01?12:42??AS3992_v1.5.0\Makefile
?????文件????????5211??2010-02-25?15:28??AS3992_v1.5.0\STARTUP.A51
?????文件???????37194??2010-02-25?15:28??AS3992_v1.5.0\as399x.c
?????文件???????15666??2010-02-25?15:28??AS3992_v1.5.0\as399x.h
?????文件????????1799??2010-02-25?15:28??AS3992_v1.5.0\as399x_com.c
?????文件????????4524??2010-02-25?15:28??AS3992_v1.5.0\as399x_com.h
?????文件????????7288??2010-03-18?11:23??AS3992_v1.5.0\as399x_config.h
?????文件????????8063??2010-02-25?15:28??AS3992_v1.5.0\as399x_public.h
?????文件????????4757??2011-05-13?17:28??AS3992_v1.5.0\as399xdemo.Opt
?????文件????????7404??2011-05-13?17:27??AS3992_v1.5.0\as399xdemo.Uv2
?????文件????????4614??2011-05-13?17:28??AS3992_v1.5.0\as399xdemo_Opt.Bak
?????文件????????7494??2010-04-21?10:20??AS3992_v1.5.0\as399xdemo_Uv2.Bak
?????文件????????3886??2010-02-25?15:28??AS3992_v1.5.0\bitbang.c
?????文件????????4104??2010-02-25?15:28??AS3992_v1.5.0\bitbang.h
?????文件???????17502??2010-02-25?15:28??AS3992_v1.5.0\c8051F340.h
............此處省略66個文件信息
- 上一篇:EDA病房呼叫系統
- 下一篇:華南農業大學數據結構上機題目答案
評論
共有 條評論