Home
last modified time | relevance | path

Searched refs:tap_threshold (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/sensor/st/iis2dlpc/
Diis2dlpc.c342 LOG_INF("TAP: ths_x is %02x", cfg->tap_threshold[0]); in iis2dlpc_init()
343 if (iis2dlpc_tap_threshold_x_set(ctx, cfg->tap_threshold[0]) < 0) { in iis2dlpc_init()
348 LOG_INF("TAP: ths_y is %02x", cfg->tap_threshold[1]); in iis2dlpc_init()
349 if (iis2dlpc_tap_threshold_y_set(ctx, cfg->tap_threshold[1]) < 0) { in iis2dlpc_init()
354 LOG_INF("TAP: ths_z is %02x", cfg->tap_threshold[2]); in iis2dlpc_init()
355 if (iis2dlpc_tap_threshold_z_set(ctx, cfg->tap_threshold[2]) < 0) { in iis2dlpc_init()
360 if (cfg->tap_threshold[0] > 0) { in iis2dlpc_init()
368 if (cfg->tap_threshold[1] > 0) { in iis2dlpc_init()
376 if (cfg->tap_threshold[2] > 0) { in iis2dlpc_init()
433 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \
Diis2dlpc.h77 uint8_t tap_threshold[3]; member
/Zephyr-latest/drivers/sensor/st/lis2dw12/
Dlis2dw12_trigger.c153 if ((cfg->tap_threshold[0] == 0) && in lis2dw12_trigger_set()
154 (cfg->tap_threshold[1] == 0) && in lis2dw12_trigger_set()
155 (cfg->tap_threshold[2] == 0)) { in lis2dw12_trigger_set()
383 LOG_DBG("TAP: ths_x is %02x", cfg->tap_threshold[0]); in lis2dw12_tap_init()
384 if (lis2dw12_tap_threshold_x_set(ctx, cfg->tap_threshold[0]) < 0) { in lis2dw12_tap_init()
389 LOG_DBG("TAP: ths_y is %02x", cfg->tap_threshold[1]); in lis2dw12_tap_init()
390 if (lis2dw12_tap_threshold_y_set(ctx, cfg->tap_threshold[1]) < 0) { in lis2dw12_tap_init()
395 LOG_DBG("TAP: ths_z is %02x", cfg->tap_threshold[2]); in lis2dw12_tap_init()
396 if (lis2dw12_tap_threshold_z_set(ctx, cfg->tap_threshold[2]) < 0) { in lis2dw12_tap_init()
401 if (cfg->tap_threshold[0] > 0) { in lis2dw12_tap_init()
[all …]
Dlis2dw12.h95 uint8_t tap_threshold[3]; member
Dlis2dw12.c612 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \