|
btez
2.0.0.0
|
This file contains API for BT-EZ 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 | btez_t |
| Click ctx object definition. More... | |
| struct | btez_cfg_t |
| Click configuration structure definition. More... | |
Macros | |
| #define | BTEZ_MAP_MIKROBUS(cfg, mikrobus) |
| #define | BTEZ_RETVAL uint8_t |
| #define | BTEZ_OK 0x00 |
| #define | BTEZ_INIT_ERROR 0xFF |
| #define | DRV_RX_BUFFER_SIZE 500 |
| #define | DRV_TX_BUFFER_SIZE 200 |
Typedefs | |
| typedef uint8_t | btez_error_t |
| Error type. More... | |
Functions | |
| void | btez_cfg_setup (btez_cfg_t *cfg) |
| Config Object Initialization function. More... | |
| BTEZ_RETVAL | btez_init (btez_t *ctx, btez_cfg_t *cfg) |
| Initialization function. More... | |
| void | btez_module_reset (btez_t *ctx) |
| Reset module. More... | |
| void | btez_generic_write (btez_t *ctx, char *data_buf, uint16_t len) |
| Generic write function. More... | |
| int32_t | btez_generic_read (btez_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function. More... | |
| void | btez_send_command (btez_t *ctx, char *command) |
| Send command function. More... | |
This file contains API for BT-EZ Click driver.
1.8.16