Skip to content
Commit 4d1c90ee authored by Jordan Yates's avatar Jordan Yates Committed by Christopher Friedt
Browse files

spi: helper macro for constructing CS gpio_dt_spec



Adds a helper macro, `DT_SPI_DEV_CS_GPIOS_DT_SPEC_GET`, that constructs
a `struct gpio_dt_spec` corresponding with the CS gpio of an spi device.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
Co-authored-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
Signed-off-by: default avatarBartosz Bilas <bartosz.bilas@hotmail.com>
Co-authored-by: default avatarBartosz Bilas <bartosz.bilas@hotmail.com>
parent e706967d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment