gnss15 2.1.0.0
|
This file contains API for GNSS 15 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 | gnss15_s |
GNSS 15 Click context object. More... | |
struct | gnss15_cfg_t |
GNSS 15 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss15_master_io_t) (struct gnss15_s *, uint8_t *, uint8_t) |
GNSS 15 Click driver interface. | |
typedef struct gnss15_s | gnss15_t |
GNSS 15 Click context object. | |
Enumerations | |
enum | gnss15_drv_t { GNSS15_DRV_SEL_UART , GNSS15_DRV_SEL_I2C } |
GNSS 15 Click driver selector. More... | |
enum | gnss15_return_value_t { GNSS15_OK = 0 , GNSS15_ERROR = -1 } |
GNSS 15 Click return value data. More... | |
Functions | |
void | gnss15_cfg_setup (gnss15_cfg_t *cfg) |
GNSS 15 configuration object setup function. | |
err_t | gnss15_init (gnss15_t *ctx, gnss15_cfg_t *cfg) |
GNSS 15 initialization function. | |
err_t | gnss15_generic_write (gnss15_t *ctx, uint8_t *data_in, uint16_t len) |
GNSS 15 data writing function. | |
err_t | gnss15_generic_read (gnss15_t *ctx, uint8_t *data_out, uint16_t len) |
GNSS 15 data reading function. | |
void | gnss15_set_rst_pin (gnss15_t *ctx, uint8_t state) |
GNSS 15 set RST pin function. | |
void | gnss15_set_wup_pin (gnss15_t *ctx, uint8_t state) |
GNSS 15 set WUP pin function. | |
uint8_t | gnss15_get_interrupt (gnss15_t *ctx) |
GNSS 15 get interrupt pin state function. | |
void | gnss15_reset_device (gnss15_t *ctx) |
GNSS 15 reset device function. | |
err_t | gnss15_parse_gpgga (uint8_t *rsp_buf, uint8_t gpgga_element, uint8_t *element_data) |
GNSS 15 parse GPGGA function. | |
This file contains API for GNSS 15 Click Driver.
typedef err_t(* gnss15_master_io_t) (struct gnss15_s *, uint8_t *, uint8_t) |
GNSS 15 Click driver interface.
Definition of driver interface of GNSS 15 Click driver. Driver serial interface.
GNSS 15 Click context object.
Context object definition of GNSS 15 Click driver.
enum gnss15_drv_t |