MCPcopy Create free account
hub / github.com/LowPowerLab/RFM69 / readReg

Method readReg

RFM69.cpp:542–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542uint8_t RFM69::readReg(uint8_t addr) {
543 select();
544 _spi->transfer(addr & 0x7F);
545 uint8_t regval = _spi->transfer(0);
546 unselect();
547 return regval;
548}
549
550void RFM69::writeReg(uint8_t addr, uint8_t value) {
551 select();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected