Loading...
Searching...
No Matches
kw2xrf_params Struct Reference

Struct holding all params needed for device initialization. More...

Detailed Description

Struct holding all params needed for device initialization.

Definition at line 106 of file kw2xrf.h.

#include <kw2xrf.h>

Data Fields

spi_t spi
 SPI bus the device is connected to.
 
spi_clk_t spi_clk
 SPI clock speed to use.
 
gpio_t cs_pin
 GPIO pin connected to chip select.
 
gpio_t int_pin
 GPIO pin connected to the interrupt pin.
 
gpio_t rst_pin
 GPIO pin connected to RST_B.
 

Field Documentation

◆ cs_pin

gpio_t kw2xrf_params::cs_pin

GPIO pin connected to chip select.

Definition at line 109 of file kw2xrf.h.

◆ int_pin

gpio_t kw2xrf_params::int_pin

GPIO pin connected to the interrupt pin.

Definition at line 110 of file kw2xrf.h.

◆ rst_pin

gpio_t kw2xrf_params::rst_pin

GPIO pin connected to RST_B.

Definition at line 111 of file kw2xrf.h.

◆ spi

spi_t kw2xrf_params::spi

SPI bus the device is connected to.

Definition at line 107 of file kw2xrf.h.

◆ spi_clk

spi_clk_t kw2xrf_params::spi_clk

SPI clock speed to use.

Definition at line 108 of file kw2xrf.h.


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