saltylab-firmware/lib/DW1000/extras/doc/html/DW1000Constants_8h_source.html
salty ed1542ae11 feat: rewrite UWB firmware for DW1000 (all 3 boards)
Anchor (esp32/uwb_anchor):
- DW1000Ranging library (200m range, MODE_LONGDATA_RANGE_ACCURACY)
- Unique addresses per anchor (anchor0/anchor1 build envs)
- +RANGE output: anchor_id, tag_addr, range_mm, rssi
- ESP-NOW receiver: forwards tag packets + priority E-STOP to Jetson
- AT+ID? command

Tag with Display (esp32/uwb_tag):
- DW1000Ranging as tag, auto-discovers anchors
- SSD1306 OLED: big distance, per-anchor ranges, RSSI bars, link status
- ESP-NOW broadcast: range/heartbeat/estop packets
- E-Stop on GPIO 0 (BOOT button), 10Hz TX while held
- Display at 5Hz, ranging driven by DW1000Ranging.loop()

Shared:
- lib/DW1000/ extracted from mf_DW1000.zip (Makerfabs fork)
- lib_extra_dirs for PlatformIO to find local library
2026-03-14 12:30:26 -04:00

64 lines
48 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Arduino driver library for Decawave DW1000: /home/az/Dropbox/work/Arduino/az-z/arduino-dw1000/src/DW1000Constants.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Arduino driver library for Decawave DW1000
&#160;<span id="projectnumber">Dec 20 2016</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">DW1000Constants.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="DW1000Constants_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Copyright (c) 2015 by Thomas Trojer &lt;thomas@trojer.net&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * Decawave DW1000 library for arduino.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * @file DW1000Constants.h</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * Arduino driver library (header file) for the Decawave DW1000 UWB transceiver IC.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef _DW1000CONSTANTS_H_INCLUDED</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define _DW1000CONSTANTS_H_INCLUDED</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">// time stamp byte length</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ab17a84369e4b003c77fde2dea4ae5292"> 25</a></span>&#160;<span class="preprocessor">#define LEN_STAMP 5</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">// enum to determine RX or TX mode of device</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ae539bc81de218722c5c2c54b5c006894"> 28</a></span>&#160;<span class="preprocessor">#define IDLE_MODE 0x00</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aca1f7e0907b7f07b7ea6ddbe8fac6ac5"> 29</a></span>&#160;<span class="preprocessor">#define RX_MODE 0x01</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a60bcaae69589922d624e3a7c1cedd686"> 30</a></span>&#160;<span class="preprocessor">#define TX_MODE 0x02</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">// used for SPI ready w/o actual writes</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afc5bb7d4f889aa4c7e2f20e2597c560e"> 33</a></span>&#160;<span class="preprocessor">#define JUNK 0x00</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">// no sub-address for register write</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a363d880e69ba3f0e3e6e2c96252fa412"> 36</a></span>&#160;<span class="preprocessor">#define NO_SUB 0xFF</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// device id register</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ad71a1794ae86aca08aeccddaa80ace39"> 39</a></span>&#160;<span class="preprocessor">#define DEV_ID 0x00</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a84efc1ebd1db01b015ad7b9b74baf8fb"> 40</a></span>&#160;<span class="preprocessor">#define LEN_DEV_ID 4</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">// extended unique identifier register</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a294d2df2c14770e100c0926fb94aed33"> 43</a></span>&#160;<span class="preprocessor">#define EUI 0x01</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afd676aa304d9b30150dd9bcae177e363"> 44</a></span>&#160;<span class="preprocessor">#define LEN_EUI 8</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="comment">// PAN identifier, short address register</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9ae09498b89a2dbb1b28a38879c04890"> 47</a></span>&#160;<span class="preprocessor">#define PANADR 0x03</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aa0075ed33a65fe3237d489f703ed52ed"> 48</a></span>&#160;<span class="preprocessor">#define LEN_PANADR 4</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment">// device configuration register</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8d9292d443e8e5b9059f6429b8502c07"> 51</a></span>&#160;<span class="preprocessor">#define SYS_CFG 0x04</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#adc060762da75b108d00acf9b916996ff"> 52</a></span>&#160;<span class="preprocessor">#define LEN_SYS_CFG 4</span></div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8139c0804778f3655f6c1c6c2b21ddaf"> 53</a></span>&#160;<span class="preprocessor">#define FFEN_BIT 0</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#acb5703c546ca9a736dec56e1f7f4ba95"> 54</a></span>&#160;<span class="preprocessor">#define FFBC_BIT 1</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aef3f5a8b59a923bdd1a20d9b36bfe1c4"> 55</a></span>&#160;<span class="preprocessor">#define FFAB_BIT 2</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a623dc6ef0273849412b5b84ccfdac46b"> 56</a></span>&#160;<span class="preprocessor">#define FFAD_BIT 3</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aafea117da62e5fa40122be40fd88451f"> 57</a></span>&#160;<span class="preprocessor">#define FFAA_BIT 4</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a39ccc6d0296997d32dd4cb6051bdea7d"> 58</a></span>&#160;<span class="preprocessor">#define FFAM_BIT 5</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af39fa965531d873db14f9fb80f57faaf"> 59</a></span>&#160;<span class="preprocessor">#define FFAR_BIT 6</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a683b9874ecf1605da7c260914d61a02d"> 60</a></span>&#160;<span class="preprocessor">#define DIS_DRXB_BIT 12</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#abd403f568025c65705c6a93724360af7"> 61</a></span>&#160;<span class="preprocessor">#define DIS_STXP_BIT 18</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8be7bfab3a5746ecb11a126fcf69ad86"> 62</a></span>&#160;<span class="preprocessor">#define HIRQ_POL_BIT 9</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a515968bea08355fd8263241ee2848e50"> 63</a></span>&#160;<span class="preprocessor">#define RXAUTR_BIT 29</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a7b57a430aa86bdbacb75e7be506acec0"> 64</a></span>&#160;<span class="preprocessor">#define PHR_MODE_SUB 16</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a340cc9493808e13ba00e7c1f4fa426aa"> 65</a></span>&#160;<span class="preprocessor">#define LEN_PHR_MODE_SUB 2</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a1e93c061978659e52449fefe5192a611"> 66</a></span>&#160;<span class="preprocessor">#define RXM110K_BIT 22</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment">// device control register</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4b23617442d3980ad8e3c3ce3a314848"> 69</a></span>&#160;<span class="preprocessor">#define SYS_CTRL 0x0D</span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#acb711839af68bde4821094ec69abedea"> 70</a></span>&#160;<span class="preprocessor">#define LEN_SYS_CTRL 4</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a358fd3978bd4cee74f6e65d3e3089dbf"> 71</a></span>&#160;<span class="preprocessor">#define SFCST_BIT 0</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af7baeeb3c0854b0c9a1d2672bdb86cb6"> 72</a></span>&#160;<span class="preprocessor">#define TXSTRT_BIT 1</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5d9d6edb41a1b46eea277ce09362c2e4"> 73</a></span>&#160;<span class="preprocessor">#define TXDLYS_BIT 2</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ab813a8d02417b1aa19d3878e874a064b"> 74</a></span>&#160;<span class="preprocessor">#define TRXOFF_BIT 6</span></div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a406872ffb178b3e3af3d1121ef86f6ee"> 75</a></span>&#160;<span class="preprocessor">#define WAIT4RESP_BIT 7</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#abf95e45fb74c467b0ad2067f340adc10"> 76</a></span>&#160;<span class="preprocessor">#define RXENAB_BIT 8</span></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a15c07aad7987d126dd61923e3491c238"> 77</a></span>&#160;<span class="preprocessor">#define RXDLYS_BIT 9</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="comment">// system event status register</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a695e7916a9d828c289b0a9419341cea8"> 80</a></span>&#160;<span class="preprocessor">#define SYS_STATUS 0x0F</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a10a3ea7c86a41116d0e717d46e15e896"> 81</a></span>&#160;<span class="preprocessor">#define LEN_SYS_STATUS 5</span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af9503c53f3e429808ded8a8f2abf2e8d"> 82</a></span>&#160;<span class="preprocessor">#define CPLOCK_BIT 1</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af2227e363be0750d2c269e1fb2edd255"> 83</a></span>&#160;<span class="preprocessor">#define AAT_BIT 3</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aabe5d2eb58026d123ab47eec0ed765a7"> 84</a></span>&#160;<span class="preprocessor">#define TXFRB_BIT 4</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a353012c13742edd94712b9e3ec6eb294"> 85</a></span>&#160;<span class="preprocessor">#define TXPRS_BIT 5</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a958a4f97f284dbfd0dc37d600453b233"> 86</a></span>&#160;<span class="preprocessor">#define TXPHS_BIT 6</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a133bfd9d364a0e93e299d3125fcb9f36"> 87</a></span>&#160;<span class="preprocessor">#define TXFRS_BIT 7</span></div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a1c9f7653d8d3229c8686413023f917e2"> 88</a></span>&#160;<span class="preprocessor">#define LDEDONE_BIT 10</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a7a7f5f68c0006ea50e39d5b9f3469cc9"> 89</a></span>&#160;<span class="preprocessor">#define RXPHE_BIT 12</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af8289d82c64aaae723156a1642a4b007"> 90</a></span>&#160;<span class="preprocessor">#define RXDFR_BIT 13</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af63dcb791794f2128961d5df8895ba06"> 91</a></span>&#160;<span class="preprocessor">#define RXFCG_BIT 14</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a86db4f4a91a9bad17f895a08cced1f0b"> 92</a></span>&#160;<span class="preprocessor">#define RXFCE_BIT 15</span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8f31c7478949cb10bc2747f27d772c65"> 93</a></span>&#160;<span class="preprocessor">#define RXRFSL_BIT 16</span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac3f676dceafb70745bfe0cdb9b44541f"> 94</a></span>&#160;<span class="preprocessor">#define RXRFTO_BIT 17</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5ba639facba633648f3860c63160d4a4"> 95</a></span>&#160;<span class="preprocessor">#define LDEERR_BIT 18</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9ac5295f3b8d4e588d106c07f0416974"> 96</a></span>&#160;<span class="preprocessor">#define RFPLL_LL_BIT 24</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a98ed211b5c6d485bd017531ee77e33fe"> 97</a></span>&#160;<span class="preprocessor">#define CLKPLL_LL_BIT 25</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="comment">// system event mask register</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="comment">// NOTE: uses the bit definitions of SYS_STATUS (below 32)</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a1096a3bcb1d33bab56e2746735bef164"> 101</a></span>&#160;<span class="preprocessor">#define SYS_MASK 0x0E</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#acb1d4a01c1a3aca04f672f667c628f8f"> 102</a></span>&#160;<span class="preprocessor">#define LEN_SYS_MASK 4</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="comment">// system time counter</span></div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2fcb8cc818f8f564c94b2a8a33914cca"> 105</a></span>&#160;<span class="preprocessor">#define SYS_TIME 0x06</span></div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a1741ce30560bdd0ed30fe5da1d6b9732"> 106</a></span>&#160;<span class="preprocessor">#define LEN_SYS_TIME LEN_STAMP</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="comment">// RX timestamp register</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a89033cfbeb2a5df3675408d1cf4a5905"> 109</a></span>&#160;<span class="preprocessor">#define RX_TIME 0x15</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aef0caf7cf4e0c219e3730bba1d1e00e8"> 110</a></span>&#160;<span class="preprocessor">#define LEN_RX_TIME 14</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a04b1d8a2ca9b3c3f3c3319f4b1aaedb7"> 111</a></span>&#160;<span class="preprocessor">#define RX_STAMP_SUB 0x00</span></div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a773191a174b180e0704202ee49dfe6e3"> 112</a></span>&#160;<span class="preprocessor">#define FP_AMPL1_SUB 0x07</span></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a66a41641ebf735bd81bd460abfd5fe0e"> 113</a></span>&#160;<span class="preprocessor">#define LEN_RX_STAMP LEN_STAMP</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8c113774fbfc23cc35ecaf0c9b0cb985"> 114</a></span>&#160;<span class="preprocessor">#define LEN_FP_AMPL1 2</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="comment">// RX frame quality</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ae4af9fa2ad1dd14af73d31d770125dab"> 117</a></span>&#160;<span class="preprocessor">#define RX_FQUAL 0x12</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a470fb1b093829c0740f794165daa93b8"> 118</a></span>&#160;<span class="preprocessor">#define LEN_RX_FQUAL 8</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aaa2b730a0163d2464a02c29b05c01377"> 119</a></span>&#160;<span class="preprocessor">#define STD_NOISE_SUB 0x00</span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4ba36e0155616280028eb57c88e12511"> 120</a></span>&#160;<span class="preprocessor">#define FP_AMPL2_SUB 0x02</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4fb1b4b4f0cfe614ee8f30f0f38c8c1f"> 121</a></span>&#160;<span class="preprocessor">#define FP_AMPL3_SUB 0x04</span></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a290b97de97e2ba9fbcb7e8123fe24ae1"> 122</a></span>&#160;<span class="preprocessor">#define CIR_PWR_SUB 0x06</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2ff32f11133616bfb6b28ee6e94f17a9"> 123</a></span>&#160;<span class="preprocessor">#define LEN_STD_NOISE 2</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a550f4bed35bead0b26f0446a173d5a51"> 124</a></span>&#160;<span class="preprocessor">#define LEN_FP_AMPL2 2</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aa44aba5213d282179be92bb11b3d61a9"> 125</a></span>&#160;<span class="preprocessor">#define LEN_FP_AMPL3 2</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aabe4ae4e9f2d486bdc63a53d79b3d41c"> 126</a></span>&#160;<span class="preprocessor">#define LEN_CIR_PWR 2</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="comment">// TX timestamp register</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a6257989674b703b593ba8de740ae0fc3"> 129</a></span>&#160;<span class="preprocessor">#define TX_TIME 0x17</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a64b6d79160fed6253b0d2de353ea3880"> 130</a></span>&#160;<span class="preprocessor">#define LEN_TX_TIME 10</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a3cd0dc0e53d048f4b782c63a81bc5ac0"> 131</a></span>&#160;<span class="preprocessor">#define TX_STAMP_SUB 0</span></div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#abf1fdec17bbdd4ccd015414da11b408e"> 132</a></span>&#160;<span class="preprocessor">#define LEN_TX_STAMP LEN_STAMP</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="comment">// timing register (for delayed RX/TX)</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac68a35da349f580646dca1bdfe067e45"> 135</a></span>&#160;<span class="preprocessor">#define DX_TIME 0x0A</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9671d654cf80e6bef66e75103174e5f0"> 136</a></span>&#160;<span class="preprocessor">#define LEN_DX_TIME LEN_STAMP</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="comment">// transmit data buffer</span></div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afad9eb9956344c1b74f9cdd8b157c60d"> 139</a></span>&#160;<span class="preprocessor">#define TX_BUFFER 0x09</span></div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a484c4afbadf1d13bd67997b2e8d63469"> 140</a></span>&#160;<span class="preprocessor">#define LEN_TX_BUFFER 1024</span></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aac9f93c2769171599fbdf6093cc7c3eb"> 141</a></span>&#160;<span class="preprocessor">#define LEN_UWB_FRAMES 127</span></div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5d9dec1e1c8baf44b60af884386600db"> 142</a></span>&#160;<span class="preprocessor">#define LEN_EXT_UWB_FRAMES 1023</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="comment">// RX frame info</span></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a66daff11690d0bf9c819e4267540ed45"> 145</a></span>&#160;<span class="preprocessor">#define RX_FINFO 0x10</span></div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ae36b6207f6fda550f25325fa2699c905"> 146</a></span>&#160;<span class="preprocessor">#define LEN_RX_FINFO 4</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="comment">// receive data buffer</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5cef469fa5602fb3b45112a62bee5d4b"> 149</a></span>&#160;<span class="preprocessor">#define RX_BUFFER 0x11</span></div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5631e6ec7514ed516ac5f5f5fe220baa"> 150</a></span>&#160;<span class="preprocessor">#define LEN_RX_BUFFER 1024</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="comment">// transmit control</span></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4d298b8d5f7d5d397c0447cdfc012bac"> 153</a></span>&#160;<span class="preprocessor">#define TX_FCTRL 0x08</span></div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a529741a8be047bae830f78ead6ec271b"> 154</a></span>&#160;<span class="preprocessor">#define LEN_TX_FCTRL 5</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="comment">// channel control</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aa62d908ff8a37c7d0685902e5e3001d2"> 157</a></span>&#160;<span class="preprocessor">#define CHAN_CTRL 0x1F</span></div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2af6dde317f17b77bcf2a96504f46553"> 158</a></span>&#160;<span class="preprocessor">#define LEN_CHAN_CTRL 4</span></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a007f21eb042dbcc401c482ed5588581f"> 159</a></span>&#160;<span class="preprocessor">#define DWSFD_BIT 17</span></div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac03d672d44f3d7fc7ef09c71cf01f6ca"> 160</a></span>&#160;<span class="preprocessor">#define TNSSFD_BIT 20</span></div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aba2a5c1fed9758edb5deb82027e7dd7d"> 161</a></span>&#160;<span class="preprocessor">#define RNSSFD_BIT 21</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="comment">// user-defined SFD</span></div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ae2969b4b191ed4550c0e1c6ffaa28a36"> 164</a></span>&#160;<span class="preprocessor">#define USR_SFD 0x21</span></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4b39f269ddb849f982180f186e4cbf31"> 165</a></span>&#160;<span class="preprocessor">#define LEN_USR_SFD 41</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4c9d96a6d2b13cb2d75b38b66a7f1001"> 166</a></span>&#160;<span class="preprocessor">#define SFD_LENGTH_SUB 0x00</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ae175077bcdffc7c72099987acd3483a2"> 167</a></span>&#160;<span class="preprocessor">#define LEN_SFD_LENGTH 1</span></div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<span class="comment">// OTP control (for LDE micro code loading only)</span></div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ad2c8d73ec0d95a964e6ffad894529fd6"> 170</a></span>&#160;<span class="preprocessor">#define OTP_IF 0x2D</span></div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a27a3ecaef2c113aedc13542642a627f0"> 171</a></span>&#160;<span class="preprocessor">#define OTP_ADDR_SUB 0x04</span></div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a801aa01656591ec1847aac455c3fb910"> 172</a></span>&#160;<span class="preprocessor">#define OTP_CTRL_SUB 0x06</span></div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac88818654b5a3f9998cb413f962d9a8e"> 173</a></span>&#160;<span class="preprocessor">#define OTP_RDAT_SUB 0x0A</span></div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8b0afee069ae5d4c0713565853a4de2e"> 174</a></span>&#160;<span class="preprocessor">#define LEN_OTP_ADDR 2</span></div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#acb99e4ade59a4a7f6057f35918e106c3"> 175</a></span>&#160;<span class="preprocessor">#define LEN_OTP_CTRL 2</span></div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a4df01718173d3353d24983de79783fa4"> 176</a></span>&#160;<span class="preprocessor">#define LEN_OTP_RDAT 4</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="comment">// AGC_TUNE1/2 (for re-tuning only)</span></div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#af0648d8edc4f6065c2bbf4fd3805617d"> 179</a></span>&#160;<span class="preprocessor">#define AGC_TUNE 0x23</span></div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a01be39245f2c702bd553f786132211ed"> 180</a></span>&#160;<span class="preprocessor">#define AGC_TUNE1_SUB 0x04</span></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a97d76767b1974d92158329473835f759"> 181</a></span>&#160;<span class="preprocessor">#define AGC_TUNE2_SUB 0x0C</span></div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2a5ae66a09abab172f7c5d411262e8ee"> 182</a></span>&#160;<span class="preprocessor">#define AGC_TUNE3_SUB 0x12</span></div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aeba2c4a4e473056b8d36c069258c5440"> 183</a></span>&#160;<span class="preprocessor">#define LEN_AGC_TUNE1 2</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aea4ee1a4570210efcb43ec2085dba6be"> 184</a></span>&#160;<span class="preprocessor">#define LEN_AGC_TUNE2 4</span></div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aad41f796e7e9236bc9f724446d7761d5"> 185</a></span>&#160;<span class="preprocessor">#define LEN_AGC_TUNE3 2</span></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="comment">// DRX_TUNE2 (for re-tuning only)</span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5efebaf07c305fad3c8bdeb64ad67f35"> 188</a></span>&#160;<span class="preprocessor">#define DRX_TUNE 0x27</span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a034f38cfc5bb5e643e6e0a9b54f74cdd"> 189</a></span>&#160;<span class="preprocessor">#define DRX_TUNE0b_SUB 0x02</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a277d89d794080d83084a185845548842"> 190</a></span>&#160;<span class="preprocessor">#define DRX_TUNE1a_SUB 0x04</span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a79c7d91f0c2d26ad5733c36d2ddadbd3"> 191</a></span>&#160;<span class="preprocessor">#define DRX_TUNE1b_SUB 0x06</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a6614da5e5b479570bbd399e685fa593d"> 192</a></span>&#160;<span class="preprocessor">#define DRX_TUNE2_SUB 0x08</span></div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afad14682395738037a9f674be3a1fa8f"> 193</a></span>&#160;<span class="preprocessor">#define DRX_TUNE4H_SUB 0x26</span></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#abe6e12a2cefa12f72c7a3ee1454037b9"> 194</a></span>&#160;<span class="preprocessor">#define LEN_DRX_TUNE0b 2</span></div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9d9b4f10742207d83b83ab6e2e702ce0"> 195</a></span>&#160;<span class="preprocessor">#define LEN_DRX_TUNE1a 2</span></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac8e8d3083fbed2b04c312e1c88c7cb9a"> 196</a></span>&#160;<span class="preprocessor">#define LEN_DRX_TUNE1b 2</span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a5a6665237e91693b2b1ad7a4343a2f43"> 197</a></span>&#160;<span class="preprocessor">#define LEN_DRX_TUNE2 4</span></div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aab38c1cd230def56499db70f82ab6cc2"> 198</a></span>&#160;<span class="preprocessor">#define LEN_DRX_TUNE4H 2</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="comment">// LDE_CFG1 (for re-tuning only)</span></div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afbb51abc00d1ff30523089c1fc724e30"> 201</a></span>&#160;<span class="preprocessor">#define LDE_IF 0x2E</span></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#afce5846f6f67e53fbfb4845b211d371f"> 202</a></span>&#160;<span class="preprocessor">#define LDE_CFG1_SUB 0x0806</span></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a89cc50e0ac7ea755c76d5a2e6ed909d6"> 203</a></span>&#160;<span class="preprocessor">#define LDE_RXANTD_SUB 0x1804</span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a7c7f0b025eed8eeeb7ac81214e4036e4"> 204</a></span>&#160;<span class="preprocessor">#define LDE_CFG2_SUB 0x1806</span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a889d966479761666cd71ef528a42eeaa"> 205</a></span>&#160;<span class="preprocessor">#define LDE_REPC_SUB 0x2804</span></div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#affba1aa78cfd6931b47267765a26b603"> 206</a></span>&#160;<span class="preprocessor">#define LEN_LDE_CFG1 1</span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a683cc2d483eed8e8e0498bc095a72d3b"> 207</a></span>&#160;<span class="preprocessor">#define LEN_LDE_CFG2 2</span></div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#adb4a9116f7ed2e160a0603f65ac21a48"> 208</a></span>&#160;<span class="preprocessor">#define LEN_LDE_REPC 2</span></div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2acbfb8f4ff81a748de5810d444dcc42"> 209</a></span>&#160;<span class="preprocessor">#define LEN_LDE_RXANTD 2</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="comment">// TX_POWER (for re-tuning only)</span></div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8bc4773990d12a21438d91a86890b0db"> 212</a></span>&#160;<span class="preprocessor">#define TX_POWER 0x1E</span></div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9b6be264619efa0cf51510c3627994d8"> 213</a></span>&#160;<span class="preprocessor">#define LEN_TX_POWER 4</span></div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="comment">// RF_CONF (for re-tuning only)</span></div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ab4a80b463ca686bdd88d33f130366a9a"> 216</a></span>&#160;<span class="preprocessor">#define RF_CONF 0x28</span></div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a8b0a7cffcc2c42fe4702858849a2d0f5"> 217</a></span>&#160;<span class="preprocessor">#define RF_RXCTRLH_SUB 0x0B</span></div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a73d3d433e26032a3837ef28dc88231b7"> 218</a></span>&#160;<span class="preprocessor">#define RF_TXCTRL_SUB 0x0C</span></div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a3726e8d96bf25c2cd0e892488c388a63"> 219</a></span>&#160;<span class="preprocessor">#define LEN_RF_RXCTRLH 1</span></div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9183627e0bf22894abcc0fa5f3e975b1"> 220</a></span>&#160;<span class="preprocessor">#define LEN_RF_TXCTRL 4</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="comment">// TX_CAL (for re-tuning only)</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#acc6f1daaedefc39fec2946b095e45d5f"> 223</a></span>&#160;<span class="preprocessor">#define TX_CAL 0x2A</span></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#ac570f7a9ca487f5991ca39ea7c99a9ce"> 224</a></span>&#160;<span class="preprocessor">#define TC_PGDELAY_SUB 0x0B</span></div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a329dd3a52725af616f271726e21121f7"> 225</a></span>&#160;<span class="preprocessor">#define LEN_TC_PGDELAY 1</span></div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a323d7035f7c9703a12ff62d1b718a35f"> 226</a></span>&#160;<span class="preprocessor">#define TC_SARC 0x00</span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a6a38b148c7acfc1a034126d4652b4948"> 227</a></span>&#160;<span class="preprocessor">#define TC_SARL 0x03</span></div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<span class="comment">// FS_CTRL (for re-tuning only)</span></div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a43b57a4a17b0b8f06875914f3e55ff28"> 230</a></span>&#160;<span class="preprocessor">#define FS_CTRL 0x2B</span></div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a26de21f1f199d6f0342c5a820b1e67dc"> 231</a></span>&#160;<span class="preprocessor">#define FS_PLLCFG_SUB 0x07</span></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a19c8e61fd9bf40c25191341517b768c0"> 232</a></span>&#160;<span class="preprocessor">#define FS_PLLTUNE_SUB 0x0B</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a350b20c7d4f579eca696efa2c7b4cef3"> 233</a></span>&#160;<span class="preprocessor">#define FS_XTALT_SUB 0x0E</span></div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a61e484b679d034a42c5b7427ccce7bc0"> 234</a></span>&#160;<span class="preprocessor">#define LEN_FS_PLLCFG 4</span></div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a75790212c018f151ee9baa0bba762bbb"> 235</a></span>&#160;<span class="preprocessor">#define LEN_FS_PLLTUNE 1</span></div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aa0ccfcd7d39401d66f3f2a2abae1ce99"> 236</a></span>&#160;<span class="preprocessor">#define LEN_FS_XTALT 1</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;<span class="comment">// PMSC</span></div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#affc6107faa21c67f5f1fba5900a867e8"> 239</a></span>&#160;<span class="preprocessor">#define PMSC 0x36</span></div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#aad737032a7e2205d3fdbf3c5482e9800"> 240</a></span>&#160;<span class="preprocessor">#define PMSC_CTRL0_SUB 0x00</span></div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a2564e4015062fb9ec106c6446e4ae729"> 241</a></span>&#160;<span class="preprocessor">#define LEN_PMSC_CTRL0 4</span></div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="comment">// TX_ANTD Antenna delays</span></div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#abe6a92e5e39bf700f2aebcd5adf5734a"> 244</a></span>&#160;<span class="preprocessor">#define TX_ANTD 0x18</span></div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="DW1000Constants_8h.html#a9bc52765618988abb18d29882d561a01"> 245</a></span>&#160;<span class="preprocessor">#define LEN_TX_ANTD 2</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="preprocessor">#endif</span></div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Dec 20 2016 01:32:18 for Arduino driver library for Decawave DW1000 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>