gnss12 2.0.0.0
|
This file contains API for GNSS 12 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 | gnss12_s |
GNSS 12 Click context object. More... | |
struct | gnss12_cfg_t |
GNSS 12 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss12_master_io_t) (struct gnss12_s *, uint8_t *, uint8_t) |
GNSS 12 Click driver interface. | |
typedef struct gnss12_s | gnss12_t |
GNSS 12 Click context object. | |
Enumerations | |
enum | gnss12_drv_t { GNSS12_DRV_SEL_UART , GNSS12_DRV_SEL_SPI , GNSS12_DRV_SEL_I2C } |
GNSS 12 Click driver selector. More... | |
enum | gnss12_return_value_t { GNSS12_OK = 0 , GNSS12_ERROR = -1 } |
GNSS 12 Click return value data. More... | |
Functions | |
void | gnss12_cfg_setup (gnss12_cfg_t *cfg) |
GNSS 12 configuration object setup function. | |
void | gnss12_drv_interface_selection (gnss12_cfg_t *cfg, gnss12_drv_t drv_sel) |
GNSS 12 driver interface setup function. | |
err_t | gnss12_init (gnss12_t *ctx, gnss12_cfg_t *cfg) |
GNSS 12 initialization function. | |
err_t | gnss12_generic_write (gnss12_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS 12 data writing function. | |
err_t | gnss12_generic_read (gnss12_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS 12 data reading function. | |
void | gnss12_set_rst_pin (gnss12_t *ctx, uint8_t state) |
GNSS 12 set RST pin function. | |
uint8_t | gnss12_get_lna_en_pin (gnss12_t *ctx) |
GNSS 12 get LNA EN pin function. | |
uint8_t | gnss12_get_eint_pin (gnss12_t *ctx) |
GNSS 12 get Ext INT pin function. | |
void | gnss12_reset_device (gnss12_t *ctx) |
GNSS 12 reset device function. | |
err_t | gnss12_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS 12 parse GNGGA function. | |
This file contains API for GNSS 12 Click Driver.
typedef err_t(* gnss12_master_io_t) (struct gnss12_s *, uint8_t *, uint8_t) |
GNSS 12 Click driver interface.
Definition of driver interface of GNSS 12 Click driver. Driver serial interface.
GNSS 12 Click context object.
Context object definition of GNSS 12 Click driver.
enum gnss12_drv_t |