DW1000 UWB driver based on work of Matthias Grob & Manuel Stalder - ETH Zürich - 2015

Dependencies:   BurstSPI

Files at this revision

API Documentation at this revision

Comitter:
AndyA
Date:
Thu Mar 30 11:32:35 2017 +0000
Parent:
13:8718966cd81e
Child:
15:6faab70a5b19
Commit message:
Fixed class name error;

Changed in this revision

DW1000.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/DW1000.cpp	Tue Mar 28 15:49:42 2017 +0000
+++ b/DW1000.cpp	Thu Mar 30 11:32:35 2017 +0000
@@ -600,7 +600,7 @@
     *preAmbleAcc_NoSat = readRegister16(DW1000_DRX_CONF,DWDRX_RXPAC_NOSAT);
 }
 
-void getFullLEDMetrics(uint16_t *led_thresh, uint16_t *led_ppindx, uint16_t *led_ppampl) {
+void DW1000::getFullLEDMetrics(uint16_t *led_thresh, uint16_t *led_ppindx, uint16_t *led_ppampl) {
     *led_thresh = readRegister16(DW1000_LDE_CTRL,DWLDE_LDE_THRESH);
     *led_ppindx = readRegister16(DW1000_LDE_CTRL,DWLDE_LDE_PPINDX);
     *led_ppampl = readRegister16(DW1000_LDE_CTRL,DWLDE_LDE_PPAMPL);