summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_pfb_clock_sync.xml
blob: c9487f52c495eeb35566675275694963cc55eb23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0"?>
<!--
###################################################
## Polyphase Filter based Clock Sync
###################################################
 -->
<block>
	<name>Polyphase Clock Sync</name>
	<key>gr_pfb_clock_sync_ccf</key>
	<import>from gnuradio import gr</import>
	<make>gr.pfb_clock_sync_ccf($sps, $alpha, $taps, $filter_size, $init_phase)</make>
	<callback>set_taps($taps)</callback>
	<callback>set_gain($gain)</callback>

	<param>
		<name>Samples/Symbol</name>
		<key>sps</key>
		<type>real</type>
	</param>
	<param>
		<name>Alpha</name>
		<key>alpha</key>
		<type>real</type>
	</param>
	<param>
		<name>Beta</name>
		<key>beta</key>
		<type>real</type>
	</param>
	<param>
		<name>Taps</name>
		<key>taps</key>
		<type>real_vector</type>
	</param>
	<param>
		<name>Filter Size</name>
		<key>filter_size</key>
		<type>int</type>
	</param>
	<param>
		<name>Initial Phase</name>
		<key>init_phase</key>
		<type>real</type>
	</param>
	<sink>
		<name>in</name>
		<type>complex</type>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
	</source>
	<source>
		<name>err</name>
		<type>float</type>
		<optional>1</optional>
	</source>
	<source>
		<name>rate</name>
		<type>float</type>
		<optional>1</optional>
	</source>
	<source>
		<name>phase</name>
		<type>float</type>
		<optional>1</optional>
	</source>
</block>