summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_pll_refout_cc.block.yml
blob: 17fdbe363fd85f7028c94e5c4539db6fb373329f (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
id: analog_pll_refout_cc
label: PLL Carrier Regeneration
flags: [ python, cpp ]

parameters:
-   id: w
    label: Loop Bandwidth
    dtype: real
-   id: min_freq
    label: Min Phase/sample
    dtype: real
-   id: max_freq
    label: Max Phase/sample
    dtype: real

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import analog
    make: analog.pll_refout_cc(${w}, ${max_freq}, ${min_freq})
    callbacks:
    - set_loop_bandwidth(${w})
    - set_max_freq(${max_freq})
    - set_min_freq(${min_freq})

cpp_templates:
    includes: ['#include <gnuradio/analog/pll_refout_cc.h>']
    make: 'this->${id} = analog::pll_refout_cc::make(${w}, ${max_freq}, ${min_freq});'
    callbacks:
    - set_loop_bandwidth(${w})
    - set_max_freq(${max_freq})
    - set_min_freq(${min_freq})
    link: ['gnuradio::gnuradio-analog']

file_format: 1