lriot 2.1.0.0
lriot_cfg_t Struct Reference

LR IoT Click configuration object. More...

#include <lriot.h>

Data Fields

pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t rst
 
pin_name_t bsy
 
pin_name_t int_pin
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 

Detailed Description

LR IoT Click configuration object.

Configuration object definition of LR IoT Click driver.

Field Documentation

◆ bsy

pin_name_t bsy

Busy indicator pin.

◆ cs

pin_name_t cs

Chip select pin descriptor for SPI driver.

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

Chip select pin polarity.

◆ int_pin

pin_name_t int_pin

IRQ pin.

◆ miso

pin_name_t miso

Master input - slave output pin descriptor for SPI driver.

◆ mosi

pin_name_t mosi

Master output - slave input pin descriptor for SPI driver.

◆ rst

pin_name_t rst

Reset pin.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.


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