gnssrtk2 2.1.0.0
gnssrtk2_cfg_t Struct Reference

GNSS RTK 2 Click configuration object. More...

#include <gnssrtk2.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t rdy
 
pin_name_t rtk
 
pin_name_t rst
 
pin_name_t tmp
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 
uint32_t baud_rate
 
bool uart_blocking
 
uart_data_bits_t data_bit
 
uart_parity_t parity_bit
 
uart_stop_bits_t stop_bit
 
gnssrtk2_drv_t drv_sel
 

Detailed Description

GNSS RTK 2 Click configuration object.

Configuration object definition of GNSS RTK 2 Click driver.

Field Documentation

◆ baud_rate

uint32_t baud_rate

Clock speed.

◆ 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.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ drv_sel

gnssrtk2_drv_t drv_sel

Master driver interface selector.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ 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.

◆ parity_bit

uart_parity_t parity_bit

Parity bit.

◆ rdy

pin_name_t rdy

TX ready pin.

◆ rst

pin_name_t rst

Reset pin.

◆ rtk

pin_name_t rtk

RTK stat pin.

◆ rx_pin

pin_name_t rx_pin

RX pin.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.

◆ stop_bit

uart_stop_bits_t stop_bit

Stop bits.

◆ tmp

pin_name_t tmp

Timepulse pin.

◆ tx_pin

pin_name_t tx_pin

TX pin.

◆ uart_blocking

bool uart_blocking

Wait for interrupt or not.


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