nanogps3 2.1.0.0
|
This file contains API for Nano GPS 3 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 | nanogps3_s |
Nano GPS 3 Click context object. More... | |
struct | nanogps3_cfg_t |
Nano GPS 3 Click configuration object. More... | |
Typedefs | |
typedef err_t(* | nanogps3_master_io_t) (struct nanogps3_s *, uint8_t *, uint8_t) |
Nano GPS 3 Click driver interface. | |
typedef struct nanogps3_s | nanogps3_t |
Nano GPS 3 Click context object. | |
Enumerations | |
enum | nanogps3_drv_t { NANOGPS3_DRV_SEL_I2C , NANOGPS3_DRV_SEL_UART } |
Nano GPS 3 Click driver selector. More... | |
enum | nanogps3_return_value_t { NANOGPS3_OK = 0 , NANOGPS3_ERROR = -1 } |
Nano GPS 3 Click return value data. More... | |
Functions | |
void | nanogps3_cfg_setup (nanogps3_cfg_t *cfg) |
Nano GPS 3 configuration object setup function. | |
err_t | nanogps3_init (nanogps3_t *ctx, nanogps3_cfg_t *cfg) |
Nano GPS 3 initialization function. | |
void | nanogps3_default_cfg (nanogps3_t *ctx) |
Nano GPS 3 default configuration function. | |
err_t | nanogps3_generic_write (nanogps3_t *ctx, uint8_t *data_in, uint8_t len) |
Nano GPS 3 data writing function. | |
err_t | nanogps3_generic_read (nanogps3_t *ctx, uint8_t *data_out, uint8_t len) |
Nano GPS 3 data reading function. | |
void | nanogps3_request_to_send (nanogps3_t *ctx, uint8_t rts) |
Nano GPS 3 request to send function. | |
uint8_t | nanogps3_clear_to_send (nanogps3_t *ctx) |
Nano GPS 3 clear to send function. | |
void | nanogps3_set_reset_state (nanogps3_t *ctx, uint8_t rst_state) |
Nano GPS 3 set reset state function. | |
void | nanogps3_set_force_on_state (nanogps3_t *ctx, uint8_t pwr_state) |
Nano GPS 3 set force on state function. | |
uint8_t | nanogps3_get_wup_pin (nanogps3_t *ctx) |
Nano GPS 3 get wakeup pin function. | |
err_t | nanogps3_parse_gngga (char *rsp_buf, uint8_t gngga_element, char *element_data) |
Nano GPS 3 parse GNGGA function. | |
This file contains API for Nano GPS 3 Click Driver.
typedef err_t(* nanogps3_master_io_t) (struct nanogps3_s *, uint8_t *, uint8_t) |
Nano GPS 3 Click driver interface.
Definition of driver interface of Nano GPS 3 Click driver. Driver serial interface.
typedef struct nanogps3_s nanogps3_t |
Nano GPS 3 Click context object.
Context object definition of Nano GPS 3 Click driver.
enum nanogps3_drv_t |