Home
last modified time | relevance | path

Searched full:xshut (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/dts/bindings/sensor/
Dst,vl53l1x.yaml11 xshut-gpios:
14 Driving the XSHUT pin low puts the VL53L1X into hardware
16 VDD is not present). Additionally, if XSHUT is connected
Dst,vl53l0x.yaml11 xshut-gpios:
/Zephyr-latest/boards/shields/x_nucleo_53l0a1/
Dx_nucleo_53l0a1.overlay26 xshut-gpios = <&expander1_x_nucleo_53l0a1 15 GPIO_ACTIVE_LOW>;
33 xshut-gpios = <&expander2_x_nucleo_53l0a1 14 GPIO_ACTIVE_LOW>;
38 xshut-gpios = <&expander2_x_nucleo_53l0a1 15 GPIO_ACTIVE_LOW>;
/Zephyr-latest/drivers/sensor/st/vl53l1x/
DKconfig27 bool "Use xshut pin on VL53L1X time of flight sensor"
30 Enable to use the xshut pin on the VL53L1X. If not, the pin should be
Dvl53l1.c31 struct gpio_dt_spec xshut; member
127 /* Pull XSHUT high to start the sensor */ in vl53l1x_initialize()
131 if (config->xshut.port) { in vl53l1x_initialize()
132 int gpio_ret = gpio_pin_set_dt(&config->xshut, 1); in vl53l1x_initialize()
135 LOG_ERR("[%s] Unable to set XSHUT gpio (error %d)", dev->name, gpio_ret); in vl53l1x_initialize()
432 /* Configure gpio connected to VL53L1X's XSHUT pin to in vl53l1x_init()
436 if (config->xshut.port) { in vl53l1x_init()
437 ret = gpio_pin_configure_dt(&config->xshut, GPIO_OUTPUT); in vl53l1x_init()
468 .xshut = GPIO_DT_SPEC_INST_GET_OR(i, xshut_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/st/vl53l0x/
Dvl53l0x.c49 struct gpio_dt_spec xshut; member
178 if (config->xshut.port) { in vl53l0x_start()
179 r = gpio_pin_configure_dt(&config->xshut, GPIO_OUTPUT_INACTIVE); in vl53l0x_start()
181 LOG_ERR("[%s] Unable to inactivate XSHUT: %d", in vl53l0x_start()
316 if (config->xshut.port == NULL) { in vl53l0x_init()
317 LOG_ERR("[%s] Missing XSHUT gpio spec", dev->name); in vl53l0x_init()
327 r = gpio_pin_configure_dt(&config->xshut, GPIO_OUTPUT_ACTIVE); in vl53l0x_init()
367 ret = gpio_pin_set_dt(&config->xshut, 1); in vl53l0x_pm_action()
369 LOG_ERR("[%s] XSHUT pin active", dev->name); in vl53l0x_pm_action()
384 .xshut = GPIO_DT_SPEC_INST_GET_OR(inst, xshut_gpios, {}) \
DKconfig29 must have an xshut-gpio property.
/Zephyr-latest/boards/st/stm32wb5mm_dk/
Dstm32wb5mm_dk.dts188 xshut-gpios = <&gpioc 6 GPIO_ACTIVE_LOW>;
/Zephyr-latest/boards/st/b_l4s5i_iot01a/
Db_l4s5i_iot01a.dts136 xshut-gpios = <&gpioc 6 GPIO_ACTIVE_LOW>;
/Zephyr-latest/boards/arduino/nicla_vision/
Darduino_nicla_vision_stm32h747xx_m7.dts115 xshut-gpios = <&gpiog 10 GPIO_ACTIVE_HIGH>;
/Zephyr-latest/boards/st/disco_l475_iot1/
Ddisco_l475_iot1.dts170 xshut-gpios = <&gpioc 6 GPIO_ACTIVE_LOW>;
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi428 xshut-gpios = <&test_gpio 0 0>;
657 xshut-gpios = <&test_gpio 0 0>;