91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7.15MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-24
  • 語言: 其他
  • 標簽: UWB??DWM1000??

資源簡介

官方例程帶keil工程 將官方例程的main.c文件,復制到keil工程中,替換原文件即可。

資源截圖

代碼片段和文件信息

/*!?------------------------------------------------------------------------------------------------------------------
?*?@file deca_device.c
?*?@brief DecaWave?device?configuration?and?control?functions
?*
?*?@attention
?*
?*?Copyright?2013?(c)?DecaWave?Ltd?Dublin?Ireland.
?*
?*?All?rights?reserved.
?*
?*/

#include?“deca_types.h“
#include?“deca_param_types.h“
#include?“deca_regs.h“
#include?“deca_device_api.h“
#include?“deca_sleep.h“
#include?“port.h“

//?Defines?for?enable_clocks?function
#define?FORCE_SYS_XTI??0
#define?ENABLE_ALL_SEQ?1
#define?FORCE_SYS_PLL??2
#define?READ_ACC_ON????7
#define?READ_ACC_OFF???8
#define?FORCE_OTP_ON???11
#define?FORCE_OTP_OFF??12
#define?FORCE_TX_PLL???13

//?#define?DWT_API_ERROR_CHECK?????//?define?so?API?checks?config?input?parameters

//?-------------------------------------------------------------------------------------------------------------------
//
//?Internal?functions?for?controlling?and?configuring?the?device
//
//?-------------------------------------------------------------------------------------------------------------------

//?Enable?and?Configure?specified?clocks
void?_dwt_enableclocks(int?clocks)?;
//?Configure?the?ucode?(FP?algorithm)?parameters
void?_dwt_configlde(int?prf);
//?Load?ucode?from?OTP/ROM
void?_dwt_loaducodefromrom(void);
//?Read?non-volatile?memory
uint32?_dwt_otpread(uint32?address);
//?Program?the?non-volatile?memory
uint32?_dwt_otpprogword32(uint32?data?uint16?address);
//?Upload?the?device?configuration?into?always?on?memory
void?_dwt_aonarrayupload(void);
//?-------------------------------------------------------------------------------------------------------------------

/*!
?*?Static?data?for?DW1000?DecaWave?Transceiver?control
?*/

//?-------------------------------------------------------------------------------------------------------------------
//?Structure?to?hold?device?data
typedef?struct
{
????uint32??????deviceID?;
????uint32??????partID?;
????uint32??????lotID?;
????uint8???????chan;???????????????//?Added?channel?here?-?used?in?the?reading?of?accumulator
????uint8???????longframes?;????????//?Flag?in?non-standard?long?frame?mode
????uint8???????otprev?;????????????//?OTP?revision?number?(read?during?initialisation)
????uint32??????txFCTRL?;???????????//?Keep?TX_FCTRL?register?config
????uint8???????xtrim;??????????????//?XTAL?trim?value?read?from?OTP
????uint8???????dblbuffon;??????????//?Double?RX?buffer?mode?flag
????uint32??????sysCFGreg?;?????????//?Local?copy?of?system?config?register
????uint16??????sleep_mode;?????????//?Used?for?automatic?reloading?of?LDO?tune?and?microcode?at?wake-up

????dwt_callback_data_t?cdata;??????//?Callback?data?structure

????uint8???????wait4resp?;?????????//?wait4response?was?set?with?last?TX?start?command
????int?????????prfIndex?;

????void?(*dwt_txcallback)(const?dwt_callback_data_t?*txd);
????void?(*dwt_rxcallback)(const?dwt_callback_dat

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????116243??2015-12-03?23:48??官方例程帶keil工程\decadriver\deca_device.c

?????文件??????62414??2015-11-30?22:50??官方例程帶keil工程\decadriver\deca_device_api.h

?????文件???????3952??2015-12-03?23:48??官方例程帶keil工程\decadriver\deca_params_init.c

?????文件???????1754??2015-12-03?23:48??官方例程帶keil工程\decadriver\deca_param_types.h

?????文件??????14481??2015-11-27?19:30??官方例程帶keil工程\decadriver\deca_range_tables.c

?????文件??????76888??2015-12-03?23:48??官方例程帶keil工程\decadriver\deca_regs.h

?????文件???????1124??2015-11-13?23:17??官方例程帶keil工程\decadriver\deca_types.h

?????文件???????1177??2015-12-04?00:16??官方例程帶keil工程\decadriver\deca_version.h

?????文件???????3468??2015-11-13?23:17??官方例程帶keil工程\disclaimer.txt

?????文件????1810518??2018-07-17?11:52??官方例程帶keil工程\DW1000_Software_API_Guide_rev2p0.pdf

?????文件???????5569??2015-11-30?19:49??官方例程帶keil工程\examples\ex_01a_simple_tx\main.c

?????文件??????14685??2015-11-30?19:35??官方例程帶keil工程\examples\ex_01a_simple_tx\simple_tx.coproj

?????文件???????6901??2015-11-30?19:49??官方例程帶keil工程\examples\ex_01b_tx_sleep\main.c

?????文件??????14683??2015-12-03?22:31??官方例程帶keil工程\examples\ex_01b_tx_sleep\tx_sleep.coproj

?????文件???????6534??2015-11-30?19:49??官方例程帶keil工程\examples\ex_01c_tx_sleep_auto\main.c

?????文件??????14693??2015-12-03?22:31??官方例程帶keil工程\examples\ex_01c_tx_sleep_auto\tx_sleep_auto.coproj

?????文件???????5396??2015-11-30?19:49??官方例程帶keil工程\examples\ex_02a_simple_rx\main.c

?????文件??????14685??2015-12-03?22:31??官方例程帶keil工程\examples\ex_02a_simple_rx\simple_rx.coproj

?????文件???????9668??2015-11-30?19:49??官方例程帶keil工程\examples\ex_03a_tx_wait_resp\main.c

?????文件??????14691??2015-12-03?22:31??官方例程帶keil工程\examples\ex_03a_tx_wait_resp\tx_wait_resp.coproj

?????文件???????8714??2015-11-30?19:49??官方例程帶keil工程\examples\ex_03b_rx_send_resp\main.c

?????文件??????14691??2015-11-30?19:35??官方例程帶keil工程\examples\ex_03b_rx_send_resp\rx_send_resp.coproj

?????文件??????14525??2015-12-04?00:44??官方例程帶keil工程\examples\ex_04a_cont_wave\cont_wave.coproj

?????文件???????3447??2015-11-30?19:49??官方例程帶keil工程\examples\ex_04a_cont_wave\main.c

?????文件??????14687??2015-11-30?19:35??官方例程帶keil工程\examples\ex_04b_cont_frame\cont_frame.coproj

?????文件???????5188??2015-11-30?19:49??官方例程帶keil工程\examples\ex_04b_cont_frame\main.c

?????文件??????14689??2015-11-30?19:35??官方例程帶keil工程\examples\ex_05a_ds_twr_init\ds_twr_init.coproj

?????文件??????18496??2015-11-30?19:49??官方例程帶keil工程\examples\ex_05a_ds_twr_init\main.c

?????文件??????14771??2015-11-30?19:35??官方例程帶keil工程\examples\ex_05b_ds_twr_resp\ds_twr_resp.coproj

?????文件??????20327??2015-11-30?19:49??官方例程帶keil工程\examples\ex_05b_ds_twr_resp\main.c

............此處省略481個文件信息

評論

共有 條評論