Skip to content
Snippets Groups Projects
Commit 7809ca5e authored by Sergey Musikhin's avatar Sergey Musikhin
Browse files

Show PMIC controls

parent 072d1b74
Branches
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ flags: throttle ...@@ -26,6 +26,7 @@ flags: throttle
parameters: parameters:
- id: metadata - id: metadata
label: Metadata label: Metadata
dtype: enum dtype: enum
...@@ -110,6 +111,14 @@ parameters: ...@@ -110,6 +111,14 @@ parameters:
default: 10000 default: 10000
hide: ${'$'}{ 'none' if use_dac == 'True' else 'part'} hide: ${'$'}{ 'none' if use_dac == 'True' else 'part'}
- id: show_pmic
label: 'Show PMIC controls'
dtype: enum
default: False
options: ['False', 'True']
hide: part
- id: xb200 - id: xb200
category: x40/x115 category: x40/x115
label: 'XB-200' label: 'XB-200'
...@@ -167,6 +176,7 @@ inputs: ...@@ -167,6 +176,7 @@ inputs:
- domain: message - domain: message
id: pmic_in id: pmic_in
optional: true optional: true
hide: ${'$'}{show_pmic == 'False'}
% if sourk == 'source': % if sourk == 'source':
outputs: outputs:
...@@ -182,6 +192,7 @@ outputs: ...@@ -182,6 +192,7 @@ outputs:
- domain: message - domain: message
id: pmic_out id: pmic_out
optional: true optional: true
hide: ${'$'}{show_pmic == 'False'}
templates: templates:
imports: |- imports: |-
...@@ -229,7 +240,6 @@ templates: ...@@ -229,7 +240,6 @@ templates:
% endif % endif
self.${'$'}{id}.set_gain(${'$'}{${'gain' + str(n)}}, ${n}) self.${'$'}{id}.set_gain(${'$'}{${'gain' + str(n)}}, ${n})
self.${'$'}{id}.set_if_gain(${'$'}{${'if_gain' + str(n)}}, ${n}) self.${'$'}{id}.set_if_gain(${'$'}{${'if_gain' + str(n)}}, ${n})
${'%'} endif ${'%'} endif
% endfor % endfor
callbacks: callbacks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment