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

Method writeReg

RFM69.cpp:550–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void RFM69::writeReg(uint8_t addr, uint8_t value) {
551 select();
552 _spi->transfer(addr | 0x80);
553 _spi->transfer(value);
554 unselect();
555}
556
557// select the RFM69 transceiver (save SPI settings, set CS low)
558void RFM69::select() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected