| 184 | } |
| 185 | |
| 186 | static rt_int32_t spi_soft_get_sclk(void *data) |
| 187 | { |
| 188 | struct rt_soft_spi_config *cfg = (struct rt_soft_spi_config *)data; |
| 189 | return rt_pin_read(cfg->sck); |
| 190 | } |
| 191 | |
| 192 | static rt_int32_t spi_soft_get_mosi(void *data) |
| 193 | { |
nothing calls this directly
no test coverage detected