PU2CLR QN8066 Arduino Library 1.3.0
Arduino Library for QN8066Devices - By Ricardo Lima Caratti
Loading...
Searching...
No Matches
RX Functions

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.
 

Detailed Description

QN8066 Receiver funtions.

The functions defined in this group are responsible for controlling the reception of the QN8066.

Function Documentation

◆ setRX()

void QN8066::setRX ( uint16_t  frequency)

SYSTEM1 SETUP.

sets the devive to RX

Parameters
frequency- frequency that the receiver will start
Todo:
Need to be optimized to improve space size

◆ setRxFrequency()

void QN8066::setRxFrequency ( uint16_t  frequency)

sets the receiver frequency

◆ setRxFrequencyRange()

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)

Parameters
min
max

◆ setRxFrequencyUp()

void QN8066::setRxFrequencyUp ( )

Increments the current receiver frequency.

Todo:
under construction...

◆ setRxFrequencyDown()

void QN8066::setRxFrequencyDown ( )

Decrements the current receiver frequency.

Todo:
under construction...

◆ setRxFrequencyStep()

void QN8066::setRxFrequencyStep ( uint8_t  value)

Sets the current Step frequency.

0 = 50KHz; 1 = 100KHz; 2 = 200KHz; 3 = Reserved

Parameters
value

◆ rdsEnableRX()

void QN8066::rdsEnableRX ( bool  value)

Enables RDS for RX.

◆ setAudioMuteRX()

void QN8066::setAudioMuteRX ( bool  value)

Mute or unmute the audio in receiver mode.

Parameters
value- if true mutes the audio; if false, mute disabled

◆ getRxSNR()

uint8_t QN8066::getRxSNR ( )

Gets the current SNR (Estimated RF input)

Returns
current SNR in dB

◆ getRxRSSI()

uint8_t QN8066::getRxRSSI ( )

Gets the current RSSI.

In-band signal RSSI (Received signal strength indicator) dBuV value. dBuV=RSSI-49

Returns
current RSSI in dB

◆ isValidRxChannel()

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.

Returns
true valid channel
false not found a valid channel

◆ isRxReceiving()

bool QN8066::isRxReceiving ( )

Receiver status.

Returns
true - Is receiving

◆ isRxAgcStable()

bool QN8066::isRxAgcStable ( )

RX AGC Status.

RX AGC Settling status

Returns
true - Settled / Stabled

◆ isRxStereo()

bool QN8066::isRxStereo ( )

Stereo receiving status.

Returns
true - Stereo

◆ scanRxStation()

void QN8066::scanRxStation ( uint16_t  startFrequency,
uint16_t  stopFrequyency,
uint8_t  frequencyStep 
)

Scans a station.

Searches for a station within a specified frequency range.

Parameters
startFrequency- initial frequency to start the search.
stopFrequyency- final frequency to stop the search.
frequencyStep- 0 = 50KHz; 1 = 100KHz; 2 = 200KHz