gnss14
2.1.0.0
|
This file contains API for GNSS 14 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | gnss14_s |
GNSS 14 Click context object. More... | |
struct | gnss14_cfg_t |
GNSS 14 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss14_master_io_t) (struct gnss14_s *, uint8_t *, uint8_t) |
GNSS 14 Click driver interface. More... | |
typedef struct gnss14_s | gnss14_t |
GNSS 14 Click context object. More... | |
Enumerations | |
enum | gnss14_drv_t { GNSS14_DRV_SEL_UART, GNSS14_DRV_SEL_I2C } |
GNSS 14 Click driver selector. More... | |
enum | gnss14_return_value_t { GNSS14_OK = 0, GNSS14_ERROR = -1 } |
GNSS 14 Click return value data. More... | |
Functions | |
void | gnss14_cfg_setup (gnss14_cfg_t *cfg) |
GNSS 14 configuration object setup function. More... | |
err_t | gnss14_init (gnss14_t *ctx, gnss14_cfg_t *cfg) |
GNSS 14 initialization function. More... | |
err_t | gnss14_generic_write (gnss14_t *ctx, uint8_t *data_in, uint16_t len) |
GNSS 14 data writing function. More... | |
err_t | gnss14_generic_read (gnss14_t *ctx, uint8_t *data_out, uint16_t len) |
GNSS 14 data reading function. More... | |
void | gnss14_set_io6_pin (gnss14_t *ctx, uint8_t state) |
GNSS 14 set IO6 pin function. More... | |
void | gnss14_set_rst_pin (gnss14_t *ctx, uint8_t state) |
GNSS 14 set RST pin function. More... | |
uint8_t | gnss14_get_eit_pin (gnss14_t *ctx) |
GNSS 14 get external interrupt pin state function. More... | |
uint8_t | gnss14_get_tp_pin (gnss14_t *ctx) |
GNSS 14 get time pulse signal pin state function. More... | |
void | gnss14_reset_device (gnss14_t *ctx) |
GNSS 14 reset device function. More... | |
err_t | gnss14_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS 14 parse GNGGA function. More... | |
This file contains API for GNSS 14 Click Driver.
typedef err_t( * gnss14_master_io_t) (struct gnss14_s *, uint8_t *, uint8_t) |
GNSS 14 Click driver interface.
Definition of driver interface of GNSS 14 Click driver. Driver serial interface.
GNSS 14 Click context object.
Context object definition of GNSS 14 Click driver.
enum gnss14_drv_t |