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

Method getFrequency

RFM69.cpp:156–158  ·  view source on GitHub ↗

return the frequency (in Hz)

Source from the content-addressed store, hash-verified

154
155// return the frequency (in Hz)
156uint32_t RFM69::getFrequency() {
157 return RF69_FSTEP * (((uint32_t) readReg(REG_FRFMSB) << 16) + ((uint16_t) readReg(REG_FRFMID) << 8) + readReg(REG_FRFLSB));
158}
159
160// set the frequency (in Hz)
161void RFM69::setFrequency(uint32_t freqHz) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected