PU2CLR QN8066 Arduino Library 1.3.0
Arduino Library for QN8066Devices - By Ricardo Lima Caratti
|
QN8066 Receiver funtions. More...
Functions | |
void | QN8066::setRX (uint16_t frequency) |
SYSTEM1 SETUP. | |
void | QN8066::setRxFrequency (uint16_t frequency) |
sets the receiver frequency | |
void | QN8066::setRxFrequencyRange (uint16_t min=640, uint16_t max=1080) |
Sets the frequency range of the receiver. | |
void | QN8066::setRxFrequencyUp () |
Increments the current receiver frequency. | |
void | QN8066::setRxFrequencyDown () |
Decrements the current receiver frequency. | |
void | QN8066::setRxFrequencyStep (uint8_t value) |
Sets the current Step frequency. | |
void | QN8066::rdsEnableRX (bool value) |
Enables RDS for RX. | |
void | QN8066::setAudioMuteRX (bool value) |
Mute or unmute the audio in receiver mode. | |
uint8_t | QN8066::getRxSNR () |
Gets the current SNR (Estimated RF input) | |
uint8_t | QN8066::getRxRSSI () |
Gets the current RSSI. | |
bool | QN8066::isValidRxChannel () |
Gets a valid or no valid rx channel. | |
bool | QN8066::isRxReceiving () |
Receiver status. | |
bool | QN8066::isRxAgcStable () |
RX AGC Status. | |
bool | QN8066::isRxStereo () |
Stereo receiving status. | |
void | QN8066::scanRxStation (uint16_t startFrequency, uint16_t stopFrequyency, uint8_t frequencyStep) |
Scans a station. | |
QN8066 Receiver funtions.
The functions defined in this group are responsible for controlling the reception of the QN8066.
void QN8066::setRX | ( | uint16_t | frequency | ) |
SYSTEM1 SETUP.
sets the devive to RX
frequency | - frequency that the receiver will start |
void QN8066::setRxFrequency | ( | uint16_t | frequency | ) |
sets the receiver frequency
void QN8066::setRxFrequencyRange | ( | uint16_t | min = 640 , |
uint16_t | max = 1080 |
||
) |
Sets the frequency range of the receiver.
default values is 64.0 Mhz (640) to 108.0 MHz (1080)
min | |
max |
void QN8066::setRxFrequencyUp | ( | ) |
Increments the current receiver frequency.
void QN8066::setRxFrequencyDown | ( | ) |
Decrements the current receiver frequency.
void QN8066::setRxFrequencyStep | ( | uint8_t | value | ) |
Sets the current Step frequency.
0 = 50KHz; 1 = 100KHz; 2 = 200KHz; 3 = Reserved
value |
void QN8066::rdsEnableRX | ( | bool | value | ) |
Enables RDS for RX.
void QN8066::setAudioMuteRX | ( | bool | value | ) |
Mute or unmute the audio in receiver mode.
value | - if true mutes the audio; if false, mute disabled |
uint8_t QN8066::getRxSNR | ( | ) |
Gets the current SNR (Estimated RF input)
uint8_t QN8066::getRxRSSI | ( | ) |
Gets the current RSSI.
In-band signal RSSI (Received signal strength indicator) dBuV value. dBuV=RSSI-49
bool QN8066::isValidRxChannel | ( | ) |
Gets a valid or no valid rx channel.
RXCCA status flag. To indicate whether a valid channel is found during RX CCA.
If a valid channel is found, channel index will stay there, and RXCCA_FAIL=0;
otherwise, it will stay at the end of scan range and RXCCA_FAIL=1.
bool QN8066::isRxReceiving | ( | ) |
Receiver status.
bool QN8066::isRxAgcStable | ( | ) |
RX AGC Status.
RX AGC Settling status
bool QN8066::isRxStereo | ( | ) |
Stereo receiving status.
void QN8066::scanRxStation | ( | uint16_t | startFrequency, |
uint16_t | stopFrequyency, | ||
uint8_t | frequencyStep | ||
) |
Scans a station.
Searches for a station within a specified frequency range.
startFrequency | - initial frequency to start the search. |
stopFrequyency | - final frequency to stop the search. |
frequencyStep | - 0 = 50KHz; 1 = 100KHz; 2 = 200KHz |