Crate dw1000[][src]

Expand description

Driver crate for the DW1000 UWB transceiver

The recommended way to use this driver is the high-level interface. If you require a higher degree of flexibility, you can use the register-level interface instead.

If you’re using the DWM1001 module or DWM1001-Dev board, you probably don’t want to use this crate directly. Consider using the dwm1001 crate instead. The dwm1001 crate also contains usage examples for this crate’s API.

This driver is built on top of embedded-hal, which means it is portable and can be used on any platform that implements the embedded-hal API. It is only well-tested on the Nordic nRF52832 microcontroller though (the microcontroller used on the DWM1001 module), so be aware that you might run into problems on other devices.

Re-exports

pub use ieee802154::mac;
pub use crate::hl::DW1000;
pub use crate::configs::RxConfig;
pub use crate::configs::TxConfig;

Modules

Configuration structs for sending and receiving

High-level interface to the DW1000

Low-level interface to the DW1000

Partial implementation of the range bias as described in APS011 1.1

Implementation of double-sided two-way ranging

Time-related types based on the DW1000’s system time

Structs

Indicates that the DW1000 instance is currently receiving in double buffer mode

An incoming message

Indicates that the DW1000 instance is ready to be used

Indicates that the DW1000 instance is currently sending

Indicates that the DW1000 instance is currently receiving in single buffer mode (default)

Indicates that the DW1000 instance is currently sleeping

Indicates that the DW1000 instance is not initialized yet

Enums

An error that can occur when sending or receiving data