|
touchkey2
2.0.0.0
|
This file contains API for Touchkey 2 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 | touchkey2_t |
| Click ctx object definition. More... | |
| struct | touchkey2_cfg_t |
| Click configuration structure definition. More... | |
Macros | |
| #define | TOUCHKEY2_MAP_MIKROBUS(cfg, mikrobus) |
| #define | TOUCHKEY2_RETVAL uint8_t |
| #define | TOUCHKEY2_OK 0x00 |
| #define | TOUCHKEY2_INIT_ERROR 0xFF |
| #define | DRV_RX_BUFFER_SIZE 500 |
Functions | |
| void | touchkey2_cfg_setup (touchkey2_cfg_t *cfg) |
| Config Object Initialization function. More... | |
| TOUCHKEY2_RETVAL | touchkey2_init (touchkey2_t *ctx, touchkey2_cfg_t *cfg) |
| Initialization function. More... | |
| void | touchkey2_generic_multi_write (touchkey2_t *ctx, char *data_buf, uint8_t len) |
| Generic multi write function. More... | |
| void | touchkey2_generic_multi_read (touchkey2_t *ctx, char *data_buf, uint8_t len) |
| Generic multi read function. More... | |
| char | touchkey2_generic_single_read (touchkey2_t *ctx) |
| Generic single read function. More... | |
| void | touchkey2_generic_single_write (touchkey2_t *ctx, char tx_data) |
| Generic single write function. More... | |
| void | touchkey2_set_reset_pin (touchkey2_t *ctx) |
| Set reset pin function. More... | |
| void | touchkey2_clear_reset_pin (touchkey2_t *ctx) |
| Clear reset pin function. More... | |
| void | touchkey2_target_reset (touchkey2_t *ctx) |
| Reset function. More... | |
This file contains API for Touchkey 2 Click driver.