gnss6 2.1.0.0
|
This file contains API for GNSS 6 Click Driver. More...
#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 | gnss6_s |
GNSS 6 Click context object. More... | |
struct | gnss6_cfg_t |
GNSS 6 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss6_master_io_t) (struct gnss6_s *, uint8_t *, uint8_t) |
GNSS 6 Click driver interface. | |
typedef struct gnss6_s | gnss6_t |
GNSS 6 Click context object. | |
Enumerations | |
enum | gnss6_drv_t { GNSS6_DRV_SEL_UART , GNSS6_DRV_SEL_I2C } |
GNSS 6 Click driver selector. More... | |
enum | gnss6_return_value_t { GNSS6_OK = 0 , GNSS6_ERROR = -1 } |
GNSS 6 Click return value data. More... | |
Functions | |
void | gnss6_cfg_setup (gnss6_cfg_t *cfg) |
GNSS 6 configuration object setup function. | |
void | gnss6_drv_interface_selection (gnss6_cfg_t *cfg, gnss6_drv_t drv_sel) |
GNSS 6 driver interface setup function. | |
err_t | gnss6_init (gnss6_t *ctx, gnss6_cfg_t *cfg) |
GNSS 6 initialization function. | |
err_t | gnss6_generic_write (gnss6_t *ctx, uint8_t *data_in, uint8_t len) |
GNSS 6 data writing function. | |
err_t | gnss6_generic_read (gnss6_t *ctx, uint8_t *data_out, uint8_t len) |
GNSS 6 data reading function. | |
void | gnss6_set_rst_pin (gnss6_t *ctx, uint8_t state) |
GNSS 6 set RST pin function. | |
void | gnss6_set_wup_pin (gnss6_t *ctx, uint8_t state) |
GNSS 6 set WUP pin function. | |
uint8_t | gnss6_get_pps_pin (gnss6_t *ctx) |
GNSS 6 get PPS pin function. | |
void | gnss6_reset_device (gnss6_t *ctx) |
GNSS 6 reset device function. | |
err_t | gnss6_parse_gpgga (uint8_t *rsp_buf, uint8_t gpgga_element, uint8_t *element_data) |
GNSS 6 parse GPGGA function. | |
This file contains API for GNSS 6 Click Driver.
typedef err_t(* gnss6_master_io_t) (struct gnss6_s *, uint8_t *, uint8_t) |
GNSS 6 Click driver interface.
Definition of driver interface of GNSS 6 Click driver. Driver serial interface.
GNSS 6 Click context object.
Context object definition of GNSS 6 Click driver.
enum gnss6_drv_t |
enum gnss6_return_value_t |