tamper 2.0.0.0
|
This file contains API for Tamper Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | tamper_t |
Click ctx object definition. More... | |
struct | tamper_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | TAMPER_MAP_MIKROBUS(cfg, mikrobus) cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT ) |
#define | TAMPER_RETVAL uint8_t |
#define | TAMPER_OK 0x00 |
#define | TAMPER_INIT_ERROR 0xFF |
Functions | |
void | tamper_cfg_setup (tamper_cfg_t *cfg) |
Config Object Initialization function. | |
TAMPER_RETVAL | tamper_init (tamper_t *ctx, tamper_cfg_t *cfg) |
Initialization function. | |
uint8_t | tamper_state (tamper_t *ctx) |
Switch state detection function. | |
This file contains API for Tamper Click driver.