Crate dwm1001[][src]

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

Exports traits that are usually needed when using this crate

Macros

Blocks on a non-blocking operation until a timer times out

Repeats an operation until a timer times out

Structs

Provides access to the features of the DWM1001/DWM1001-Dev board

The DW_IRQ pin (P0.19 on the nRF52)

The DW_RST pin (P0.24 on the nRF52)

An LED on the DWM1001-Dev board

The LEDs on the DWM1001-Dev board

The nRF52 pins that are available on the DWM1001

Optional Configuration struct for SPIM, not including pins

Configuration parameters for the UART connected via the debugger

Functions

Create a new instance of the TWIM bus used for the accelerometer

Create a new instance of the DW1000 radio

Create a new instance the serial port connected to the debugger, mapped to the host via USB-Serial