mosaic
2.1.0.0
|
This file contains API for Mosaic 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 | mosaic_t |
Mosaic Click context object. More... | |
struct | mosaic_cfg_t |
Mosaic Click configuration object. More... | |
Enumerations | |
enum | mosaic_return_value_t { MOSAIC_OK = 0, MOSAIC_ERROR = -1, MOSAIC_ERROR_TIMEOUT = -2 } |
Mosaic Click return value data. More... | |
Functions | |
void | mosaic_cfg_setup (mosaic_cfg_t *cfg) |
Mosaic configuration object setup function. More... | |
err_t | mosaic_init (mosaic_t *ctx, mosaic_cfg_t *cfg) |
Mosaic initialization function. More... | |
err_t | mosaic_generic_write (mosaic_t *ctx, uint8_t *data_in, uint16_t len) |
Mosaic data writing function. More... | |
err_t | mosaic_generic_read (mosaic_t *ctx, uint8_t *data_out, uint16_t len) |
Mosaic data reading function. More... | |
void | mosaic_set_rst_pin (mosaic_t *ctx, uint8_t state) |
Mosaic set rst pin function. More... | |
void | mosaic_set_cts_pin (mosaic_t *ctx, uint8_t state) |
Mosaic set cts pin function. More... | |
uint8_t | mosaic_get_rdy_pin (mosaic_t *ctx) |
Mosaic get rdy pin function. More... | |
uint8_t | mosaic_get_rts_pin (mosaic_t *ctx) |
Mosaic get rts pin function. More... | |
void | mosaic_send_cmd (mosaic_t *ctx, uint8_t *cmd) |
Send command function. More... | |
void | mosaic_send_cmd_with_par (mosaic_t *ctx, uint8_t *cmd_buf, uint8_t *param_buf) |
Send command function with parameter. More... | |
void | mosaic_enable_nmea_output (mosaic_t *ctx, uint8_t *msg_param, uint8_t *interval) |
Mosaic enable nmea output function. More... | |
void | mosaic_disable_nmea_output (mosaic_t *ctx) |
Mosaic disable nmea output function. More... | |
err_t | mosaic_parse_gga (uint8_t *rsp_buf, uint8_t gga_element, uint8_t *element_data) |
Mosaic parse GGA function. More... | |
This file contains API for Mosaic Click Driver.