gnss3 2.0.0.0
|
This file contains API for GNSS3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | gnss3_t |
Click ctx object definition. More... | |
struct | gnss3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | GNSS3_MAP_MIKROBUS(cfg, mikrobus) |
#define | GNSS3_RSP_START "$" |
GNSS 3 response buffer commands. | |
#define | GNSS3_RSP_DELIMITER "," |
#define | GNSS3_RSP_GNGGA "$GNGGA" |
#define | GNSS3_GNGGA_ELEMENT_SIZE 15 |
GNSS 3 GNGGA command elements. | |
#define | GNSS3_GNGGA_TIME 1 |
#define | GNSS3_GNGGA_LATITUDE 2 |
#define | GNSS3_GNGGA_LATITUDE_SIDE 3 |
#define | GNSS3_GNGGA_LONGITUDE 4 |
#define | GNSS3_GNGGA_LONGITUDE_SIDE 5 |
#define | GNSS3_GNGGA_QUALITY_INDICATOR 6 |
#define | GNSS3_GNGGA_NUMBER_OF_SATELLITES 7 |
#define | GNSS3_GNGGA_H_DILUTION_OF_POS 8 |
#define | GNSS3_GNGGA_ALTITUDE 9 |
#define | GNSS3_GNGGA_ALTITUDE_UNIT 10 |
#define | GNSS3_GNGGA_GEOIDAL_SEPARATION 11 |
#define | GNSS3_GNGGA_GEOIDAL_SEPARATION_UNIT 12 |
#define | GNSS3_GNGGA_TIME_SINCE_LAST_DGPS 13 |
#define | GNSS3_GNGGA_DGPS_REFERENCE_STATION_ID 14 |
#define | GNSS3_DRV_RX_BUFFER_SIZE 500 |
Enumerations | |
enum | gnss3_return_value_t { GNSS3_OK = 0 , GNSS3_ERROR = -1 } |
GNSS 3 Click return value data. More... | |
Functions | |
void | gnss3_cfg_setup (gnss3_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | gnss3_init (gnss3_t *ctx, gnss3_cfg_t *cfg) |
Initialization function. | |
void | gnss3_module_wakeup (gnss3_t *ctx) |
Wake-up module. | |
void | gnss3_set_rst_pin (gnss3_t *ctx, uint8_t state) |
Set RST ( reset ) pin state. | |
uint8_t | gnss3_get_int_pin (gnss3_t *ctx) |
Get PPS pin state. | |
void | gnss3_generic_write (gnss3_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | gnss3_generic_read (gnss3_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
err_t | gnss3_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS 3 parse GNGGA function. | |
This file contains API for GNSS3 Click driver.