gnss10 2.0.0.0
|
This file contains API for GNSS 10 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 | gnss10_s |
GNSS 10 Click context object. More... | |
struct | gnss10_cfg_t |
GNSS 10 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss10_master_io_t) (struct gnss10_s *, uint8_t *, uint8_t) |
GNSS 10 Click driver interface. | |
typedef struct gnss10_s | gnss10_t |
GNSS 10 Click context object. | |
Enumerations | |
enum | gnss10_drv_t { GNSS10_DRV_SEL_UART , GNSS10_DRV_SEL_SPI , GNSS10_DRV_SEL_I2C } |
GNSS 10 Click driver selector. More... | |
enum | gnss10_return_value_t { GNSS10_OK = 0 , GNSS10_ERROR = -1 } |
GNSS 10 Click return value data. More... | |
Functions | |
void | gnss10_cfg_setup (gnss10_cfg_t *cfg) |
GNSS 10 configuration object setup function. | |
void | gnss10_drv_interface_selection (gnss10_cfg_t *cfg, gnss10_drv_t drv_sel) |
GNSS 10 driver interface setup function. | |
err_t | gnss10_init (gnss10_t *ctx, gnss10_cfg_t *cfg) |
GNSS 10 initialization function. | |
err_t | gnss10_generic_write (gnss10_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS 10 data writing function. | |
err_t | gnss10_generic_read (gnss10_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS 10 data reading function. | |
void | gnss10_set_rst_pin (gnss10_t *ctx, uint8_t state) |
GNSS 10 set RST pin function. | |
uint8_t | gnss10_get_eint_1_pin (gnss10_t *ctx) |
GNSS 10 get Ext INT 1 pin function. | |
uint8_t | gnss10_get_int_pin (gnss10_t *ctx) |
GNSS 10 get INT pin function. | |
void | gnss10_reset_device (gnss10_t *ctx) |
GNSS 10 reset device function. | |
err_t | gnss10_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS 10 parse GNGGA function. | |
This file contains API for GNSS 10 Click Driver.
typedef err_t(* gnss10_master_io_t) (struct gnss10_s *, uint8_t *, uint8_t) |
GNSS 10 Click driver interface.
Definition of driver interface of GNSS 10 Click driver. Driver serial interface.
GNSS 10 Click context object.
Context object definition of GNSS 10 Click driver.
enum gnss10_drv_t |