ble7 2.0.0.0
|
This file contains API for BLE 7 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 | ble7_t |
Click ctx object definition. More... | |
struct | ble7_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BLE7_MAP_MIKROBUS(cfg, mikrobus) |
#define | BLE7_RETVAL uint8_t |
#define | BLE7_OK 0x00 |
#define | BLE7_INIT_ERROR 0xFF |
#define | BLE7_END_BUFF 0 |
#define | DRV_RX_BUFFER_SIZE 200 |
#define | DRV_TX_BUFFER_SIZE 100 |
Typedefs | |
typedef uint8_t | ble7_error_t |
Error type. | |
Functions | |
void | ble7_cfg_setup (ble7_cfg_t *cfg) |
Config Object Initialization function. | |
BLE7_RETVAL | ble7_init (ble7_t *ctx, ble7_cfg_t *cfg) |
Initialization function. | |
void | ble7_reset (ble7_t *ctx) |
Reset function. | |
void | ble7_generic_write (ble7_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | ble7_generic_read (ble7_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
void | ble7_send_command (ble7_t *ctx, char *command) |
Transmit function. | |
uint8_t | ble7_get_gp0 (ble7_t *ctx) |
GP0 Pin Getting function. | |
uint8_t | ble7_get_rts (ble7_t *ctx) |
RTS Pin Getting function. | |
void | ble7_set_gp1 (ble7_t *ctx, uint8_t state) |
GP1 Pin Setting function. | |
void | ble7_set_cts (ble7_t *ctx, uint8_t state) |
CTS Pin Setting function. | |
This file contains API for BLE 7 Click driver.