gnss11 2.1.0.0
|
This file contains API for GNSS 11 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 | gnss11_s |
GNSS 11 Click context object. More... | |
struct | gnss11_cfg_t |
GNSS 11 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | gnss11_master_io_t) (struct gnss11_s *, uint8_t *, uint16_t) |
typedef struct gnss11_s | gnss11_t |
GNSS 11 Click context object. | |
Enumerations | |
enum | gnss11_drv_t { GNSS11_DRV_SEL_UART , GNSS11_DRV_SEL_SPI , GNSS11_DRV_SEL_I2C } |
GNSS 11 Click driver selector. More... | |
enum | gnss11_return_value_t { GNSS11_OK = 0 , GNSS11_ERROR = -1 } |
GNSS 11 Click return value data. More... | |
Functions | |
void | gnss11_cfg_setup (gnss11_cfg_t *cfg) |
GNSS 11 configuration object setup function. | |
err_t | gnss11_init (gnss11_t *ctx, gnss11_cfg_t *cfg) |
GNSS 11 initialization function. | |
void | gnss11_drv_interface_selection (gnss11_cfg_t *cfg, gnss11_drv_t drv_sel) |
GNSS 11 driver interface setup function. | |
err_t | gnss11_default_cfg (gnss11_t *ctx) |
GNSS 11 default configuration function. | |
err_t | gnss11_generic_write (gnss11_t *ctx, uint8_t *data_in, uint16_t len) |
GNSS 11 data writing function. | |
err_t | gnss11_generic_read (gnss11_t *ctx, uint8_t *data_out, uint16_t len) |
GNSS 11 data reading function. | |
uint8_t | gnss11_get_ovc_pin (gnss11_t *ctx) |
GNSS 11 get OVC pin function. | |
void | gnss11_set_rst_pin (gnss11_t *ctx, uint8_t state) |
GNSS 11 set RST pin function. | |
void | gnss11_set_ant_on_pin (gnss11_t *ctx, uint8_t state) |
GNSS 11 set ANT_ON pin function. | |
uint8_t | gnss11_get_eint_pin (gnss11_t *ctx) |
GNSS 11 get Ext INT pin function. | |
void | gnss11_reset_device (gnss11_t *ctx) |
GNSS 11 reset device function. | |
err_t | gnss11_parse_gga (uint8_t *rsp_buf, uint8_t gga_element, uint8_t *element_data) |
GNSS 11 parse GGA function. | |
This file contains API for GNSS 11 Click Driver.
typedef err_t(* gnss11_master_io_t) (struct gnss11_s *, uint8_t *, uint16_t) |
Driver serial interface.
GNSS 11 Click context object.
Context object definition of GNSS 11 Click driver.
enum gnss11_drv_t |