nanogps2 2.0.0.0
|
This file contains API for Nano GPS 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | nanogps2_t |
Click ctx object definition. More... | |
struct | nanogps2_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | nanogps2_error_t |
Error type. | |
Functions | |
void | nanogps2_cfg_setup (nanogps2_cfg_t *cfg) |
Config Object Initialization function. | |
NANOGPS2_RETVAL | nanogps2_init (nanogps2_t *ctx, nanogps2_cfg_t *cfg) |
Initialization function. | |
void | nanogps2_module_wakeup (nanogps2_t *ctx) |
Wake-up module. | |
void | nanogps2_set_fon_pin_state (nanogps2_t *ctx, uint8_t state) |
Generic function for setting fon pin status. | |
void | nanogps2_set_cts_pin_state (nanogps2_t *ctx, uint8_t state) |
Generic function for setting cts pin status. | |
uint8_t | nanogps2_get_wkp_pin (nanogps2_t *ctx) |
Get WKP pin state. | |
uint8_t | nanogps2_get_rts_pin (nanogps2_t *ctx) |
Get RTS pin state. | |
void | nanogps2_set_en_pin_state (nanogps2_t *ctx, uint8_t state) |
Generic function for setting en pin status. | |
void | nanogps2_generic_write (nanogps2_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | nanogps2_generic_read (nanogps2_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
nanogps2_error_t | nanogps2_generic_parser (char *rsp, uint8_t command, uint8_t element, char *parser_buf) |
Generic parser function. | |
This file contains API for Nano GPS 2 Click driver.