ninaw152
2.1.0.0
|
This file contains API for NINA-W152 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | ninaw152_t |
NINA-W152 Click context object. More... | |
struct | ninaw152_cfg_t |
NINA-W152 Click configuration object. More... | |
Enumerations | |
enum | ninaw152_drv_t { NINAW152_DRV_SEL_UART, NINAW152_DRV_SEL_SPI } |
NINA-W152 Click driver selector. More... | |
enum | ninaw152_return_value_t { NINAW152_OK = 0, NINAW152_ERROR = -1, NINAW152_ERROR_TIMEOUT = -2, NINAW152_ERROR_CMD = -3, NINAW152_ERROR_UNKNOWN = -4 } |
NINA-W152 Click return value data. More... | |
Functions | |
void | ninaw152_cfg_setup (ninaw152_cfg_t *cfg) |
NINA-W152 configuration object setup function. More... | |
err_t | ninaw152_init (ninaw152_t *ctx, ninaw152_cfg_t *cfg) |
NINA-W152 initialization function. More... | |
void | ninaw152_drv_interface_sel (ninaw152_cfg_t *cfg, ninaw152_drv_t drv_sel) |
NINA-W152 driver interface setup function. More... | |
err_t | ninaw152_generic_write (ninaw152_t *ctx, uint8_t *data_in, uint16_t len) |
NINA-W152 data writing function. More... | |
err_t | ninaw152_generic_read (ninaw152_t *ctx, uint8_t *data_out, uint16_t len) |
NINA-W152 data reading function. More... | |
void | ninaw152_set_rst_pin (ninaw152_t *ctx, uint8_t state) |
NINA-W152 set rst pin function. More... | |
void | ninaw152_reset_device (ninaw152_t *ctx) |
NINA-W152 reset device function. More... | |
void | ninaw152_set_cts_pin (ninaw152_t *ctx, uint8_t state) |
NINA-W152 set cts pin function. More... | |
void | ninaw152_set_esc_pin (ninaw152_t *ctx, uint8_t state) |
NINA-W152 set esc pin function. More... | |
uint8_t | ninaw152_get_rts_pin (ninaw152_t *ctx) |
NINA-W152 get rts pin function. More... | |
uint8_t | ninaw152_get_sry_pin (ninaw152_t *ctx) |
NINA-W152 get sry pin function. More... | |
void | ninaw152_send_cmd (ninaw152_t *ctx, uint8_t *cmd) |
NINA-W152 send command function. More... | |
void | ninaw152_send_cmd_with_par (ninaw152_t *ctx, uint8_t *at_cmd_buf, uint8_t *param_buf) |
NINA-W152 send command with parameter function. More... | |
void | ninaw152_send_cmd_check (ninaw152_t *ctx, uint8_t *at_cmd_buf) |
NINA-W152 send command check function. More... | |
This file contains API for NINA-W152 Click Driver.
enum ninaw152_drv_t |