gnsszoe 2.0.0.0
|
This file contains API for GNSS ZOE 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 | gnsszoe_s |
GNSS ZOE Click context object. More... | |
struct | gnsszoe_cfg_t |
GNSS ZOE Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnsszoe_master_io_t) (struct gnsszoe_s *, uint8_t *, uint8_t) |
GNSS ZOE Click driver interface. | |
typedef struct gnsszoe_s | gnsszoe_t |
GNSS ZOE Click context object. | |
Enumerations | |
enum | gnsszoe_drv_t { GNSSZOE_DRV_SEL_UART , GNSSZOE_DRV_SEL_SPI , GNSSZOE_DRV_SEL_I2C } |
GNSS ZOE Click driver selector. More... | |
enum | gnsszoe_return_value_t { GNSSZOE_OK = 0 , GNSSZOE_ERROR = -1 } |
GNSS ZOE Click return value data. More... | |
Functions | |
void | gnsszoe_cfg_setup (gnsszoe_cfg_t *cfg) |
GNSS ZOE configuration object setup function. | |
void | gnsszoe_drv_interface_selection (gnsszoe_cfg_t *cfg, gnsszoe_drv_t drv_sel) |
GNSS ZOE driver interface setup function. | |
err_t | gnsszoe_init (gnsszoe_t *ctx, gnsszoe_cfg_t *cfg) |
GNSS ZOE initialization function. | |
err_t | gnsszoe_generic_write (gnsszoe_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS ZOE data writing function. | |
err_t | gnsszoe_generic_read (gnsszoe_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS ZOE data reading function. | |
void | gnsszoe_set_rst_pin (gnsszoe_t *ctx, uint8_t state) |
GNSS ZOE set RST pin function. | |
uint8_t | gnsszoe_get_exi_pin (gnsszoe_t *ctx) |
GNSS ZOE get EXI pin function. | |
void | gnsszoe_reset_device (gnsszoe_t *ctx) |
GNSS ZOE reset device function. | |
err_t | gnsszoe_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
GNSS ZOE parse GNGGA function. | |
This file contains API for GNSS ZOE Click Driver.
typedef err_t(* gnsszoe_master_io_t) (struct gnsszoe_s *, uint8_t *, uint8_t) |
GNSS ZOE Click driver interface.
Definition of driver interface of GNSS ZOE Click driver. Driver serial interface.
GNSS ZOE Click context object.
Context object definition of GNSS ZOE Click driver.
enum gnsszoe_drv_t |