MCPcopy Create free account
hub / github.com/SmingHub/Sming / fastDelay

Function fastDelay

Sming/Libraries/SPI/src/SPISoft.cpp:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59__forceinline void fastDelay(int d)
60{
61 fixedDelay();
62#ifdef SPISOFT_DELAY_VARIABLE
63 while(d-- > 0) {
64 __asm__ volatile("nop" :::);
65 }
66#else
67 (void)d;
68#endif
69}
70
71} // namespace spisoft
72

Callers

nothing calls this directly

Calls 1

fixedDelayFunction · 0.85

Tested by

no test coverage detected