gnss12 2.0.0.0
GNSS 12 Registers Settings

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

Macros

#define GNSS12_RSP_START   "$"
 GNSS 12 response buffer commands.
 
#define GNSS12_RSP_DELIMITER   ","
 
#define GNSS12_RSP_GNGGA   "$GNGGA"
 
#define GNSS12_GNGGA_ELEMENT_SIZE   15
 GNSS 12 GNGGA command elements.
 
#define GNSS12_GNGGA_TIME   1
 
#define GNSS12_GNGGA_LATITUDE   2
 
#define GNSS12_GNGGA_LATITUDE_SIDE   3
 
#define GNSS12_GNGGA_LONGITUDE   4
 
#define GNSS12_GNGGA_LONGITUDE_SIDE   5
 
#define GNSS12_GNGGA_QUALITY_INDICATOR   6
 
#define GNSS12_GNGGA_NUMBER_OF_SATELLITES   7
 
#define GNSS12_GNGGA_H_DILUTION_OF_POS   8
 
#define GNSS12_GNGGA_ALTITUDE   9
 
#define GNSS12_GNGGA_ALTITUDE_UNIT   10
 
#define GNSS12_GNGGA_GEOIDAL_SEPARATION   11
 
#define GNSS12_GNGGA_GEOIDAL_SEPARATION_UNIT   12
 
#define GNSS12_GNGGA_TIME_SINCE_LAST_DGPS   13
 
#define GNSS12_GNGGA_DGPS_REFERENCE_STATION_ID   14
 
#define GNSS12_DUMMY   0xFF
 GNSS 12 dummy data.
 
#define GNSS12_SET_DEV_ADDR   0x42
 GNSS 12 device address setting.
 
#define GNSS12_DRV_BUFFER_SIZE   200
 GNSS 12 driver buffer size.
 
#define GNSS12_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define GNSS12_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of GNSS 12 Click driver.

Macro Definition Documentation

◆ GNSS12_DRV_BUFFER_SIZE

#define GNSS12_DRV_BUFFER_SIZE   200

GNSS 12 driver buffer size.

Specified size of driver ring buffer.

Note
Increase buffer size if needed.

◆ GNSS12_DUMMY

#define GNSS12_DUMMY   0xFF

GNSS 12 dummy data.

Definition of dummy data.

◆ GNSS12_GNGGA_ALTITUDE

#define GNSS12_GNGGA_ALTITUDE   9

◆ GNSS12_GNGGA_ALTITUDE_UNIT

#define GNSS12_GNGGA_ALTITUDE_UNIT   10

◆ GNSS12_GNGGA_DGPS_REFERENCE_STATION_ID

#define GNSS12_GNGGA_DGPS_REFERENCE_STATION_ID   14

◆ GNSS12_GNGGA_ELEMENT_SIZE

#define GNSS12_GNGGA_ELEMENT_SIZE   15

GNSS 12 GNGGA command elements.

Specified GNGGA command elements of GNSS 12 Click driver.

◆ GNSS12_GNGGA_GEOIDAL_SEPARATION

#define GNSS12_GNGGA_GEOIDAL_SEPARATION   11

◆ GNSS12_GNGGA_GEOIDAL_SEPARATION_UNIT

#define GNSS12_GNGGA_GEOIDAL_SEPARATION_UNIT   12

◆ GNSS12_GNGGA_H_DILUTION_OF_POS

#define GNSS12_GNGGA_H_DILUTION_OF_POS   8

◆ GNSS12_GNGGA_LATITUDE

#define GNSS12_GNGGA_LATITUDE   2

◆ GNSS12_GNGGA_LATITUDE_SIDE

#define GNSS12_GNGGA_LATITUDE_SIDE   3

◆ GNSS12_GNGGA_LONGITUDE

#define GNSS12_GNGGA_LONGITUDE   4

◆ GNSS12_GNGGA_LONGITUDE_SIDE

#define GNSS12_GNGGA_LONGITUDE_SIDE   5

◆ GNSS12_GNGGA_NUMBER_OF_SATELLITES

#define GNSS12_GNGGA_NUMBER_OF_SATELLITES   7

◆ GNSS12_GNGGA_QUALITY_INDICATOR

#define GNSS12_GNGGA_QUALITY_INDICATOR   6

◆ GNSS12_GNGGA_TIME

#define GNSS12_GNGGA_TIME   1

◆ GNSS12_GNGGA_TIME_SINCE_LAST_DGPS

#define GNSS12_GNGGA_TIME_SINCE_LAST_DGPS   13

◆ GNSS12_RSP_DELIMITER

#define GNSS12_RSP_DELIMITER   ","

◆ GNSS12_RSP_GNGGA

#define GNSS12_RSP_GNGGA   "$GNGGA"

◆ GNSS12_RSP_START

#define GNSS12_RSP_START   "$"

GNSS 12 response buffer commands.

Specified response buffer commands of GNSS 12 Click driver.

◆ GNSS12_SET_DATA_SAMPLE_EDGE

#define GNSS12_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 gnss12_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ GNSS12_SET_DATA_SAMPLE_MIDDLE

#define GNSS12_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ GNSS12_SET_DEV_ADDR

#define GNSS12_SET_DEV_ADDR   0x42

GNSS 12 device address setting.

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