MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / spi_soft_get_miso

Function spi_soft_get_miso

components/drivers/spi/dev_soft_spi.c:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static rt_int32_t spi_soft_get_miso(void *data)
199{
200 struct rt_soft_spi_config *cfg = (struct rt_soft_spi_config *)data;
201 return rt_pin_read(cfg->miso);
202}
203
204static void spi_soft_dir_mosi(void *data, rt_int32_t state)
205{

Callers

nothing calls this directly

Calls 1

rt_pin_readFunction · 0.50

Tested by

no test coverage detected