gnssrtk2 2.1.0.0
|
This file contains API for GNSS RTK 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
#include "drv_uart.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | gnssrtk2_s |
GNSS RTK 2 Click context object. More... | |
struct | gnssrtk2_cfg_t |
GNSS RTK 2 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnssrtk2_master_io_t) (struct gnssrtk2_s *, uint8_t *, uint8_t) |
GNSS RTK 2 Click driver interface. | |
typedef struct gnssrtk2_s | gnssrtk2_t |
GNSS RTK 2 Click context object. | |
Enumerations | |
enum | gnssrtk2_drv_t { GNSSRTK2_DRV_SEL_UART , GNSSRTK2_DRV_SEL_SPI , GNSSRTK2_DRV_SEL_I2C } |
GNSS RTK 2 Click driver selector. More... | |
enum | gnssrtk2_return_value_t { GNSSRTK2_OK = 0 , GNSSRTK2_ERROR = -1 } |
GNSS RTK 2 Click return value data. More... | |
Functions | |
void | gnssrtk2_cfg_setup (gnssrtk2_cfg_t *cfg) |
GNSS RTK 2 configuration object setup function. | |
void | gnssrtk2_drv_interface_selection (gnssrtk2_cfg_t *cfg, gnssrtk2_drv_t drv_sel) |
GNSS RTK 2 driver interface setup function. | |
err_t | gnssrtk2_init (gnssrtk2_t *ctx, gnssrtk2_cfg_t *cfg) |
GNSS RTK 2 initialization function. | |
err_t | gnssrtk2_generic_write (gnssrtk2_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS RTK 2 data writing function. | |
err_t | gnssrtk2_generic_read (gnssrtk2_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS RTK 2 data reading function. | |
void | gnssrtk2_set_rst_pin (gnssrtk2_t *ctx, uint8_t state) |
GNSS RTK 2 set RST pin function. | |
uint8_t | gnssrtk2_get_rdy_pin (gnssrtk2_t *ctx) |
GNSS RTK 2 get RDY pin function. | |
uint8_t | gnssrtk2_get_rtk_pin (gnssrtk2_t *ctx) |
GNSS RTK 2 get RTK pin function. | |
uint8_t | gnssrtk2_get_tmp_pin (gnssrtk2_t *ctx) |
GNSS RTK 2 get TMP pin function. | |
void | gnssrtk2_reset_device (gnssrtk2_t *ctx) |
GNSS RTK 2 reset device function. | |
err_t | gnssrtk2_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS RTK 2 parse GNGGA function. | |
This file contains API for GNSS RTK 2 Click Driver.
typedef err_t(* gnssrtk2_master_io_t) (struct gnssrtk2_s *, uint8_t *, uint8_t) |
GNSS RTK 2 Click driver interface.
Definition of driver interface of GNSS RTK 2 Click driver. Driver serial interface.
typedef struct gnssrtk2_s gnssrtk2_t |
GNSS RTK 2 Click context object.
Context object definition of GNSS RTK 2 Click driver.
enum gnssrtk2_drv_t |