MCPcopy Create free account
hub / github.com/cifertech/nRFBox / getregister

Function getregister

VScode Platformio/src/analyzer.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30byte getregister(byte r) {
31 byte c;
32
33 digitalWrite(CSN, LOW);
34 SPI.transfer(r & 0x1F);
35 c = SPI.transfer(0);
36 digitalWrite(CSN, HIGH);
37
38 return c;
39}
40
41void setregister(byte r, byte v) {
42 digitalWrite(CSN, LOW);

Callers 4

powerupFunction · 0.70
powerdownFunction · 0.70
setrxFunction · 0.70
ScanChannelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected