touchkey 2.0.0.0
|
This file contains API for TouchKey Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | touchkey_t |
Click ctx object definition. More... | |
struct | touchkey_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | TOUCHKEY_MAP_MIKROBUS(cfg, mikrobus) |
#define | TOUCHKEY_RETVAL uint8_t |
#define | TOUCHKEY_OK 0x00 |
#define | TOUCHKEY_INIT_ERROR 0xFF |
Functions | |
void | touchkey_cfg_setup (touchkey_cfg_t *cfg) |
Config Object Initialization function. | |
TOUCHKEY_RETVAL | touchkey_init (touchkey_t *ctx, touchkey_cfg_t *cfg) |
Initialization function. | |
uint8_t | touchkey_a (touchkey_t *ctx) |
Taster A pressed function. | |
uint8_t | touchkey_b (touchkey_t *ctx) |
Taster B pressed function. | |
uint8_t | touchkey_c (touchkey_t *ctx) |
Taster C pressed function. | |
uint8_t | touchkey_d (touchkey_t *ctx) |
Taster D pressed function. | |
This file contains API for TouchKey Click driver.