Lines Matching +full:0 +full:a

26  * @brief Does a SPI controller node have chip select GPIOs configured?
29 * chip select GPIOs. Its value is a phandle-array which specifies the
47 * DT_SPI_HAS_CS_GPIOS(DT_NODELABEL(spi2)) // 0
49 * @param spi a SPI bus controller node identifier
50 * @return 1 if "spi" has a cs-gpios property, 0 otherwise
55 * @brief Number of chip select GPIOs in a SPI controller's cs-gpios property
72 * DT_SPI_NUM_CS_GPIOS(DT_NODELABEL(spi2)) // 0
74 * @param spi a SPI bus controller node identifier
75 * @return Logical length of spi's cs-gpios property, or 0 if "spi" doesn't
76 * have a cs-gpios property
80 (DT_PROP_LEN(spi, cs_gpios)), (0))
83 * @brief Does a SPI device have a chip select line configured?
91 * a: spi-dev-a@0 {
92 * reg = <0>;
102 * c: spi-dev-c@0 {
103 * reg = <0>;
109 * DT_SPI_DEV_HAS_CS_GPIOS(DT_NODELABEL(a)) // 1
111 * DT_SPI_DEV_HAS_CS_GPIOS(DT_NODELABEL(c)) // 0
113 * @param spi_dev a SPI device node identifier
114 * @return 1 if spi_dev's bus node DT_BUS(spi_dev) has a chip select
115 * pin at index DT_REG_ADDR(spi_dev), 0 otherwise
120 * @brief Get a SPI device's chip select GPIO controller's node identifier
133 * a: spi-dev-a@0 {
134 * reg = <0>;
144 * DT_SPI_DEV_CS_GPIOS_CTLR(DT_NODELABEL(a)) // DT_NODELABEL(gpio1)
147 * @param spi_dev a SPI device node identifier
154 * @brief Get a SPI device's chip select GPIO pin number
166 * a: spi-dev-a@0 {
167 * reg = <0>;
177 * DT_SPI_DEV_CS_GPIOS_PIN(DT_NODELABEL(a)) // 10
180 * @param spi_dev a SPI device node identifier
187 * @brief Get a SPI device's chip select GPIO flags
195 * a: spi-dev-a@0 {
196 * reg = <0>;
202 * DT_SPI_DEV_CS_GPIOS_FLAGS(DT_NODELABEL(a)) // GPIO_ACTIVE_LOW
207 * @param spi_dev a SPI device node identifier
217 * @return 1 if the instance's bus has a CS pin at index
218 * DT_INST_REG_ADDR(inst), 0 otherwise
225 * @brief Get GPIO controller node identifier for a SPI device instance