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

Method testBitPatterns

Sming/Libraries/SPI/test/app/SPI.cpp:141–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139#endif
140
141 void testBitPatterns()
142 {
143 TEST_CASE("Bit Patterns")
144 {
145 debug_w("Connect scope and observe bit pattern");
146 clearStats();
147 constexpr unsigned duration{10};
148 constexpr unsigned loopInterval{250};
149 loopCount = duration * 1000 / loopInterval;
150 timer.initializeMs<loopInterval>([this]() { bitPatterns(); });
151 timer.start();
152 return pending();
153 }
154 }
155
156 /*
157 * 6 transactions:

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected