Searched refs:missing_flag (Results 1 – 1 of 1) sorted by relevance
449 uint32_t missing_flag = flags & ~temp_flag; in spicommon_bus_initialize_io() local450 missing_flag &= ~SPICOMMON_BUSFLAG_MASTER;//don't check this flag in spicommon_bus_initialize_io()452 if (missing_flag != 0) { in spicommon_bus_initialize_io()454 if (missing_flag & SPICOMMON_BUSFLAG_SCLK) ESP_LOGE(SPI_TAG, "sclk pin required."); in spicommon_bus_initialize_io()455 if (missing_flag & SPICOMMON_BUSFLAG_MOSI) ESP_LOGE(SPI_TAG, "mosi pin required."); in spicommon_bus_initialize_io()456 if (missing_flag & SPICOMMON_BUSFLAG_MISO) ESP_LOGE(SPI_TAG, "miso pin required."); in spicommon_bus_initialize_io()457 …if (missing_flag & SPICOMMON_BUSFLAG_DUAL) ESP_LOGE(SPI_TAG, "not both mosi and miso output capabl… in spicommon_bus_initialize_io()458 if (missing_flag & SPICOMMON_BUSFLAG_WPHD) ESP_LOGE(SPI_TAG, "both wp and hd required."); in spicommon_bus_initialize_io()459 if (missing_flag & SPICOMMON_BUSFLAG_IOMUX_PINS) ESP_LOGE(SPI_TAG, "not using iomux pins"); in spicommon_bus_initialize_io()460 … SPI_CHECK(missing_flag == 0, "not all required capabilities satisfied.", ESP_ERR_INVALID_ARG); in spicommon_bus_initialize_io()