Class: Nl::Linux::Dpll::AttributeSets::Dpll
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Dpll::AttributeSets::Dpll
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Defined Under Namespace
Classes: Attribute, ClockId, ClockQualityLevel, FrequencyMonitor, Id, LockStatus, LockStatusError, Mode, ModeSupported, ModuleName, Pad, PhaseOffsetAvgFactor, PhaseOffsetMonitor, Temp, Type
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #clock_id ⇒ Integer
-
#clock_quality_level ⇒ Array<Integer>
Level of quality of a clock device.
-
#frequency_monitor ⇒ Integer
Current or desired state of the frequency monitor feature.
- #id ⇒ Integer
-
#lock_status ⇒ Integer
Known enum values are defined in Enums::LockStatus.
-
#lock_status_error ⇒ Integer
Known enum values are defined in Enums::LockStatusError.
-
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
-
#mode_supported ⇒ Array<Integer>
Known enum values are defined in Enums::Mode.
- #module_name ⇒ String
-
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
-
#phase_offset_monitor ⇒ Integer
Receive or request state of phase offset monitor feature.
- #temp ⇒ Integer
-
#type ⇒ Integer
Known enum values are defined in Enums::Type.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
425 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 425 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
431 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 431 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#clock_id ⇒ Integer
358 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 358 def clock_id; self[:"clock_id"]&.value; end |
#clock_quality_level ⇒ Array<Integer>
Level of quality of a clock device. This mainly applies when the dpll lock-status is DPLL_LOCK_STATUS_HOLDOVER. This could be put to message multiple times to indicate possible parallel quality levels (e.g. one specified by ITU option 1 and another one specified by option 2).
Known enum values are defined in Enums::ClockQualityLevel.
399 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 399 def clock_quality_level; self[:"clock_quality_level"].map(&:value); end |
#frequency_monitor ⇒ Integer
Current or desired state of the frequency monitor feature. If enabled, dpll device shall measure all currently available inputs for their actual input frequency.
Known enum values are defined in Enums::FeatureState.
418 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 418 def frequency_monitor; self[:"frequency_monitor"]&.value; end |
#id ⇒ Integer
350 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 350 def id; self[:"id"]&.value; end |
#lock_status ⇒ Integer
Known enum values are defined in Enums::LockStatus.
373 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 373 def lock_status; self[:"lock_status"]&.value; end |
#lock_status_error ⇒ Integer
Known enum values are defined in Enums::LockStatusError.
387 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 387 def lock_status_error; self[:"lock_status_error"]&.value; end |
#mode ⇒ Integer
Known enum values are defined in Enums::Mode.
363 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 363 def mode; self[:"mode"]&.value; end |
#mode_supported ⇒ Array<Integer>
Known enum values are defined in Enums::Mode.
368 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 368 def mode_supported; self[:"mode_supported"].map(&:value); end |
#module_name ⇒ String
354 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 354 def module_name; self[:"module_name"]&.value; end |
#phase_offset_avg_factor ⇒ Integer
Averaging factor applied to calculation of reported phase offset.
411 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 411 def phase_offset_avg_factor; self[:"phase_offset_avg_factor"]&.value; end |
#phase_offset_monitor ⇒ Integer
Receive or request state of phase offset monitor feature. If enabled, dpll device shall monitor and notify all currently available inputs for changes of their phase offset against the dpll device.
Known enum values are defined in Enums::FeatureState.
406 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 406 def phase_offset_monitor; self[:"phase_offset_monitor"]&.value; end |
#temp ⇒ Integer
377 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 377 def temp; self[:"temp"]&.value; end |
#type ⇒ Integer
Known enum values are defined in Enums::Type.
382 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 382 def type; self[:"type"]&.value; end |