blob: bcec98e8451061ef22ec53e02fff1497f46e8bfb [file] [log] [blame]
Piotr Krysik09826732016-07-15 13:14:24 +02001<block>
2 <name>Clock Offset Corrector Tagged</name>
3 <key>gsm_clock_offset_corrector_tagged</key>
Piotr Krysikd1ca3892016-07-17 11:33:50 +02004 <import>import grgsm</import>
Piotr Krysik09826732016-07-15 13:14:24 +02005 <make>grgsm.clock_offset_corrector_tagged(
6 fc=$fc,
Piotr Krysik09826732016-07-15 13:14:24 +02007 samp_rate_in=$samp_rate_in,
Piotr Krysik83afe732016-07-17 22:48:35 +02008 ppm=$ppm,
9 osr=$osr
Piotr Krysik09826732016-07-15 13:14:24 +020010)</make>
11 <callback>set_fc($fc)</callback>
12 <callback>set_ppm($ppm)</callback>
13 <callback>set_samp_rate_in($samp_rate_in)</callback>
Piotr Krysik83afe732016-07-17 22:48:35 +020014 <callback>set_osr($osr)</callback>
Piotr Krysik09826732016-07-15 13:14:24 +020015 <param>
16 <name>fc</name>
17 <key>fc</key>
Piotr Krysik83afe732016-07-17 22:48:35 +020018 <value>936.6e6</value>
19 <type>raw</type>
Piotr Krysik09826732016-07-15 13:14:24 +020020 </param>
21 <param>
22 <name>ppm</name>
23 <key>ppm</key>
Piotr Krysik83afe732016-07-17 22:48:35 +020024 <value>0</value>
25 <type>raw</type>
Piotr Krysik09826732016-07-15 13:14:24 +020026 </param>
27 <param>
28 <name>samp_rate_in</name>
29 <key>samp_rate_in</key>
Piotr Krysik83afe732016-07-17 22:48:35 +020030 <value>1625000.0/6.0*4.0</value>
31 <type>raw</type>
32 </param>
33 <param>
34 <name>OSR</name>
35 <key>osr</key>
36 <value>osr</value>
37 <type>raw</type>
Piotr Krysik09826732016-07-15 13:14:24 +020038 </param>
39 <sink>
40 <name>ctrl</name>
41 <type>message</type>
42 <optional>1</optional>
43 </sink>
44 <sink>
45 <name>in</name>
46 <type>complex</type>
47 <vlen>1</vlen>
48 </sink>
49 <source>
50 <name>out</name>
51 <type>complex</type>
52 <vlen>1</vlen>
53 </source>
54 <doc>Piotr Krysik
55Clock offset corrector with blocks that use tags to switch offsets
Piotr Krysik83afe732016-07-17 22:48:35 +020056 </doc>
Piotr Krysik09826732016-07-15 13:14:24 +020057</block>