uwb4
2.1.0.0
|
This file contains API for UWB 4 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 | uwb4_t |
UWB 4 Click context object. More... | |
struct | uwb4_cfg_t |
UWB 4 Click configuration object. More... | |
Enumerations | |
enum | uwb4_return_value_t { UWB4_OK = 0, UWB4_ERROR = -1, UWB4_ERROR_TIMEOUT = -2, UWB4_ERROR_CMD = -3 } |
UWB 4 Click return value data. More... | |
Functions | |
void | uwb4_cfg_setup (uwb4_cfg_t *cfg) |
UWB 4 configuration object setup function. More... | |
err_t | uwb4_init (uwb4_t *ctx, uwb4_cfg_t *cfg) |
UWB 4 initialization function. More... | |
err_t | uwb4_generic_write (uwb4_t *ctx, uint8_t *data_in, uint16_t len) |
UWB 4 data writing function. More... | |
err_t | uwb4_generic_read (uwb4_t *ctx, uint8_t *data_out, uint16_t len) |
UWB 4 data reading function. More... | |
void | uwb4_set_rst_pin (uwb4_t *ctx, uint8_t state) |
UWB 4 set RST pin function. More... | |
void | uwb4_reset_device (uwb4_t *ctx) |
UWB 4 reset device function. More... | |
uint8_t | uwb4_get_btn_pin (uwb4_t *ctx) |
UWB 4 get BTN pin function. More... | |
void | uwb4_cmd_run (uwb4_t *ctx, uint8_t *cmd) |
UWB 4 cmd run function. More... | |
void | uwb4_cmd_set (uwb4_t *ctx, uint8_t *cmd, uint8_t *value) |
UWB 4 cmd set function. More... | |
This file contains API for UWB 4 Click Driver.
enum uwb4_return_value_t |