1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct tuner_range</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="mediadev.html#id-1.8.2" title="Video2Linux devices"><link rel="prev" href="API-enum-param-type.html" title="enum param_type"><link rel="next" href="API-struct-tuner-params.html" title="struct tuner_params"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct tuner_range</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-param-type.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-tuner-params.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-tuner-range"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct tuner_range — 
2     define the frequencies supported by the tuner
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct tuner_range {
5  unsigned short limit;
6  unsigned char config;
7  unsigned char cb;
8};  </pre></div><div class="refsect1"><a name="id-1.8.2.5.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">limit</span></dt><dd><p>
9   Max frequency supported by that range, in 62.5 kHz
10   (TV) or 62.5 Hz (Radio), as defined by
11   V4L2_TUNER_CAP_LOW.
12      </p></dd><dt><span class="term">config</span></dt><dd><p>
13   Value of the band switch byte (BB) to setup this mode.
14      </p></dd><dt><span class="term">cb</span></dt><dd><p>
15   Value of the CB byte to setup this mode.
16      </p></dd></dl></div></div><div class="refsect1"><a name="id-1.8.2.5.6"></a><h2>Description</h2><p>
17   Please notice that digital tuners like xc3028/xc4000/xc5000 don't use
18   those ranges, as they're defined inside the driver. This is used by
19   analog tuners that are compatible with the <span class="quote">“<span class="quote">Philips way</span>”</span> to setup the
20   tuners. On those devices, the tuner set is done via 4 bytes:
21   divider byte1 (DB1), divider byte 2 (DB2), Control byte (CB) and
22   band switch byte (BB).
23   Some tuners also have an additional optional Auxiliary byte (AB).
24</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-enum-param-type.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mediadev.html#id-1.8.2">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-tuner-params.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum param_type</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct tuner_params</span></td></tr></table></div></body></html>
25