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

Function spi_soft_get_mosi

components/drivers/spi/dev_soft_spi.c:192–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192static rt_int32_t spi_soft_get_mosi(void *data)
193{
194 struct rt_soft_spi_config *cfg = (struct rt_soft_spi_config *)data;
195 return rt_pin_read(cfg->mosi);
196}
197
198static rt_int32_t spi_soft_get_miso(void *data)
199{

Callers

nothing calls this directly

Calls 1

rt_pin_readFunction · 0.50

Tested by

no test coverage detected