ext-ctrls-rf-tuner.rst 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: V4L
  3. .. _rf-tuner-controls:
  4. **************************
  5. RF Tuner Control Reference
  6. **************************
  7. The RF Tuner (RF_TUNER) class includes controls for common features of
  8. devices having RF tuner.
  9. In this context, RF tuner is radio receiver circuit between antenna and
  10. demodulator. It receives radio frequency (RF) from the antenna and
  11. converts that received signal to lower intermediate frequency (IF) or
  12. baseband frequency (BB). Tuners that could do baseband output are often
  13. called Zero-IF tuners. Older tuners were typically simple PLL tuners
  14. inside a metal box, while newer ones are highly integrated chips
  15. without a metal box "silicon tuners". These controls are mostly
  16. applicable for new feature rich silicon tuners, just because older
  17. tuners does not have much adjustable features.
  18. For more information about RF tuners see
  19. `Tuner (radio) <http://en.wikipedia.org/wiki/Tuner_%28radio%29>`__
  20. and `RF front end <http://en.wikipedia.org/wiki/RF_front_end>`__
  21. from Wikipedia.
  22. .. _rf-tuner-control-id:
  23. RF_TUNER Control IDs
  24. ====================
  25. ``V4L2_CID_RF_TUNER_CLASS (class)``
  26. The RF_TUNER class descriptor. Calling
  27. :ref:`VIDIOC_QUERYCTRL` for this control will
  28. return a description of this control class.
  29. ``V4L2_CID_RF_TUNER_BANDWIDTH_AUTO (boolean)``
  30. Enables/disables tuner radio channel bandwidth configuration. In
  31. automatic mode bandwidth configuration is performed by the driver.
  32. ``V4L2_CID_RF_TUNER_BANDWIDTH (integer)``
  33. Filter(s) on tuner signal path are used to filter signal according
  34. to receiving party needs. Driver configures filters to fulfill
  35. desired bandwidth requirement. Used when
  36. V4L2_CID_RF_TUNER_BANDWIDTH_AUTO is not set. Unit is in Hz. The
  37. range and step are driver-specific.
  38. ``V4L2_CID_RF_TUNER_LNA_GAIN_AUTO (boolean)``
  39. Enables/disables LNA automatic gain control (AGC)
  40. ``V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO (boolean)``
  41. Enables/disables mixer automatic gain control (AGC)
  42. ``V4L2_CID_RF_TUNER_IF_GAIN_AUTO (boolean)``
  43. Enables/disables IF automatic gain control (AGC)
  44. ``V4L2_CID_RF_TUNER_RF_GAIN (integer)``
  45. The RF amplifier is the very first amplifier on the receiver signal
  46. path, just right after the antenna input. The difference between the
  47. LNA gain and the RF gain in this document is that the LNA gain is
  48. integrated in the tuner chip while the RF gain is a separate chip.
  49. There may be both RF and LNA gain controls in the same device. The
  50. range and step are driver-specific.
  51. ``V4L2_CID_RF_TUNER_LNA_GAIN (integer)``
  52. LNA (low noise amplifier) gain is first gain stage on the RF tuner
  53. signal path. It is located very close to tuner antenna input. Used
  54. when ``V4L2_CID_RF_TUNER_LNA_GAIN_AUTO`` is not set. See
  55. ``V4L2_CID_RF_TUNER_RF_GAIN`` to understand how RF gain and LNA gain
  56. differs from the each others. The range and step are
  57. driver-specific.
  58. ``V4L2_CID_RF_TUNER_MIXER_GAIN (integer)``
  59. Mixer gain is second gain stage on the RF tuner signal path. It is
  60. located inside mixer block, where RF signal is down-converted by the
  61. mixer. Used when ``V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO`` is not set.
  62. The range and step are driver-specific.
  63. ``V4L2_CID_RF_TUNER_IF_GAIN (integer)``
  64. IF gain is last gain stage on the RF tuner signal path. It is
  65. located on output of RF tuner. It controls signal level of
  66. intermediate frequency output or baseband output. Used when
  67. ``V4L2_CID_RF_TUNER_IF_GAIN_AUTO`` is not set. The range and step
  68. are driver-specific.
  69. ``V4L2_CID_RF_TUNER_PLL_LOCK (boolean)``
  70. Is synthesizer PLL locked? RF tuner is receiving given frequency
  71. when that control is set. This is a read-only control.