lbandrtk 2.1.0.0
|
This file contains API for LBAND RTK 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 | |
union | lbandrtk_ubx_frame_t |
LBAND RTK Click UBX frame union object. More... | |
struct | lbandrtk_pmp_cfg_t |
LBAND RTK Click CFG-PMP: Point to multipoint (PMP) configuration object. More... | |
struct | lbandrtk_s |
LBAND RTK Click context object. More... | |
struct | lbandrtk_cfg_t |
LBAND RTK Click configuration object. More... | |
Typedefs | |
typedef err_t(* | lbandrtk_master_io_t) (struct lbandrtk_s *, uint8_t *, uint16_t) |
LBAND RTK Click driver interface. | |
typedef struct lbandrtk_s | lbandrtk_t |
LBAND RTK Click context object. | |
Enumerations | |
enum | lbandrtk_drv_t { LBANDRTK_DRV_SEL_UART , LBANDRTK_DRV_SEL_SPI , LBANDRTK_DRV_SEL_I2C } |
LBAND RTK Click driver selector. More... | |
enum | lbandrtk_return_value_t { LBANDRTK_OK = 0 , LBANDRTK_ERROR = -1 } |
LBAND RTK Click return value data. More... | |
Functions | |
void | lbandrtk_cfg_setup (lbandrtk_cfg_t *cfg) |
LBAND RTK configuration object setup function. | |
void | lbandrtk_drv_interface_selection (lbandrtk_cfg_t *cfg, lbandrtk_drv_t drv_sel) |
LBAND RTK driver interface setup function. | |
err_t | lbandrtk_init (lbandrtk_t *ctx, lbandrtk_cfg_t *cfg) |
LBAND RTK initialization function. | |
err_t | lbandrtk_generic_write (lbandrtk_t *ctx, uint8_t *data_in, uint16_t len) |
LBAND RTK data writing function. | |
err_t | lbandrtk_generic_read (lbandrtk_t *ctx, uint8_t *data_out, uint16_t len) |
LBAND RTK data reading function. | |
err_t | lbandrtk_write_ubx_frame (lbandrtk_t *ctx, lbandrtk_ubx_frame_t *frame) |
LBAND RTK write ubx frame function. | |
err_t | lbandrtk_read_ubx_frame (lbandrtk_t *ctx, lbandrtk_ubx_frame_t *frame) |
LBAND RTK read ubx frame function. | |
void | lbandrtk_set_rst_pin (lbandrtk_t *ctx, uint8_t state) |
LBAND RTK set rst pin function. | |
void | lbandrtk_set_ein_pin (lbandrtk_t *ctx, uint8_t state) |
LBAND RTK set ein pin function. | |
void | lbandrtk_reset_device (lbandrtk_t *ctx) |
LBAND RTK reset device function. | |
err_t | lbandrtk_check_ack (lbandrtk_t *ctx, uint8_t class_id, uint8_t msg_id) |
LBAND RTK check ack function. | |
err_t | lbandrtk_set_val_8 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint8_t value) |
LBAND RTK set val 8 function. | |
err_t | lbandrtk_set_val_16 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint16_t value) |
LBAND RTK set val 16 function. | |
err_t | lbandrtk_set_val_32 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint32_t value) |
LBAND RTK set val 32 function. | |
err_t | lbandrtk_set_val_64 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint32_t value_high, uint32_t value_low) |
LBAND RTK set val 64 function. | |
err_t | lbandrtk_get_val_8 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint8_t *value) |
LBAND RTK get val 8 function. | |
err_t | lbandrtk_get_val_16 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint16_t *value) |
LBAND RTK get val 16 function. | |
err_t | lbandrtk_get_val_32 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint32_t *value) |
LBAND RTK get val 32 function. | |
err_t | lbandrtk_get_val_64 (lbandrtk_t *ctx, uint32_t key_id, uint8_t layer, uint32_t *value_high, uint32_t *value_low) |
LBAND RTK get val 64 function. | |
err_t | lbandrtk_set_default_pmp_cfg (lbandrtk_t *ctx) |
LBAND RTK set default pmp cfg function. | |
err_t | lbandrtk_set_pmp_cfg (lbandrtk_t *ctx, lbandrtk_pmp_cfg_t pmp_cfg) |
LBAND RTK set pmp cfg function. | |
err_t | lbandrtk_get_pmp_cfg (lbandrtk_t *ctx, lbandrtk_pmp_cfg_t *pmp_cfg) |
LBAND RTK get pmp cfg function. | |
This file contains API for LBAND RTK Click Driver.
typedef err_t(* lbandrtk_master_io_t) (struct lbandrtk_s *, uint8_t *, uint16_t) |
LBAND RTK Click driver interface.
Definition of driver interface of LBAND RTK Click driver. Driver serial interface.
typedef struct lbandrtk_s lbandrtk_t |
LBAND RTK Click context object.
Context object definition of LBAND RTK Click driver.
enum lbandrtk_drv_t |