gnss11 2.1.0.0
GNSS 11 Device Settings

Settings for registers of GNSS 11 Click driver. More...

Macros

#define GNSS11_RSP_START   "$"
 GNSS 11 response buffer commands.
 
#define GNSS11_RSP_DELIMITER   ","
 
#define GNSS11_RSP_END   "\r\n"
 
#define GNSS11_RSP_GGA   "GGA"
 
#define GNSS11_GGA_ELEMENT_SIZE   15
 GNSS 11 GGA command elements.
 
#define GNSS11_GGA_TIME   1
 
#define GNSS11_GGA_LATITUDE   2
 
#define GNSS11_GGA_LATITUDE_SIDE   3
 
#define GNSS11_GGA_LONGITUDE   4
 
#define GNSS11_GGA_LONGITUDE_SIDE   5
 
#define GNSS11_GGA_QUALITY_INDICATOR   6
 
#define GNSS11_GGA_NUMBER_OF_SATELLITES   7
 
#define GNSS11_GGA_H_DILUTION_OF_POS   8
 
#define GNSS11_GGA_ALTITUDE   9
 
#define GNSS11_GGA_ALTITUDE_UNIT   10
 
#define GNSS11_GGA_GEOIDAL_SEPARATION   11
 
#define GNSS11_GGA_GEOIDAL_SEPARATION_UNIT   12
 
#define GNSS11_GGA_TIME_SINCE_LAST_DGPS   13
 
#define GNSS11_GGA_DGPS_REFERENCE_STATION_ID   14
 
#define GNSS11_DUMMY   0xFF
 GNSS 11 dummy data.
 
#define GNSS11_SET_DEV_ADDR   0x42
 GNSS 11 device address setting.
 
#define GNSS11_TX_DRV_BUFFER_SIZE   100
 GNSS 11 driver buffer size.
 
#define GNSS11_RX_DRV_BUFFER_SIZE   1000
 
#define GNSS11_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define GNSS11_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of GNSS 11 Click driver.

Macro Definition Documentation

◆ GNSS11_DUMMY

#define GNSS11_DUMMY   0xFF

GNSS 11 dummy data.

Definition of dummy data.

◆ GNSS11_GGA_ALTITUDE

#define GNSS11_GGA_ALTITUDE   9

◆ GNSS11_GGA_ALTITUDE_UNIT

#define GNSS11_GGA_ALTITUDE_UNIT   10

◆ GNSS11_GGA_DGPS_REFERENCE_STATION_ID

#define GNSS11_GGA_DGPS_REFERENCE_STATION_ID   14

◆ GNSS11_GGA_ELEMENT_SIZE

#define GNSS11_GGA_ELEMENT_SIZE   15

GNSS 11 GGA command elements.

Specified GGA command elements of GNSS 11 Click driver.

◆ GNSS11_GGA_GEOIDAL_SEPARATION

#define GNSS11_GGA_GEOIDAL_SEPARATION   11

◆ GNSS11_GGA_GEOIDAL_SEPARATION_UNIT

#define GNSS11_GGA_GEOIDAL_SEPARATION_UNIT   12

◆ GNSS11_GGA_H_DILUTION_OF_POS

#define GNSS11_GGA_H_DILUTION_OF_POS   8

◆ GNSS11_GGA_LATITUDE

#define GNSS11_GGA_LATITUDE   2

◆ GNSS11_GGA_LATITUDE_SIDE

#define GNSS11_GGA_LATITUDE_SIDE   3

◆ GNSS11_GGA_LONGITUDE

#define GNSS11_GGA_LONGITUDE   4

◆ GNSS11_GGA_LONGITUDE_SIDE

#define GNSS11_GGA_LONGITUDE_SIDE   5

◆ GNSS11_GGA_NUMBER_OF_SATELLITES

#define GNSS11_GGA_NUMBER_OF_SATELLITES   7

◆ GNSS11_GGA_QUALITY_INDICATOR

#define GNSS11_GGA_QUALITY_INDICATOR   6

◆ GNSS11_GGA_TIME

#define GNSS11_GGA_TIME   1

◆ GNSS11_GGA_TIME_SINCE_LAST_DGPS

#define GNSS11_GGA_TIME_SINCE_LAST_DGPS   13

◆ GNSS11_RSP_DELIMITER

#define GNSS11_RSP_DELIMITER   ","

◆ GNSS11_RSP_END

#define GNSS11_RSP_END   "\r\n"

◆ GNSS11_RSP_GGA

#define GNSS11_RSP_GGA   "GGA"

◆ GNSS11_RSP_START

#define GNSS11_RSP_START   "$"

GNSS 11 response buffer commands.

Specified response buffer commands of GNSS 11 Click driver.

◆ GNSS11_RX_DRV_BUFFER_SIZE

#define GNSS11_RX_DRV_BUFFER_SIZE   1000

◆ GNSS11_SET_DATA_SAMPLE_EDGE

#define GNSS11_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with gnss11_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ GNSS11_SET_DATA_SAMPLE_MIDDLE

#define GNSS11_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ GNSS11_SET_DEV_ADDR

#define GNSS11_SET_DEV_ADDR   0x42

GNSS 11 device address setting.

Specified setting for device slave address selection of GNSS 11 Click driver.

◆ GNSS11_TX_DRV_BUFFER_SIZE

#define GNSS11_TX_DRV_BUFFER_SIZE   100

GNSS 11 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.