93 if (!(a)) { \ |
93 if (!(a)) { \ |
94 ESP_LOGE(SPI_TAG,"%s(%d): %s", __FUNCTION__, __LINE__, str); \ |
94 ESP_LOGE(SPI_TAG,"%s(%d): %s", __FUNCTION__, __LINE__, str); \ |
95 return (ret_val); \ |
95 return (ret_val); \ |
96 } |
96 } |
97 |
97 |
98 /* |
98 /** |
99 Stores a bunch of per-spi-peripheral data. |
99 * @brief Stores a bunch of per-spi-peripheral data. |
100 */ |
100 */ |
101 typedef struct { |
101 typedef struct { |
102 const uint8_t spiclk_out; //GPIO mux output signals |
102 const uint8_t spiclk_out; //GPIO mux output signals |
103 const uint8_t spid_out; |
103 const uint8_t spid_out; |
104 const uint8_t spiq_out; |
104 const uint8_t spiq_out; |
105 const uint8_t spiwp_out; |
105 const uint8_t spiwp_out; |