Loading...
Searching...
No Matches

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.

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.
 
#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.
 
#define MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK   (9)
 Max size spi read in bytes that is always done with blocking io.
 
#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_BIAS_CORRECTION_ENABLED

#define MYNEWT_VAL_DW1000_BIAS_CORRECTION_ENABLED   (0)

Enable range bias correction polynomial.

Definition at line 71 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_CLI_EVENT_COUNTERS

#define MYNEWT_VAL_DW1000_CLI_EVENT_COUNTERS   (0)

Expose event counter cli api.

Definition at line 113 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_DEVICE_ANT_GAIN

#define MYNEWT_VAL_DW1000_DEVICE_ANT_GAIN   (((float)1.0f))

Antenna Gain dB.

Definition at line 85 of file syscfg_uwb_dw1000.h.

◆ 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_DEVICE_TX_PWR

#define MYNEWT_VAL_DW1000_DEVICE_TX_PWR   (((float)-14.3f))

Tx Power dBm.

Definition at line 78 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_HAL_SPI_BUFFER_SIZE

#define MYNEWT_VAL_DW1000_HAL_SPI_BUFFER_SIZE   (256)

Size of spi read/write buffer, sets the maximum allowed nonblocking read operation.

Definition at line 42 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_DW1000_RNG_INDICATE_LED

#define MYNEWT_VAL_DW1000_RNG_INDICATE_LED   (0)

Toggle LED_1 for every range packet received.

Definition at line 106 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_RXTX_GPIO

#define MYNEWT_VAL_DW1000_RXTX_GPIO   (0)

Enable showing rx and tx activity on gpios.

Definition at line 99 of file syscfg_uwb_dw1000.h.

◆ MYNEWT_VAL_DW1000_RXTX_LEDS

#define MYNEWT_VAL_DW1000_RXTX_LEDS   (1)

Enable showing rx and tx activity on leds.

Definition at line 92 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.