Crate dwm1001

Source
Expand description

Board support crate for the Decawave DWM1001

Provides access to the features of the DWM1001 Module and the DWM1001 Development Board. Most notably, this includes the Decawave DW1000 Radio IC and the Nordic nRF52832 microcontroller.

The entry point to the API is the DWM1001 struct. You can find example programs using the API in the examples directory.

Re-exports§

pub use cortex_m;
pub use cortex_m_rt;
pub use dw1000;
pub use embedded_hal;
pub use nrf52832_hal;

Modules§

prelude
Exports traits that are usually needed when using this crate

Macros§

block_timeout
Blocks on a non-blocking operation until a timer times out
repeat_timeout
Repeats an operation until a timer times out

Structs§

DWM1001
Provides access to the features of the DWM1001/DWM1001-Dev board
DW_IRQ
The DW_IRQ pin (P0.19 on the nRF52)
DW_RST
The DW_RST pin (P0.24 on the nRF52)
Led
An LED on the DWM1001-Dev board
Leds
The LEDs on the DWM1001-Dev board
Pins
The nRF52 pins that are available on the DWM1001
SpimConfig
Optional Configuration struct for SPIM, not including pins
UsbUarteConfig
Configuration parameters for the UART connected via the debugger

Functions§

new_acc_twim
Create a new instance of the TWIM bus used for the accelerometer
new_dw1000
Create a new instance of the DW1000 radio
new_usb_uarte
Create a new instance the serial port connected to the debugger, mapped to the host via USB-Serial