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

Function spi_soft_get_sclk

components/drivers/spi/dev_soft_spi.c:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static 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
192static rt_int32_t spi_soft_get_mosi(void *data)
193{

Callers

nothing calls this directly

Calls 1

rt_pin_readFunction · 0.50

Tested by

no test coverage detected