Searched refs:tap_threshold (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc.c | 342 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), \
|
D | iis2dlpc.h | 77 uint8_t tap_threshold[3]; member
|
/Zephyr-latest/drivers/sensor/st/lis2dw12/ |
D | lis2dw12_trigger.c | 153 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 …]
|
D | lis2dw12.h | 95 uint8_t tap_threshold[3]; member
|
D | lis2dw12.c | 612 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \
|