gnss18 2.1.0.0
|
This file contains API for GNSS 18 Click Driver. More...
#include "mikrosdk_version.h"
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | gnss18_s |
GNSS 18 Click context object. More... | |
struct | gnss18_cfg_t |
GNSS 18 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss18_master_io_t) (struct gnss18_s *, uint8_t *, uint8_t) |
GNSS 18 Click driver interface. More... | |
typedef struct gnss18_s | gnss18_t |
GNSS 18 Click context object. More... | |
Enumerations | |
enum | gnss18_drv_t { GNSS18_DRV_SEL_UART , GNSS18_DRV_SEL_I2C } |
GNSS 18 Click driver selector. More... | |
enum | gnss18_return_value_t { GNSS18_OK = 0 , GNSS18_ERROR = -1 } |
GNSS 18 Click return value data. More... | |
Functions | |
void | gnss18_cfg_setup (gnss18_cfg_t *cfg) |
GNSS 18 configuration object setup function. More... | |
void | gnss18_drv_interface_selection (gnss18_cfg_t *cfg, gnss18_drv_t drv_sel) |
GNSS 18 driver interface setup function. More... | |
err_t | gnss18_init (gnss18_t *ctx, gnss18_cfg_t *cfg) |
GNSS 18 initialization function. More... | |
err_t | gnss18_generic_write (gnss18_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS 18 data writing function. More... | |
err_t | gnss18_generic_read (gnss18_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS 18 data reading function. More... | |
void | gnss18_set_rst_pin (gnss18_t *ctx, uint8_t state) |
GNSS 18 set RST pin function. More... | |
uint8_t | gnss18_get_int_pin (gnss18_t *ctx) |
GNSS 18 get INT pin function. More... | |
void | gnss18_reset_device (gnss18_t *ctx) |
GNSS 18 reset device function. More... | |
err_t | gnss18_parse_gpgga (uint8_t *rsp_buf, uint8_t gpgga_element, uint8_t *element_data) |
GNSS 18 parse GPGGA function. More... | |
This file contains API for GNSS 18 Click Driver.
typedef err_t(* gnss18_master_io_t) (struct gnss18_s *, uint8_t *, uint8_t) |
GNSS 18 Click driver interface.
Definition of driver interface of GNSS 18 Click driver. Driver serial interface.
GNSS 18 Click context object.
Context object definition of GNSS 18 Click driver.
enum gnss18_drv_t |