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

Function getregister

nRFBox_V2/analyzer.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32byte getregister(byte r) {
33 byte c;
34
35 digitalWrite(CSN, LOW);
36 SPI.transfer(r & 0x1F);
37 c = SPI.transfer(0);
38 digitalWrite(CSN, HIGH);
39
40 return c;
41}
42
43void setregister(byte r, byte v) {
44 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