Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/sensor/iis2dlpc/
Diis2dlpc.c343 LOG_INF("TAP: ths_x is %02x", cfg->tap_threshold[0]); in iis2dlpc_init()
344 if (iis2dlpc_tap_threshold_x_set(ctx, cfg->tap_threshold[0]) < 0) { in iis2dlpc_init()
349 LOG_INF("TAP: ths_y is %02x", cfg->tap_threshold[1]); in iis2dlpc_init()
350 if (iis2dlpc_tap_threshold_y_set(ctx, cfg->tap_threshold[1]) < 0) { in iis2dlpc_init()
355 LOG_INF("TAP: ths_z is %02x", cfg->tap_threshold[2]); in iis2dlpc_init()
356 if (iis2dlpc_tap_threshold_z_set(ctx, cfg->tap_threshold[2]) < 0) { in iis2dlpc_init()
361 if (cfg->tap_threshold[0] > 0) { in iis2dlpc_init()
369 if (cfg->tap_threshold[1] > 0) { in iis2dlpc_init()
377 if (cfg->tap_threshold[2] > 0) { in iis2dlpc_init()
434 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \
Diis2dlpc.h77 uint8_t tap_threshold[3]; member
/Zephyr-Core-3.4.0/drivers/sensor/lis2dw12/
Dlis2dw12_trigger.c138 if ((cfg->tap_threshold[0] == 0) && in lis2dw12_trigger_set()
139 (cfg->tap_threshold[1] == 0) && in lis2dw12_trigger_set()
140 (cfg->tap_threshold[2] == 0)) { in lis2dw12_trigger_set()
335 LOG_DBG("TAP: ths_x is %02x", cfg->tap_threshold[0]); in lis2dw12_tap_init()
336 if (lis2dw12_tap_threshold_x_set(ctx, cfg->tap_threshold[0]) < 0) { in lis2dw12_tap_init()
341 LOG_DBG("TAP: ths_y is %02x", cfg->tap_threshold[1]); in lis2dw12_tap_init()
342 if (lis2dw12_tap_threshold_y_set(ctx, cfg->tap_threshold[1]) < 0) { in lis2dw12_tap_init()
347 LOG_DBG("TAP: ths_z is %02x", cfg->tap_threshold[2]); in lis2dw12_tap_init()
348 if (lis2dw12_tap_threshold_z_set(ctx, cfg->tap_threshold[2]) < 0) { in lis2dw12_tap_init()
353 if (cfg->tap_threshold[0] > 0) { in lis2dw12_tap_init()
[all …]
Dlis2dw12.h90 uint8_t tap_threshold[3]; member
Dlis2dw12.c508 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \