Searched refs:tap_threshold (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.4.0/drivers/sensor/iis2dlpc/ |
D | iis2dlpc.c | 343 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), \
|
D | iis2dlpc.h | 77 uint8_t tap_threshold[3]; member
|
/Zephyr-Core-3.4.0/drivers/sensor/lis2dw12/ |
D | lis2dw12_trigger.c | 138 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 …]
|
D | lis2dw12.h | 90 uint8_t tap_threshold[3]; member
|
D | lis2dw12.c | 508 .tap_threshold = DT_INST_PROP(inst, tap_threshold), \
|