From 66c92f3502a44c5f248a171e1382d47985c48daa Mon Sep 17 00:00:00 2001 From: Ricardo Lima Caratti Date: Sat, 10 Aug 2024 19:33:31 -0300 Subject: [PATCH] Doc --- extras/apidoc/def/doxygen.def | 214 ++++--- extras/apidoc/html/_q_n8066_8h_source.html | 540 +++++++++--------- extras/apidoc/html/class_q_n8066-members.html | 85 +-- extras/apidoc/html/class_q_n8066.html | 3 + extras/apidoc/html/class_q_n8066.js | 1 + extras/apidoc/html/functions.html | 1 + extras/apidoc/html/functions_func.html | 1 + extras/apidoc/html/group__group04.html | 2 +- extras/apidoc/html/group__group05.html | 45 +- extras/apidoc/html/group__group05.js | 1 + extras/apidoc/html/navtreeindex0.js | 8 +- extras/apidoc/html/navtreeindex1.js | 31 +- extras/apidoc/html/search/all_9.js | 23 +- extras/apidoc/html/search/functions_4.js | 17 +- 14 files changed, 538 insertions(+), 434 deletions(-) diff --git a/extras/apidoc/def/doxygen.def b/extras/apidoc/def/doxygen.def index d1fdc59..e911d0c 100644 --- a/extras/apidoc/def/doxygen.def +++ b/extras/apidoc/def/doxygen.def @@ -14,7 +14,7 @@ bool _EnD_oF_dEf_TeXt_; sec-mem-name = 'detectDevice'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '852'; + sec-mem-desc-line = '854'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Checks communication with QN8066 via I2C. _EnD_oF_dEf_TeXt_; @@ -39,7 +39,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'device'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '853'; + sec-mem-desc-line = '855'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Scans the I2C bus and returns the addresses of the devices found. _EnD_oF_dEf_TeXt_; @@ -65,7 +65,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'registerNumber'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '855'; + sec-mem-desc-line = '857'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets register information. _EnD_oF_dEf_TeXt_; @@ -98,7 +98,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '856'; + sec-mem-desc-line = '858'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Stores a velue to a given register. _EnD_oF_dEf_TeXt_; @@ -119,7 +119,7 @@ qn8066_cid1 _EnD_oF_dEf_TeXt_; sec-mem-name = 'getDeviceProductID'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '858'; + sec-mem-desc-line = '860'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -137,7 +137,7 @@ qn8066_cid2 _EnD_oF_dEf_TeXt_; sec-mem-name = 'getDeviceProductFamily'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '864'; + sec-mem-desc-line = '866'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -155,7 +155,7 @@ qn8066_status1 _EnD_oF_dEf_TeXt_; sec-mem-name = 'getStatus1'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '870'; + sec-mem-desc-line = '872'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the current device Status stored in STATUS1 register. _EnD_oF_dEf_TeXt_; @@ -173,7 +173,7 @@ qn8066_status2 _EnD_oF_dEf_TeXt_; sec-mem-name = 'getStatus2'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '871'; + sec-mem-desc-line = '873'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the current device Status stored in STATUS2 register. _EnD_oF_dEf_TeXt_; @@ -191,7 +191,7 @@ qn8066_status3 _EnD_oF_dEf_TeXt_; sec-mem-name = 'getStatus3'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '872'; + sec-mem-desc-line = '874'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the current device Status stored in STATUS3 register. _EnD_oF_dEf_TeXt_; @@ -219,14 +219,14 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'setRX'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '881'; + sec-mem-desc-line = '883'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ SYSTEM1 SETUP. _EnD_oF_dEf_TeXt_; sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ sets the devive to RX -\iline 878 +\iline 880 _EnD_oF_dEf_TeXt_; }; /* sec-member */ sec-member = { @@ -245,7 +245,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'frequency'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '883'; + sec-mem-desc-line = '885'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the TX mode. _EnD_oF_dEf_TeXt_; @@ -288,7 +288,7 @@ true _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '885'; + sec-mem-desc-line = '887'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Set TX Stereo or Mono. _EnD_oF_dEf_TeXt_; @@ -329,7 +329,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '886'; + sec-mem-desc-line = '888'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Set TX Stereo or Mono (Same setTxStereo ) _EnD_oF_dEf_TeXt_; @@ -361,7 +361,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'getTxMono'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '887'; + sec-mem-desc-line = '889'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets TX Stereo or Mono setup. _EnD_oF_dEf_TeXt_; @@ -403,7 +403,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '888'; + sec-mem-desc-line = '890'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Pre-emphasis and de-emphasis time constant. _EnD_oF_dEf_TeXt_; @@ -444,7 +444,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '889'; + sec-mem-desc-line = '891'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Pre-emphasis and de-emphasis time constant - Same setTxPreEmphasis. _EnD_oF_dEf_TeXt_; @@ -482,7 +482,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '892'; + sec-mem-desc-line = '894'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Set of 1 minute time for PA off when no audio. _EnD_oF_dEf_TeXt_; @@ -519,7 +519,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '893'; + sec-mem-desc-line = '895'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets PA Off after 1 minute time when no audio. _EnD_oF_dEf_TeXt_; @@ -557,7 +557,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '894'; + sec-mem-desc-line = '896'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gain of TX pilot to adjust pilot frequency deviation. _EnD_oF_dEf_TeXt_; @@ -596,7 +596,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '895'; + sec-mem-desc-line = '897'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets volume control gain of analog portion. _EnD_oF_dEf_TeXt_; @@ -634,7 +634,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '896'; + sec-mem-desc-line = '898'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets set digital volume gain. _EnD_oF_dEf_TeXt_; @@ -672,7 +672,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '897'; + sec-mem-desc-line = '899'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ DAC output control. _EnD_oF_dEf_TeXt_; @@ -710,7 +710,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '898'; + sec-mem-desc-line = '900'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Tx audio input mode selection. _EnD_oF_dEf_TeXt_; @@ -748,7 +748,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '899'; + sec-mem-desc-line = '901'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX mode input impedance for both L/R channels. _EnD_oF_dEf_TeXt_; @@ -795,7 +795,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '900'; + sec-mem-desc-line = '902'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX digital gain. _EnD_oF_dEf_TeXt_; @@ -842,7 +842,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '901'; + sec-mem-desc-line = '903'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX input buffer gain. _EnD_oF_dEf_TeXt_; @@ -891,7 +891,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '902'; + sec-mem-desc-line = '904'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX soft clipping enable. _EnD_oF_dEf_TeXt_; @@ -928,7 +928,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '903'; + sec-mem-desc-line = '905'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX soft clip threshold. _EnD_oF_dEf_TeXt_; @@ -973,7 +973,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '904'; + sec-mem-desc-line = '906'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Specify total TX frequency deviation. _EnD_oF_dEf_TeXt_; @@ -1011,7 +1011,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'delayAfterReset'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '906'; + sec-mem-desc-line = '908'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -1029,7 +1029,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'begin'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '910'; + sec-mem-desc-line = '912'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Device initial configuration. _EnD_oF_dEf_TeXt_; @@ -1205,7 +1205,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '912'; + sec-mem-desc-line = '914'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ QN8066 initial configuration. _EnD_oF_dEf_TeXt_; @@ -1252,7 +1252,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'updateTxSetup'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '919'; + sec-mem-desc-line = '921'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Reset the system kepping the TX current STATUS. _EnD_oF_dEf_TeXt_; @@ -1271,7 +1271,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'stopTransmitting'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '920'; + sec-mem-desc-line = '922'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -1289,7 +1289,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'startTransmitting'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '921'; + sec-mem-desc-line = '923'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -1313,7 +1313,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '930'; + sec-mem-desc-line = '932'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Set the Crystal Frequency object. _EnD_oF_dEf_TeXt_; @@ -1339,7 +1339,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'PA_TRGT'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '931'; + sec-mem-desc-line = '933'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ PA output power target control. _EnD_oF_dEf_TeXt_; @@ -1371,7 +1371,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'setToggleTxPdClear'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '933'; + sec-mem-desc-line = '935'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX Audio peak clear signal. _EnD_oF_dEf_TeXt_; @@ -1393,7 +1393,7 @@ void loop() { _EnD_oF_dEf_TeXt_; sec-mem-referencedby = { sec-mem-ref-id = '_q_n8066_8h_1ga78ce701a735ccc6a02fb75a2a51f48ed'; - sec-mem-ref-line = '954'; + sec-mem-ref-line = '956'; sec-mem-ref-name = 'resetAudioPeak'; }; }; /* sec-member */ @@ -1407,7 +1407,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'resetAudioPeak'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '954'; + sec-mem-desc-line = '956'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ TX Audio peak clear signal. _EnD_oF_dEf_TeXt_; @@ -1444,7 +1444,7 @@ int _EnD_oF_dEf_TeXt_; sec-mem-name = 'getAudioPeakValue'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '955'; + sec-mem-desc-line = '957'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Audio peak value at ADC input. _EnD_oF_dEf_TeXt_; @@ -1488,7 +1488,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '958'; + sec-mem-desc-line = '960'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Request Immediately enter Standby mode whatever state chip is in. _EnD_oF_dEf_TeXt_; @@ -1513,7 +1513,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'mode'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '963'; + sec-mem-desc-line = '965'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets RDS Mode Selection. _EnD_oF_dEf_TeXt_; @@ -1551,7 +1551,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '964'; + sec-mem-desc-line = '966'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets RDS 4K Mode . _EnD_oF_dEf_TeXt_; @@ -1609,7 +1609,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '965'; + sec-mem-desc-line = '967'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets some RDS parameters. _EnD_oF_dEf_TeXt_; @@ -1652,7 +1652,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '966'; + sec-mem-desc-line = '968'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets RDS interrupt. _EnD_oF_dEf_TeXt_; @@ -1690,7 +1690,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'value'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '968'; + sec-mem-desc-line = '970'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Transmitter RDS enable. _EnD_oF_dEf_TeXt_; @@ -1722,7 +1722,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsSetTxToggle'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '969'; + sec-mem-desc-line = '971'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ RDS transmitting ready. _EnD_oF_dEf_TeXt_; @@ -1756,7 +1756,7 @@ bool _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetTxUpdated'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '970'; + sec-mem-desc-line = '972'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ RDS TX Updated. _EnD_oF_dEf_TeXt_; @@ -1803,7 +1803,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'text'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '971'; + sec-mem-desc-line = '973'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Writes the RDS data bytes to be sent (SEE TX_RDSD0 to TX_RDSD7 registers) _EnD_oF_dEf_TeXt_; @@ -1844,7 +1844,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '972'; + sec-mem-desc-line = '974'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets RDS frequency deviation. _EnD_oF_dEf_TeXt_; @@ -1887,7 +1887,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '973'; + sec-mem-desc-line = '975'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Audio Line-in enable control. _EnD_oF_dEf_TeXt_; @@ -1947,7 +1947,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-defname = 'block4'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '975'; + sec-mem-desc-line = '977'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sends a RDS group (four blocks) to the QN8066. _EnD_oF_dEf_TeXt_; @@ -2002,20 +2002,19 @@ _EnD_oF_dEf_TeXt_; uint8_t _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'groupTransmissionCount'; - sec-mem-param-defname = 'groupTransmissionCoun'; sec-mem-param-defval = <<_EnD_oF_dEf_TeXt_ 4 _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '976'; + sec-mem-desc-line = '978'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sends the Program Service Message. _EnD_oF_dEf_TeXt_; sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ Like rdsSendPS this method sends the Station Name or other 8 char message. @param ps - String with the name of Station or message limeted to 8 character. -@param groupTransmissionCoun - number of times the group 2A must be sent to ensure continuous and synchronized transmission (default 4) +@param groupTransmissionCount - number of times the group 2A must be sent to ensure continuous and synchronized transmission (default 4) \ilinebr\ilinebr Example @code #include @@ -2054,7 +2053,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'stationName'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '979'; + sec-mem-desc-line = '981'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the station name. _EnD_oF_dEf_TeXt_; @@ -2090,13 +2089,12 @@ _EnD_oF_dEf_TeXt_; uint8_t _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'groupTransmissionCount'; - sec-mem-param-defname = 'groupTransmissionCoun'; sec-mem-param-defval = <<_EnD_oF_dEf_TeXt_ 4 _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '980'; + sec-mem-desc-line = '982'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sends RDS Radio Text Message (group 2A) _EnD_oF_dEf_TeXt_; @@ -2104,7 +2102,7 @@ _EnD_oF_dEf_TeXt_; \iline 1414 @param rt - Radio Text (string of 32 character) -@param groupTransmissionCoun - number of times the group 2A must be sent to ensure continuous and synchronized transmission (default 4) +@param groupTransmissionCount - number of times the group 2A must be sent to ensure continuous and synchronized transmission (default 4) @code #include @@ -2144,7 +2142,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'block'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '981'; + sec-mem-desc-line = '983'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -2168,7 +2166,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'pi'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '988'; + sec-mem-desc-line = '990'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the Program Identification (PI) _EnD_oF_dEf_TeXt_; @@ -2207,7 +2205,7 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '990'; + sec-mem-desc-line = '992'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the Program Identification (PI) _EnD_oF_dEf_TeXt_; @@ -2227,7 +2225,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetPI'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '998'; + sec-mem-desc-line = '1000'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the Program Identification (PI) _EnD_oF_dEf_TeXt_; @@ -2251,7 +2249,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'pty'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1005'; + sec-mem-desc-line = '1007'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the Program Type (PTY) _EnD_oF_dEf_TeXt_; @@ -2269,7 +2267,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetPTY'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1012'; + sec-mem-desc-line = '1014'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the Program Type (PTY) _EnD_oF_dEf_TeXt_; @@ -2293,7 +2291,7 @@ _EnD_oF_dEf_TeXt_; sec-mem-param-declname = 'tp'; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1020'; + sec-mem-desc-line = '1022'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the Traffic Program. _EnD_oF_dEf_TeXt_; @@ -2311,7 +2309,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetTP'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1027'; + sec-mem-desc-line = '1029'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the Traffic Program. _EnD_oF_dEf_TeXt_; @@ -2329,7 +2327,7 @@ char * _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetPS'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1034'; + sec-mem-desc-line = '1036'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets the Program Station (Station Name). _EnD_oF_dEf_TeXt_; @@ -2347,7 +2345,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsGetError'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1041'; + sec-mem-desc-line = '1043'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Gets TX RDS error setup. _EnD_oF_dEf_TeXt_; @@ -2365,7 +2363,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'rdsClearBuffer'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1047'; + sec-mem-desc-line = '1049'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Clear RDS register (Buffer) _EnD_oF_dEf_TeXt_; @@ -2373,6 +2371,31 @@ _EnD_oF_dEf_TeXt_; Clear and Flushes the RDS Buffer. \iline 1277 +_EnD_oF_dEf_TeXt_; + }; /* sec-member */ + sec-member = { + sec-mem-kind = 'function'; + sec-mem-id = 'group__group05_1gadf9a03570842fe995bf7594b8964ed91'; + sec-mem-virt = normal; + sec-mem-prot = public; + sec-mem-type = <<_EnD_oF_dEf_TeXt_ +void +_EnD_oF_dEf_TeXt_; + sec-mem-name = 'rdsSetSyncTime'; + sec-mem-param = { + sec-mem-param-type = <<_EnD_oF_dEf_TeXt_ +uint8_t +_EnD_oF_dEf_TeXt_; + sec-mem-param-declname = 'syncTime'; + }; /* sec-mem-param--param */ + sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; + sec-mem-desc-line = '1058'; + sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ +Sets the wait time for the QN8066 to be available to send the next RDS block. +_EnD_oF_dEf_TeXt_; + sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ + The default time is 60ms, but depending on the microcontroller you are using, it may be necessary to reduce this time. +@param syncTime - time in ms _EnD_oF_dEf_TeXt_; }; /* sec-member */ sec-member = { @@ -2385,7 +2408,7 @@ void _EnD_oF_dEf_TeXt_; sec-mem-name = 'resetFsm'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1049'; + sec-mem-desc-line = '1060'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Resets the state to initial states and recalibrate all blocks. _EnD_oF_dEf_TeXt_; @@ -2403,7 +2426,7 @@ uint8_t _EnD_oF_dEf_TeXt_; sec-mem-name = 'getFsmStateCode'; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1050'; + sec-mem-desc-line = '1061'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Get the FSM State Code. _EnD_oF_dEf_TeXt_; @@ -2494,7 +2517,7 @@ true _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1052'; + sec-mem-desc-line = '1063'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Converts a number to a char array. _EnD_oF_dEf_TeXt_; @@ -2540,7 +2563,7 @@ void _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1064'; + sec-mem-desc-line = '1075'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets I2C bus to 10kHz. _EnD_oF_dEf_TeXt_; @@ -2565,7 +2588,7 @@ void _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1074'; + sec-mem-desc-line = '1085'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets I2C bus to 100kHz. _EnD_oF_dEf_TeXt_; @@ -2588,7 +2611,7 @@ void _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1081'; + sec-mem-desc-line = '1092'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets I2C bus to 400kHz. _EnD_oF_dEf_TeXt_; @@ -2615,13 +2638,13 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; }; /* sec-mem-param--param */ sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '1094'; + sec-mem-desc-line = '1105'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Sets the I2C bus to a given value. ATTENTION: use this function with caution. _EnD_oF_dEf_TeXt_; sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ -\iline 1090 +\iline 1101 @param value in Hz. For example: The values 500000 sets the bus to 500kHz. _EnD_oF_dEf_TeXt_; @@ -2921,6 +2944,27 @@ _EnD_oF_dEf_TeXt_; _EnD_oF_dEf_TeXt_; sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ +_EnD_oF_dEf_TeXt_; + }; /* sec-member */ + sec-member = { + sec-mem-kind = 'variable'; + sec-mem-id = 'class_q_n8066_1a5d07c33434bbf9bf4334385c3aedfa79'; + sec-mem-virt = normal; + sec-mem-prot = private; + sec-mem-type = <<_EnD_oF_dEf_TeXt_ +uint8_t +_EnD_oF_dEf_TeXt_; + sec-mem-name = 'rdsSyncTime'; + sec-mem-initializer = <<_EnD_oF_dEf_TeXt_ += 60 +_EnD_oF_dEf_TeXt_; + sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; + sec-mem-desc-line = '843'; + sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ + +_EnD_oF_dEf_TeXt_; + sec-mem-documentation = <<_EnD_oF_dEf_TeXt_ + _EnD_oF_dEf_TeXt_; }; /* sec-member */ sec-member = { @@ -2936,7 +2980,7 @@ _EnD_oF_dEf_TeXt_; = " QN8066\r" _EnD_oF_dEf_TeXt_; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '843'; + sec-mem-desc-line = '845'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; @@ -2957,7 +3001,7 @@ _EnD_oF_dEf_TeXt_; = 33179 _EnD_oF_dEf_TeXt_; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '844'; + sec-mem-desc-line = '846'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Default value for piCode (0x819B) _EnD_oF_dEf_TeXt_; @@ -2978,7 +3022,7 @@ _EnD_oF_dEf_TeXt_; = 5 _EnD_oF_dEf_TeXt_; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '845'; + sec-mem-desc-line = '847'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Default program type (PTY) 5 is "Education". _EnD_oF_dEf_TeXt_; @@ -2999,7 +3043,7 @@ _EnD_oF_dEf_TeXt_; = 0 _EnD_oF_dEf_TeXt_; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '846'; + sec-mem-desc-line = '848'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ Traffic Program (TP) _EnD_oF_dEf_TeXt_; @@ -3020,7 +3064,7 @@ _EnD_oF_dEf_TeXt_; = 0 _EnD_oF_dEf_TeXt_; sec-mem-desc-file = '/Users/rcaratti/Desenvolvimento/eu/Arduino/DSP/QN8066/QN8066/src/QN8066.h'; - sec-mem-desc-line = '847'; + sec-mem-desc-line = '849'; sec-mem-briefdesc = <<_EnD_oF_dEf_TeXt_ _EnD_oF_dEf_TeXt_; diff --git a/extras/apidoc/html/_q_n8066_8h_source.html b/extras/apidoc/html/_q_n8066_8h_source.html index 8139f0a..28da1e8 100644 --- a/extras/apidoc/html/_q_n8066_8h_source.html +++ b/extras/apidoc/html/_q_n8066_8h_source.html @@ -935,265 +935,276 @@
840 qn8066_vol_ctl vol_ctl;
841
842
-
843 char rdsStationName[9] = " QN8066\r";
-
844 uint16_t rdsPI = 33179; //!< Default value for piCode (0x819B)
-
845 uint8_t rdsPTY = 5; //!< Default program type (PTY) 5 is "Education"
-
846 uint8_t rdsTP = 0; //!< Traffic Program (TP)
-
847 uint8_t rdsSendError = 0;
-
848
-
849
-
850protected:
-
851public:
-
852 bool detectDevice();
- -
854
- -
856 void setRegister(uint8_t registerNumber, uint8_t value);
-
857
-
858 inline qn8066_cid1 getDeviceProductID() {
-
859 qn8066_cid1 value;
-
860 value.raw = this->getRegister(QN_CID1);
-
861 return value;
-
862 };
-
863
-
864 inline qn8066_cid2 getDeviceProductFamily() {
-
865 qn8066_cid2 value;
-
866 value.raw = this->getRegister(QN_CID2);
-
867 return value;
-
868 }
-
869
-
870 qn8066_status1 getStatus1();
-
871 qn8066_status2 getStatus2();
-
872 qn8066_status3 getStatus3();
-
873
-
874
+
843 uint8_t rdsSyncTime = 60; // Time in ms to wait fro send the next group - Default value is 60 ms
+
844
+
845 char rdsStationName[9] = " QN8066\r";
+
846 uint16_t rdsPI = 33179; //!< Default value for piCode (0x819B)
+
847 uint8_t rdsPTY = 5; //!< Default program type (PTY) 5 is "Education"
+
848 uint8_t rdsTP = 0; //!< Traffic Program (TP)
+
849 uint8_t rdsSendError = 0;
+
850
+
851
+
852protected:
+
853public:
+
854 bool detectDevice();
+ +
856
+ +
858 void setRegister(uint8_t registerNumber, uint8_t value);
+
859
+
860 inline qn8066_cid1 getDeviceProductID() {
+
861 qn8066_cid1 value;
+
862 value.raw = this->getRegister(QN_CID1);
+
863 return value;
+
864 };
+
865
+
866 inline qn8066_cid2 getDeviceProductFamily() {
+
867 qn8066_cid2 value;
+
868 value.raw = this->getRegister(QN_CID2);
+
869 return value;
+
870 }
+
871
+
872 qn8066_status1 getStatus1();
+
873 qn8066_status2 getStatus2();
+
874 qn8066_status3 getStatus3();
875
876
-
877 /**
-
878 * @brief SYSTEM1 SETUP
-
879 *
-
880 */
-
881 void setRX();
-
882
-
883 void setTX(uint16_t frequency); // RESET the system and set to TX mode at a given frequency
+
877
+
878
+
879 /**
+
880 * @brief SYSTEM1 SETUP
+
881 *
+
882 */
+
883 void setRX();
884
-
885 void setTxStereo(bool value = true);
-
886 void setTxMono(uint8_t value = 0); // Default stereo
- -
888 void setTxPreEmphasis( uint8_t value = 75);
-
889 void setPreEmphasis(uint8_t value = 1);
-
890
-
891
-
892 void setTxOffAfterOneMinuteNoAudio(bool value);
-
893 void setTxOffAfterOneMinute(uint8_t value);
-
894 void setTxPilotGain(uint8_t value);
-
895 void setAudioAnalogGain(uint8_t value);
-
896 void setAudioDigitalGain(uint8_t value);
-
897 void setAudioDacHold(bool value);
-
898 void setAudioTxDiff(bool value);
-
899 void setTxInputImpedance(uint8_t value);
-
900 void setTxDigitalGain(uint8_t value);
-
901 void setTxInputBufferGain(uint8_t value);
-
902 void setTxSoftClippingEnable( bool value);
-
903 void setTxSoftClipThreshold(uint8_t value);
-
904 void setTxFrequencyDerivation(uint8_t value);
-
905
-
906 void setResetDelay(uint16_t delayAfterReset) {
-
907 this->resetDelay = delayAfterReset;
-
908 };
-
909
-
910 void begin();
+
885 void setTX(uint16_t frequency); // RESET the system and set to TX mode at a given frequency
+
886
+
887 void setTxStereo(bool value = true);
+
888 void setTxMono(uint8_t value = 0); // Default stereo
+ +
890 void setTxPreEmphasis( uint8_t value = 75);
+
891 void setPreEmphasis(uint8_t value = 1);
+
892
+
893
+
894 void setTxOffAfterOneMinuteNoAudio(bool value);
+
895 void setTxOffAfterOneMinute(uint8_t value);
+
896 void setTxPilotGain(uint8_t value);
+
897 void setAudioAnalogGain(uint8_t value);
+
898 void setAudioDigitalGain(uint8_t value);
+
899 void setAudioDacHold(bool value);
+
900 void setAudioTxDiff(bool value);
+
901 void setTxInputImpedance(uint8_t value);
+
902 void setTxDigitalGain(uint8_t value);
+
903 void setTxInputBufferGain(uint8_t value);
+
904 void setTxSoftClippingEnable( bool value);
+
905 void setTxSoftClipThreshold(uint8_t value);
+
906 void setTxFrequencyDerivation(uint8_t value);
+
907
+
908 void setResetDelay(uint16_t delayAfterReset) {
+
909 this->resetDelay = delayAfterReset;
+
910 };
911
-
912 void setup(uint16_t xtalDiv = 1000,
-
913 bool mono = false, bool rds = false, uint8_t PreEmphasis = 0,
-
914 uint8_t xtalInj = 0, uint8_t imageRejection = 1,
-
915 uint8_t txSoftClipThreshold = 0, uint8_t oneMinutOff = 3, uint8_t gainTxPLT =9,
-
916 uint8_t txFreqDev = 125, uint8_t rdsLineIn = 0, uint8_t rdsFreqDev = 60,
-
917 uint8_t inInpedance = 1, uint8_t txAgcDig = 0, uint8_t txAgcBuffer = 1 , uint8_t txSoftClip = 0 );
-
918
-
919 void updateTxSetup();
- - -
922
-
923 /**
-
924 * @ingroup group01
-
925 * @brief Set the Crystal Frequency object
-
926 * @details Based on the external crystal oscillator, calculates the divider
-
927 * parameter (xtal_div). See registers XTAL_DIV0 and XTAL_DIV1
-
928 * @param value
-
929 */
-
930 void setCrystalFrequency(uint32_t value) { xtal_div = value / 32768; };
-
931 void setPAC(uint8_t PA_TRGT);
-
932
-
933 void setToggleTxPdClear();
+
912 void begin();
+
913
+
914 void setup(uint16_t xtalDiv = 1000,
+
915 bool mono = false, bool rds = false, uint8_t PreEmphasis = 0,
+
916 uint8_t xtalInj = 0, uint8_t imageRejection = 1,
+
917 uint8_t txSoftClipThreshold = 0, uint8_t oneMinutOff = 3, uint8_t gainTxPLT =9,
+
918 uint8_t txFreqDev = 125, uint8_t rdsLineIn = 0, uint8_t rdsFreqDev = 60,
+
919 uint8_t inInpedance = 1, uint8_t txAgcDig = 0, uint8_t txAgcBuffer = 1 , uint8_t txSoftClip = 0 );
+
920
+
921 void updateTxSetup();
+ + +
924
+
925 /**
+
926 * @ingroup group01
+
927 * @brief Set the Crystal Frequency object
+
928 * @details Based on the external crystal oscillator, calculates the divider
+
929 * parameter (xtal_div). See registers XTAL_DIV0 and XTAL_DIV1
+
930 * @param value
+
931 */
+
932 void setCrystalFrequency(uint32_t value) { xtal_div = value / 32768; };
+
933 void setPAC(uint8_t PA_TRGT);
934
-
935 /**
-
936 * @ingroup group04 PA Control
-
937 * @brief TX Audio peak clear signal.
-
938 * @details Same setToggleTxPdClear (synonym)
-
939 * @details Audio peak value is max-hold and stored in aud_pk (see STATUS register). Once TXPD_CLR is toggled, the aud_pk value is cleared and restarted again
-
940 * @details Example
-
941 * @code
-
942 * #include <QN8066.h>
-
943 * QN8066 tx;
-
944 * void setup() {
-
945 * tx.setup();
-
946 * tx.setTX(1069); // Set the transmitter to 106.9 MHz
-
947 * ...
-
948 * tx.resetAudioPeak();
-
949 * }
-
950 * void loop() {
+
935 void setToggleTxPdClear();
+
936
+
937 /**
+
938 * @ingroup group04 PA Control
+
939 * @brief TX Audio peak clear signal.
+
940 * @details Same setToggleTxPdClear (synonym)
+
941 * @details Audio peak value is max-hold and stored in aud_pk (see STATUS register). Once TXPD_CLR is toggled, the aud_pk value is cleared and restarted again
+
942 * @details Example
+
943 * @code
+
944 * #include <QN8066.h>
+
945 * QN8066 tx;
+
946 * void setup() {
+
947 * tx.setup();
+
948 * tx.setTX(1069); // Set the transmitter to 106.9 MHz
+
949 * ...
+
950 * tx.resetAudioPeak();
951 * }
-
952 * @endcode
-
953 */
- -
955 int getAudioPeakValue();
-
956
-
957
-
958 void setStnby(bool value);
+
952 * void loop() {
+
953 * }
+
954 * @endcode
+
955 */
+ +
957 int getAudioPeakValue();
+
958
959
-
960
-
961 // RDS TX
+
960 void setStnby(bool value);
+
961
962
-
963 void rdsSetMode(uint8_t mode);
-
964 void rdsSet4KMode(uint8_t value);
-
965 void rdsInitTx(uint8_t countryId = 0, uint8_t programId = 0, uint8_t reference = 0);
-
966 void rdsSetInterrupt(uint8_t value);
-
967
-
968 void rdsTxEnable(bool value);
- -
970 bool rdsGetTxUpdated();
-
971 void rdsWriteTxBuffer(const char *text);
-
972 void rdsSetFrequencyDerivation(uint8_t freq = 6);
-
973 void rdsSetTxLineIn(bool value = 0);
-
974
-
975 void rdsSendGroup(RDS_BLOCK1 blockA, RDS_BLOCK2 blockB, RDS_BLOCK3 blockC, RDS_BLOCK4 blockD);
-
976 void rdsSendPS(char* ps = NULL, uint8_t groupTransmissionCount = 4);
-
977
-
978
-
979 void rdsSetStationName(char *stationName);
-
980 void rdsSendRTMessage(char *rtText, uint8_t groupTransmissionCount = 4);
-
981 void rdsWriteBlock(uint8_t rdsRegister, uint16_t block);
-
982
-
983 /**
-
984 * @ingroup group05 TX RDS
-
985 * @brief Sets the Program Identification (PI)
-
986 * @param pi - PI Code
-
987 */
-
988 void rdsSetPI(uint16_t pi) {this->rdsPI = pi;};
-
989
-
990 void rdsSetPI(uint8_t countryId, uint8_t programId, uint8_t reference = 0) ;
+
963 // RDS TX
+
964
+
965 void rdsSetMode(uint8_t mode);
+
966 void rdsSet4KMode(uint8_t value);
+
967 void rdsInitTx(uint8_t countryId = 0, uint8_t programId = 0, uint8_t reference = 0);
+
968 void rdsSetInterrupt(uint8_t value);
+
969
+
970 void rdsTxEnable(bool value);
+ +
972 bool rdsGetTxUpdated();
+
973 void rdsWriteTxBuffer(const char *text);
+
974 void rdsSetFrequencyDerivation(uint8_t freq = 6);
+
975 void rdsSetTxLineIn(bool value = 0);
+
976
+
977 void rdsSendGroup(RDS_BLOCK1 blockA, RDS_BLOCK2 blockB, RDS_BLOCK3 blockC, RDS_BLOCK4 blockD);
+
978 void rdsSendPS(char* ps = NULL, uint8_t groupTransmissionCount = 4);
+
979
+
980
+
981 void rdsSetStationName(char *stationName);
+
982 void rdsSendRTMessage(char *rtText, uint8_t groupTransmissionCount = 4);
+
983 void rdsWriteBlock(uint8_t rdsRegister, uint16_t block);
+
984
+
985 /**
+
986 * @ingroup group05 TX RDS
+
987 * @brief Sets the Program Identification (PI)
+
988 * @param pi - PI Code
+
989 */
+
990 void rdsSetPI(uint16_t pi) {this->rdsPI = pi;};
991
-
992
-
993 /**
-
994 * @ingroup group05 TX RDS
-
995 * @brief Gets the Program Identification (PI)
-
996 * @param pi - PI Code
-
997 */
-
998 uint8_t rdsGetPI() {return this->rdsPI;};
-
999
-
1000 /**
-
1001 * @ingroup group05 TX RDS
-
1002 * @brief Sets the Program Type (PTY)
-
1003 * @param pty - Program type
-
1004 */
-
1005 void rdsSetPTY(uint16_t pty) {this->rdsPTY = pty;};
-
1006
-
1007 /**
-
1008 * @ingroup group05 TX RDS
-
1009 * @brief Gets the Program Type (PTY)
-
1010 * @param pty - Program type
-
1011 */
-
1012 uint8_t rdsGetPTY() {return this->rdsPTY;};
-
1013
-
1014
-
1015 /**
-
1016 * @ingroup group05 TX RDS
-
1017 * @brief Sets the Traffic Program.
-
1018 * @param tp - tp Code
-
1019 */
-
1020 void rdsSetTP(uint16_t tp) {this->rdsTP = tp;};
-
1021
-
1022 /**
-
1023 * @ingroup group05 TX RDS
-
1024 * @brief Sets the Traffic Program.
-
1025 * @param tp - tp Code
-
1026 */
-
1027 uint8_t rdsGetTP() {return this->rdsTP;};
-
1028
-
1029
-
1030 /**
-
1031 * @ingroup group05 TX RDS
-
1032 * @brief Gets the Program Station (Station Name).
-
1033 */
-
1034 char* rdsGetPS() {return this->rdsStationName;};
-
1035
-
1036
-
1037 /**
-
1038 * @ingroup group05 TX RDS
-
1039 * @brief Gets TX RDS error setup
-
1040 */
-
1041 uint8_t rdsGetError() {return this->rdsSendError;};
-
1042
-
1043 /**
-
1044 * @ingroup group05 TX RDS
-
1045 * @brief Clear RDS register (Buffer)
-
1046 */
-
1047 void rdsClearBuffer();
-
1048
-
1049 void resetFsm();
- +
992 void rdsSetPI(uint8_t countryId, uint8_t programId, uint8_t reference = 0) ;
+
993
+
994
+
995 /**
+
996 * @ingroup group05 TX RDS
+
997 * @brief Gets the Program Identification (PI)
+
998 * @param pi - PI Code
+
999 */
+
1000 uint8_t rdsGetPI() {return this->rdsPI;};
+
1001
+
1002 /**
+
1003 * @ingroup group05 TX RDS
+
1004 * @brief Sets the Program Type (PTY)
+
1005 * @param pty - Program type
+
1006 */
+
1007 void rdsSetPTY(uint16_t pty) {this->rdsPTY = pty;};
+
1008
+
1009 /**
+
1010 * @ingroup group05 TX RDS
+
1011 * @brief Gets the Program Type (PTY)
+
1012 * @param pty - Program type
+
1013 */
+
1014 uint8_t rdsGetPTY() {return this->rdsPTY;};
+
1015
+
1016
+
1017 /**
+
1018 * @ingroup group05 TX RDS
+
1019 * @brief Sets the Traffic Program.
+
1020 * @param tp - tp Code
+
1021 */
+
1022 void rdsSetTP(uint16_t tp) {this->rdsTP = tp;};
+
1023
+
1024 /**
+
1025 * @ingroup group05 TX RDS
+
1026 * @brief Sets the Traffic Program.
+
1027 * @param tp - tp Code
+
1028 */
+
1029 uint8_t rdsGetTP() {return this->rdsTP;};
+
1030
+
1031
+
1032 /**
+
1033 * @ingroup group05 TX RDS
+
1034 * @brief Gets the Program Station (Station Name).
+
1035 */
+
1036 char* rdsGetPS() {return this->rdsStationName;};
+
1037
+
1038
+
1039 /**
+
1040 * @ingroup group05 TX RDS
+
1041 * @brief Gets TX RDS error setup
+
1042 */
+
1043 uint8_t rdsGetError() {return this->rdsSendError;};
+
1044
+
1045 /**
+
1046 * @ingroup group05 TX RDS
+
1047 * @brief Clear RDS register (Buffer)
+
1048 */
+
1049 void rdsClearBuffer();
+
1050
1051
-
1052 void convertToChar(uint16_t value, char *strValue, uint8_t len, uint8_t dot, uint8_t separator = '.', bool remove_leading_zeros = true);
-
1053
-
1054/*******************************************************************************
-
1055 * The functions below modify the clock frequency for I2C communication.
-
1056 * 100kHz is usually the baseline.
-
1057 * Use one of these funcition if you have a problem on the default configuration.
-
1058 *******************************************************************************/
+
1052 /**
+
1053 * @ingroup group05 TX RDS
+
1054 * @brief Sets the wait time for the QN8066 to be available to send the next RDS block.
+
1055 * @details The default time is 60ms, but depending on the microcontroller you are using, it may be necessary to reduce this time.
+
1056 * @param syncTime - time in ms
+
1057 */
+
1058 inline void rdsSetSyncTime(uint8_t syncTime) {this->rdsSyncTime = syncTime; };
1059
-
1060 /**
-
1061 * @ingroup group99 MCU I2C Speed
-
1062 * @brief Sets I2C bus to 10kHz
-
1063 */
-
1064 inline void setI2CLowSpeedMode(void)
-
1065 {
-
1066 Wire.setClock(10000);
-
1067 };
-
1068
-
1069 /**
-
1070 * @ingroup group99 MCU I2C Speed
-
1071 *
-
1072 * @brief Sets I2C bus to 100kHz
-
1073 */
-
1074 inline void setI2CStandardMode(void) { Wire.setClock(100000); };
-
1075
-
1076 /**
-
1077 * @ingroup group99 MCU I2C Speed
-
1078 *
-
1079 * @brief Sets I2C bus to 400kHz
-
1080 */
-
1081 inline void setI2CFastMode(void)
-
1082 {
-
1083 Wire.setClock(400000);
-
1084 };
-
1085
-
1086 /**
-
1087 * @ingroup group99 MCU I2C Speed
-
1088 *
-
1089 * @brief Sets the I2C bus to a given value.
-
1090 * ATTENTION: use this function with caution
-
1091 *
-
1092 * @param value in Hz. For example: The values 500000 sets the bus to 500kHz.
-
1093 */
-
1094 inline void setI2CFastModeCustom(long value = 500000) { Wire.setClock(value); };
-
1095
+
1060 void resetFsm();
+ +
1062
+
1063 void convertToChar(uint16_t value, char *strValue, uint8_t len, uint8_t dot, uint8_t separator = '.', bool remove_leading_zeros = true);
+
1064
+
1065/*******************************************************************************
+
1066 * The functions below modify the clock frequency for I2C communication.
+
1067 * 100kHz is usually the baseline.
+
1068 * Use one of these funcition if you have a problem on the default configuration.
+
1069 *******************************************************************************/
+
1070
+
1071 /**
+
1072 * @ingroup group99 MCU I2C Speed
+
1073 * @brief Sets I2C bus to 10kHz
+
1074 */
+
1075 inline void setI2CLowSpeedMode(void)
+
1076 {
+
1077 Wire.setClock(10000);
+
1078 };
+
1079
+
1080 /**
+
1081 * @ingroup group99 MCU I2C Speed
+
1082 *
+
1083 * @brief Sets I2C bus to 100kHz
+
1084 */
+
1085 inline void setI2CStandardMode(void) { Wire.setClock(100000); };
+
1086
+
1087 /**
+
1088 * @ingroup group99 MCU I2C Speed
+
1089 *
+
1090 * @brief Sets I2C bus to 400kHz
+
1091 */
+
1092 inline void setI2CFastMode(void)
+
1093 {
+
1094 Wire.setClock(400000);
+
1095 };
1096
-
1097
-
1098};
-
1099
-
1100
-
1101#endif // _QN8066_H
+
1097 /**
+
1098 * @ingroup group99 MCU I2C Speed
+
1099 *
+
1100 * @brief Sets the I2C bus to a given value.
+
1101 * ATTENTION: use this function with caution
+
1102 *
+
1103 * @param value in Hz. For example: The values 500000 sets the bus to 500kHz.
+
1104 */
+
1105 inline void setI2CFastModeCustom(long value = 500000) { Wire.setClock(value); };
+
1106
+
1107
+
1108
+
1109};
+
1110
+
1111
+
1112#endif // _QN8066_H
#define QN_TX_RDSD1
Definition: QN8066.h:58
#define QN_INT_CTRL
Definition: QN8066.h:54
#define QN_SYSTEM2
Definition: QN8066.h:30
@@ -1224,12 +1235,12 @@
#define QN_CCA
Definition: QN8066.h:31
#define QN8066_I2C_ADDRESS
QN8066 ARDUINO LIBRARY.
Definition: QN8066.h:21
QN8066 Class.
Definition: QN8066.h:822
-
void setResetDelay(uint16_t delayAfterReset)
Definition: QN8066.h:906
+
void setResetDelay(uint16_t delayAfterReset)
Definition: QN8066.h:908
void rdsWriteBlock(uint8_t rdsRegister, uint16_t block)
Definition: QN8066.cpp:1270
-
qn8066_cid2 getDeviceProductFamily()
Definition: QN8066.h:864
+
qn8066_cid2 getDeviceProductFamily()
Definition: QN8066.h:866
void stopTransmitting()
void startTransmitting()
-
qn8066_cid1 getDeviceProductID()
Definition: QN8066.h:858
+
qn8066_cid1 getDeviceProductID()
Definition: QN8066.h:860
uint16_t pi
Definition: QN8066.h:709
uint8_t raw
Definition: QN8066.h:313
uint8_t raw
Definition: QN8066.h:646
@@ -1274,7 +1285,7 @@
uint8_t raw
Definition: QN8066.h:255
uint8_t raw
Definition: QN8066.h:207
uint8_t raw
Definition: QN8066.h:586
-
void setCrystalFrequency(uint32_t value)
Set the Crystal Frequency object.
Definition: QN8066.h:930
+
void setCrystalFrequency(uint32_t value)
Set the Crystal Frequency object.
Definition: QN8066.h:932
bool detectDevice()
Checks communication with QN8066 via I2C.
Definition: QN8066.cpp:26
uint8_t scanI2CBus(uint8_t *device)
Scans the I2C bus and returns the addresses of the devices found.
Definition: QN8066.cpp:41
void begin()
Device initial configuration.
Definition: QN8066.cpp:155
@@ -1292,7 +1303,7 @@
void setTxOffAfterOneMinuteNoAudio(bool value)
Set of 1 minute time for PA off when no audio.
Definition: QN8066.cpp:522
void setPreEmphasis(uint8_t value=1)
Pre-emphasis and de-emphasis time constant - Same setTxPreEmphasis.
Definition: QN8066.cpp:431
void setTxInputImpedance(uint8_t value)
TX mode input impedance for both L/R channels.
Definition: QN8066.cpp:702
-
void resetAudioPeak()
TX Audio peak clear signal.
Definition: QN8066.h:954
+
void resetAudioPeak()
TX Audio peak clear signal.
Definition: QN8066.h:956
void setTxSoftClipThreshold(uint8_t value)
TX soft clip threshold.
Definition: QN8066.cpp:496
void setTxStereo(bool value=true)
Set TX Stereo or Mono.
Definition: QN8066.cpp:324
void setAudioAnalogGain(uint8_t value)
Sets volume control gain of analog portion.
Definition: QN8066.cpp:576
@@ -1315,32 +1326,33 @@
void rdsSetTxLineIn(bool value=0)
Audio Line-in enable control.
Definition: QN8066.cpp:1261
void rdsSendRTMessage(char *rtText, uint8_t groupTransmissionCount=4)
Sends RDS Radio Text Message (group 2A)
Definition: QN8066.cpp:1434
void rdsTxEnable(bool value)
Transmitter RDS enable.
Definition: QN8066.cpp:1125
-
uint8_t rdsGetPTY()
Gets the Program Type (PTY)
Definition: QN8066.h:1012
-
uint8_t rdsGetError()
Gets TX RDS error setup.
Definition: QN8066.h:1041
+
uint8_t rdsGetPTY()
Gets the Program Type (PTY)
Definition: QN8066.h:1014
+
uint8_t rdsGetError()
Gets TX RDS error setup.
Definition: QN8066.h:1043
void rdsSendGroup(RDS_BLOCK1 blockA, RDS_BLOCK2 blockB, RDS_BLOCK3 blockC, RDS_BLOCK4 blockD)
Sends a RDS group (four blocks) to the QN8066.
Definition: QN8066.cpp:1309
void rdsSetFrequencyDerivation(uint8_t freq=6)
Sets RDS frequency deviation.
Definition: QN8066.cpp:1235
void rdsSendPS(char *ps=NULL, uint8_t groupTransmissionCount=4)
Sends the Program Service Message.
Definition: QN8066.cpp:1374
void rdsSetStationName(char *stationName)
Sets the station name.
Definition: QN8066.cpp:1347
-
char * rdsGetPS()
Gets the Program Station (Station Name).
Definition: QN8066.h:1034
+
char * rdsGetPS()
Gets the Program Station (Station Name).
Definition: QN8066.h:1036
uint8_t rdsSetTxToggle()
RDS transmitting ready.
Definition: QN8066.cpp:1153
-
void rdsSetTP(uint16_t tp)
Sets the Traffic Program.
Definition: QN8066.h:1020
-
uint8_t rdsGetTP()
Sets the Traffic Program.
Definition: QN8066.h:1027
+
void rdsSetTP(uint16_t tp)
Sets the Traffic Program.
Definition: QN8066.h:1022
+
uint8_t rdsGetTP()
Sets the Traffic Program.
Definition: QN8066.h:1029
bool rdsGetTxUpdated()
RDS TX Updated.
Definition: QN8066.cpp:1183
-
void rdsSetPTY(uint16_t pty)
Sets the Program Type (PTY)
Definition: QN8066.h:1005
-
void rdsSetPI(uint16_t pi)
Sets the Program Identification (PI)
Definition: QN8066.h:988
+
void rdsSetPTY(uint16_t pty)
Sets the Program Type (PTY)
Definition: QN8066.h:1007
+
void rdsSetPI(uint16_t pi)
Sets the Program Identification (PI)
Definition: QN8066.h:990
void rdsWriteTxBuffer(const char *text)
Writes the RDS data bytes to be sent (SEE TX_RDSD0 to TX_RDSD7 registers)
Definition: QN8066.cpp:1206
-
uint8_t rdsGetPI()
Gets the Program Identification (PI)
Definition: QN8066.h:998
+
uint8_t rdsGetPI()
Gets the Program Identification (PI)
Definition: QN8066.h:1000
void rdsClearBuffer()
Clear RDS register (Buffer)
Definition: QN8066.cpp:1280
+
void rdsSetSyncTime(uint8_t syncTime)
Sets the wait time for the QN8066 to be available to send the next RDS block.
Definition: QN8066.h:1058
void rdsSetPI(uint8_t countryId, uint8_t programId, uint8_t reference=0)
Sets the Program Identification (PI)
Definition: QN8066.cpp:1098
void rdsSet4KMode(uint8_t value)
Sets RDS 4K Mode .
Definition: QN8066.cpp:1027
void resetFsm()
Resets the state to initial states and recalibrate all blocks.
Definition: QN8066.cpp:1525
uint8_t getFsmStateCode()
Get the FSM State Code.
Definition: QN8066.cpp:1514
void setStnby(bool value)
Request Immediately enter Standby mode whatever state chip is in.
Definition: QN8066.cpp:1538
-
void setI2CLowSpeedMode(void)
Sets I2C bus to 10kHz.
Definition: QN8066.h:1064
-
void setI2CStandardMode(void)
Sets I2C bus to 100kHz.
Definition: QN8066.h:1074
+
void setI2CLowSpeedMode(void)
Sets I2C bus to 10kHz.
Definition: QN8066.h:1075
+
void setI2CStandardMode(void)
Sets I2C bus to 100kHz.
Definition: QN8066.h:1085
void convertToChar(uint16_t value, char *strValue, uint8_t len, uint8_t dot, uint8_t separator='.', bool remove_leading_zeros=true)
Converts a number to a char array.
Definition: QN8066.cpp:1577
-
void setI2CFastMode(void)
Sets I2C bus to 400kHz.
Definition: QN8066.h:1081
-
void setI2CFastModeCustom(long value=500000)
Sets the I2C bus to a given value. ATTENTION: use this function with caution.
Definition: QN8066.h:1094
+
void setI2CFastMode(void)
Sets I2C bus to 400kHz.
Definition: QN8066.h:1092
+
void setI2CFastModeCustom(long value=500000)
Sets the I2C bus to a given value. ATTENTION: use this function with caution.
Definition: QN8066.h:1105
diff --git a/extras/apidoc/html/class_q_n8066-members.html b/extras/apidoc/html/class_q_n8066-members.html index 05bc399..8d47b2b 100644 --- a/extras/apidoc/html/class_q_n8066-members.html +++ b/extras/apidoc/html/class_q_n8066-members.html @@ -127,48 +127,49 @@ rdsSetPI(uint8_t countryId, uint8_t programId, uint8_t reference=0)QN8066 rdsSetPTY(uint16_t pty)QN8066inline rdsSetStationName(char *stationName)QN8066 - rdsSetTP(uint16_t tp)QN8066inline - rdsSetTxLineIn(bool value=0)QN8066 - rdsSetTxToggle()QN8066 - rdsTxEnable(bool value)QN8066 - rdsWriteBlock(uint8_t rdsRegister, uint16_t block)QN8066 - rdsWriteTxBuffer(const char *text)QN8066 - resetAudioPeak()QN8066inline - resetFsm()QN8066 - scanI2CBus(uint8_t *device)QN8066 - setAudioAnalogGain(uint8_t value)QN8066 - setAudioDacHold(bool value)QN8066 - setAudioDigitalGain(uint8_t value)QN8066 - setAudioTxDiff(bool value)QN8066 - setCrystalFrequency(uint32_t value)QN8066inline - setI2CFastMode(void)QN8066inline - setI2CFastModeCustom(long value=500000)QN8066inline - setI2CLowSpeedMode(void)QN8066inline - setI2CStandardMode(void)QN8066inline - setPAC(uint8_t PA_TRGT)QN8066 - setPreEmphasis(uint8_t value=1)QN8066 - setRegister(uint8_t registerNumber, uint8_t value)QN8066 - setResetDelay(uint16_t delayAfterReset)QN8066inline - setRX()QN8066 - setStnby(bool value)QN8066 - setToggleTxPdClear()QN8066 - setTX(uint16_t frequency)QN8066 - setTxDigitalGain(uint8_t value)QN8066 - setTxFrequencyDerivation(uint8_t value)QN8066 - setTxInputBufferGain(uint8_t value)QN8066 - setTxInputImpedance(uint8_t value)QN8066 - setTxMono(uint8_t value=0)QN8066 - setTxOffAfterOneMinute(uint8_t value)QN8066 - setTxOffAfterOneMinuteNoAudio(bool value)QN8066 - setTxPilotGain(uint8_t value)QN8066 - setTxPreEmphasis(uint8_t value=75)QN8066 - setTxSoftClippingEnable(bool value)QN8066 - setTxSoftClipThreshold(uint8_t value)QN8066 - setTxStereo(bool value=true)QN8066 - setup(uint16_t xtalDiv=1000, bool mono=false, bool rds=false, uint8_t PreEmphasis=0, uint8_t xtalInj=0, uint8_t imageRejection=1, uint8_t txSoftClipThreshold=0, uint8_t oneMinutOff=3, uint8_t gainTxPLT=9, uint8_t txFreqDev=125, uint8_t rdsLineIn=0, uint8_t rdsFreqDev=60, uint8_t inInpedance=1, uint8_t txAgcDig=0, uint8_t txAgcBuffer=1, uint8_t txSoftClip=0)QN8066 - startTransmitting()QN8066 - stopTransmitting()QN8066 - updateTxSetup()QN8066 + rdsSetSyncTime(uint8_t syncTime)QN8066inline + rdsSetTP(uint16_t tp)QN8066inline + rdsSetTxLineIn(bool value=0)QN8066 + rdsSetTxToggle()QN8066 + rdsTxEnable(bool value)QN8066 + rdsWriteBlock(uint8_t rdsRegister, uint16_t block)QN8066 + rdsWriteTxBuffer(const char *text)QN8066 + resetAudioPeak()QN8066inline + resetFsm()QN8066 + scanI2CBus(uint8_t *device)QN8066 + setAudioAnalogGain(uint8_t value)QN8066 + setAudioDacHold(bool value)QN8066 + setAudioDigitalGain(uint8_t value)QN8066 + setAudioTxDiff(bool value)QN8066 + setCrystalFrequency(uint32_t value)QN8066inline + setI2CFastMode(void)QN8066inline + setI2CFastModeCustom(long value=500000)QN8066inline + setI2CLowSpeedMode(void)QN8066inline + setI2CStandardMode(void)QN8066inline + setPAC(uint8_t PA_TRGT)QN8066 + setPreEmphasis(uint8_t value=1)QN8066 + setRegister(uint8_t registerNumber, uint8_t value)QN8066 + setResetDelay(uint16_t delayAfterReset)QN8066inline + setRX()QN8066 + setStnby(bool value)QN8066 + setToggleTxPdClear()QN8066 + setTX(uint16_t frequency)QN8066 + setTxDigitalGain(uint8_t value)QN8066 + setTxFrequencyDerivation(uint8_t value)QN8066 + setTxInputBufferGain(uint8_t value)QN8066 + setTxInputImpedance(uint8_t value)QN8066 + setTxMono(uint8_t value=0)QN8066 + setTxOffAfterOneMinute(uint8_t value)QN8066 + setTxOffAfterOneMinuteNoAudio(bool value)QN8066 + setTxPilotGain(uint8_t value)QN8066 + setTxPreEmphasis(uint8_t value=75)QN8066 + setTxSoftClippingEnable(bool value)QN8066 + setTxSoftClipThreshold(uint8_t value)QN8066 + setTxStereo(bool value=true)QN8066 + setup(uint16_t xtalDiv=1000, bool mono=false, bool rds=false, uint8_t PreEmphasis=0, uint8_t xtalInj=0, uint8_t imageRejection=1, uint8_t txSoftClipThreshold=0, uint8_t oneMinutOff=3, uint8_t gainTxPLT=9, uint8_t txFreqDev=125, uint8_t rdsLineIn=0, uint8_t rdsFreqDev=60, uint8_t inInpedance=1, uint8_t txAgcDig=0, uint8_t txAgcBuffer=1, uint8_t txSoftClip=0)QN8066 + startTransmitting()QN8066 + stopTransmitting()QN8066 + updateTxSetup()QN8066 diff --git a/extras/apidoc/html/class_q_n8066.html b/extras/apidoc/html/class_q_n8066.html index 65ba4d3..52a9a44 100644 --- a/extras/apidoc/html/class_q_n8066.html +++ b/extras/apidoc/html/class_q_n8066.html @@ -296,6 +296,9 @@ void rdsClearBuffer ()  Clear RDS register (Buffer)
  +void rdsSetSyncTime (uint8_t syncTime) + Sets the wait time for the QN8066 to be available to send the next RDS block.
+  void resetFsm ()  Resets the state to initial states and recalibrate all blocks.
  diff --git a/extras/apidoc/html/class_q_n8066.js b/extras/apidoc/html/class_q_n8066.js index 64f8626..4d1c026 100644 --- a/extras/apidoc/html/class_q_n8066.js +++ b/extras/apidoc/html/class_q_n8066.js @@ -66,6 +66,7 @@ var class_q_n8066 = [ "rdsGetPS", "group__group05.html#ga8a972dd27044d708e0fcd01e45d3fba0", null ], [ "rdsGetError", "group__group05.html#ga39fca640c878f92ed9c15f000620161e", null ], [ "rdsClearBuffer", "group__group05.html#gadae22b8660f72a32479c9fc6c891aff6", null ], + [ "rdsSetSyncTime", "group__group05.html#gadf9a03570842fe995bf7594b8964ed91", null ], [ "resetFsm", "group__group10.html#ga1cbeccfe43f36b25bf01692b25bd12c7", null ], [ "getFsmStateCode", "group__group10.html#ga679e38373a2db0083d3f4bde4b6f2f9a", null ], [ "convertToChar", "group__group99.html#ga2a96d812724a3f6394f6419e2712d6d8", null ], diff --git a/extras/apidoc/html/functions.html b/extras/apidoc/html/functions.html index 366daa8..061900b 100644 --- a/extras/apidoc/html/functions.html +++ b/extras/apidoc/html/functions.html @@ -163,6 +163,7 @@

- r -