Loading...
Searching...
No Matches
dw3000_params_t Struct Reference

Device initialization parameters. More...

Detailed Description

Device initialization parameters.

Definition at line 28 of file dw3000_conf.h.

#include <dw3000_conf.h>

Data Fields

spi_t spi
 SPI.
 
gpio_t spi_cs
 SPI CS pin.
 
spi_mode_t spi_mode
 SPI operating mode.
 
gpio_t irq
 pin to get interrupts from
 
gpio_t reset
 reset pin (optional, if not used set to GPIO_UNDEF)
 
gpio_t wakeup
 wakeup pin (optional, if not used set to GPIO_UNDEF)
 
spi_clk_t spi_speed_fast
 The fast mode speed (set with dw3000_spi_speed_fast())
 
spi_clk_t spi_speed_slow
 The slow mode speed (set with dw3000_spi_speed_slow())
 

Field Documentation

◆ irq

gpio_t dw3000_params_t::irq

pin to get interrupts from

Definition at line 38 of file dw3000_conf.h.

◆ reset

gpio_t dw3000_params_t::reset

reset pin (optional, if not used set to GPIO_UNDEF)

Definition at line 40 of file dw3000_conf.h.

◆ spi

spi_t dw3000_params_t::spi

SPI.

Definition at line 29 of file dw3000_conf.h.

◆ spi_cs

gpio_t dw3000_params_t::spi_cs

SPI CS pin.

Definition at line 30 of file dw3000_conf.h.

◆ spi_mode

spi_mode_t dw3000_params_t::spi_mode

SPI operating mode.

If a something different than the default SPI mode (SPI_MODE_0) should be used, on the DW3000 two pins are used at startup to signal this. They are expected to be pulled to the correct setting manually, outside of this implementation.

Definition at line 37 of file dw3000_conf.h.

◆ spi_speed_fast

spi_clk_t dw3000_params_t::spi_speed_fast

The fast mode speed (set with dw3000_spi_speed_fast())

Definition at line 44 of file dw3000_conf.h.

◆ spi_speed_slow

spi_clk_t dw3000_params_t::spi_speed_slow

The slow mode speed (set with dw3000_spi_speed_slow())

Definition at line 46 of file dw3000_conf.h.

◆ wakeup

gpio_t dw3000_params_t::wakeup

wakeup pin (optional, if not used set to GPIO_UNDEF)

Definition at line 42 of file dw3000_conf.h.


The documentation for this struct was generated from the following file: