Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/spi/dt_spec/src/
Dmain.c17 const struct spi_dt_spec spi_cs = in ZTEST() local
20 LOG_DBG("spi_cs.bus = %p", spi_cs.bus); in ZTEST()
21 LOG_DBG("spi_cs.config.cs.gpio.port = %p", spi_cs.config.cs.gpio.port); in ZTEST()
22 LOG_DBG("spi_cs.config.cs.gpio.pin = %u", spi_cs.config.cs.gpio.pin); in ZTEST()
24 zassert_equal(spi_cs.bus, DEVICE_DT_GET(DT_NODELABEL(test_spi_cs)), ""); in ZTEST()
25 zassert_true(spi_cs_is_gpio_dt(&spi_cs), ""); in ZTEST()
26 zassert_equal(spi_cs.config.cs.gpio.port, DEVICE_DT_GET(DT_NODELABEL(test_gpio)), ""); in ZTEST()
27 zassert_equal(spi_cs.config.cs.gpio.pin, 0x10, ""); in ZTEST()