MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / singleTransfer

Method singleTransfer

Code/Arduino_libraries/LoRa/LoRa.cpp:733–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733uint8_t LoRaClass::singleTransfer(uint8_t address, uint8_t value)
734{
735 uint8_t response;
736
737 digitalWrite(_ss, LOW);
738
739 _spi->beginTransaction(_spiSettings);
740 _spi->transfer(address);
741 response = _spi->transfer(value);
742 _spi->endTransaction();
743
744 digitalWrite(_ss, HIGH);
745
746 return response;
747}
748
749ISR_PREFIX void LoRaClass::onDio0Rise()
750{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected