uwb-dw1000 module configurations taken from decawave-uwb-dw1000/hw/drivers/uwb/uwb_dw1000 More...

Detailed Description

uwb-dw1000 module configurations taken from decawave-uwb-dw1000/hw/drivers/uwb/uwb_dw1000

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file syscfg_uwb_dw1000.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MYNEWT_VAL_UWB_DW1000_API_CHECKS   (1)
 Used to check that the UWB_DEV has been setup correctly at compile time. More...
 
#define MYNEWT_VAL_DW1000_HAL_SPI_BUFFER_SIZE   (256)
 Size of spi read/write buffer, sets the maximum allowed nonblocking read operation.
 
#define MYNEWT_VAL_DW1000_HAL_SPI_MAX_CNT   (1024)
 The maximum number of bytes in a single transfer that the SPI hardware supports. More...
 
#define MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK   (9)
 Max size spi read in bytes that is always done with blocking io. More...
 
#define MYNEWT_VAL_DW1000_BIAS_CORRECTION_ENABLED   (0)
 Enable range bias correction polynomial.
 
#define MYNEWT_VAL_DW1000_DEVICE_TX_PWR   (((float)-14.3f))
 Tx Power dBm.
 
#define MYNEWT_VAL_DW1000_DEVICE_ANT_GAIN   (((float)1.0f))
 Antenna Gain dB.
 
#define MYNEWT_VAL_DW1000_RXTX_LEDS   (1)
 Enable showing rx and tx activity on leds.
 
#define MYNEWT_VAL_DW1000_RXTX_GPIO   (0)
 Enable showing rx and tx activity on gpios.
 
#define MYNEWT_VAL_DW1000_RNG_INDICATE_LED   (0)
 Toggle LED_1 for every range packet received.
 
#define MYNEWT_VAL_DW1000_CLI_EVENT_COUNTERS   (0)
 Expose event counter cli api.
 

Macro Definition Documentation

◆ MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK

#define MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK   (9)

Max size spi read in bytes that is always done with blocking io.

Reads longer than this value will be done with non-blocking io.

Note
Ignore in RIOT since non-blocking SPI is not yet enabled

Definition at line 64 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_HAL_SPI_MAX_CNT

#define MYNEWT_VAL_DW1000_HAL_SPI_MAX_CNT   (1024)

The maximum number of bytes in a single transfer that the SPI hardware supports.

Note
RIOT spi implementation will take care of splitting if this max value is exceeded. If asynchronous (non-blocking) spi is ever added to RIOT this value will need to be adapted to the platform specific value.

Definition at line 55 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_UWB_DW1000_API_CHECKS

#define MYNEWT_VAL_UWB_DW1000_API_CHECKS   (1)

Used to check that the UWB_DEV has been setup correctly at compile time.

Note
(UWB_DEV_RXDIAG_MAXLEN > 19)

Definition at line 34 of file syscfg_uwb_dw1000.h.