tamper 2.0.0.0
|
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. | |
void tamper_cfg_setup | ( | tamper_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
TAMPER_RETVAL tamper_init | ( | tamper_t * | ctx, |
tamper_cfg_t * | cfg ) |
Initialization function.
tamper | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint8_t tamper_state | ( | tamper_t * | ctx | ) |
Switch state detection function.
ctx | Click object. |
@description Function showes the state of the switch.