Class: Nl::Linux::Dpll::AttributeSets::Pin
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Dpll::AttributeSets::Pin
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Defined Under Namespace
Classes: Attribute, BoardLabel, Capabilities, ClockId, Direction, EsyncFrequency, EsyncFrequencySupported, EsyncPulse, FractionalFrequencyOffset, FractionalFrequencyOffsetPpt, Frequency, FrequencyMax, FrequencyMin, FrequencySupported, Id, MeasuredFrequency, ModuleName, Operstate, PackageLabel, Pad, PanelLabel, ParentDevice, ParentId, ParentPin, PhaseAdjust, PhaseAdjustGran, PhaseAdjustMax, PhaseAdjustMin, PhaseOffset, Prio, ReferenceSync, State, 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
- #board_label ⇒ String
-
#capabilities ⇒ Integer
Known flags are defined in Flags::PinCapabilities.
- #clock_id ⇒ Integer
-
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
-
#esync_frequency ⇒ Integer
Frequency of Embedded SYNC signal.
-
#esync_frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
If provided a pin is capable of embedding a SYNC signal (within given range) into its base frequency signal.
-
#esync_pulse ⇒ Integer
A ratio of high to low state of a SYNC signal pulse embedded into base clock frequency.
-
#fractional_frequency_offset ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin.
-
#fractional_frequency_offset_ppt ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin.
- #frequency ⇒ Integer
- #frequency_max ⇒ Integer
- #frequency_min ⇒ Integer
- #frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
- #id ⇒ Integer
-
#measured_frequency ⇒ Integer
The measured frequency of the input pin in millihertz (mHz).
- #module_name ⇒ String
-
#operstate ⇒ Integer
Operational state of the pin with respect to its parent DPLL device.
- #package_label ⇒ String
- #panel_label ⇒ String
- #parent_device ⇒ Array<AttributeSets::PinParentDevice>
- #parent_id ⇒ Integer
- #parent_pin ⇒ Array<AttributeSets::PinParentPin>
- #phase_adjust ⇒ Integer
-
#phase_adjust_gran ⇒ Integer
Granularity of phase adjustment, in picoseconds.
- #phase_adjust_max ⇒ Integer
- #phase_adjust_min ⇒ Integer
- #phase_offset ⇒ Integer
- #prio ⇒ Integer
-
#reference_sync ⇒ Array<AttributeSets::ReferenceSync>
Capable pin provides list of pins that can be bound to create a reference-sync pin pair.
-
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
-
#type ⇒ Integer
Known enum values are defined in Enums::PinType.
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.
914 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 914 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
920 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 920 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#board_label ⇒ String
760 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 760 def board_label; self[:"board_label"]&.value; end |
#capabilities ⇒ Integer
Known flags are defined in Flags::PinCapabilities.
808 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 808 def capabilities; self[:"capabilities"]&.value; end |
#clock_id ⇒ Integer
756 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 756 def clock_id; self[:"clock_id"]&.value; end |
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
778 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 778 def direction; self[:"direction"]&.value; end |
#esync_frequency ⇒ Integer
Frequency of Embedded SYNC signal. If provided, the pin is configured with a SYNC signal embedded into its base clock frequency.
850 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 850 def esync_frequency; self[:"esync_frequency"]&.value; end |
#esync_frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
If provided a pin is capable of embedding a SYNC signal (within given range) into its base frequency signal.
856 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 856 def esync_frequency_supported; self[:"esync_frequency_supported"].map(&:value); end |
#esync_pulse ⇒ Integer
A ratio of high to low state of a SYNC signal pulse embedded into base clock frequency. Value is in percents.
862 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 862 def esync_pulse; self[:"esync_pulse"]&.value; end |
#fractional_frequency_offset ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin. At top level this represents the RX vs TX symbol rate offset on the media associated with the pin. Inside the pin-parent-device nest it represents the frequency offset between the pin and its parent DPLL device. Value is in PPM (parts per million). This is a lower-precision version of fractional-frequency-offset-ppt.
844 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 844 def fractional_frequency_offset; self[:"fractional_frequency_offset"]&.value; end |
#fractional_frequency_offset_ppt ⇒ Integer
The FFO (Fractional Frequency Offset) of the pin. At top level this represents the RX vs TX symbol rate offset on the media associated with the pin. Inside the pin-parent-device nest it represents the frequency offset between the pin and its parent DPLL device. Value is in PPT (parts per trillion, 10^-12). This is a higher-precision version of fractional-frequency-offset.
886 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 886 def fractional_frequency_offset_ppt; self[:"fractional_frequency_offset_ppt"]&.value; end |
#frequency ⇒ Integer
782 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 782 def frequency; self[:"frequency"]&.value; end |
#frequency_max ⇒ Integer
794 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 794 def frequency_max; self[:"frequency_max"]&.value; end |
#frequency_min ⇒ Integer
790 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 790 def frequency_min; self[:"frequency_min"]&.value; end |
#frequency_supported ⇒ Array<AttributeSets::FrequencyRange>
786 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 786 def frequency_supported; self[:"frequency_supported"].map(&:value); end |
#id ⇒ Integer
744 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 744 def id; self[:"id"]&.value; end |
#measured_frequency ⇒ Integer
The measured frequency of the input pin in millihertz (mHz). Value of (DPLL_A_PIN_MEASURED_FREQUENCY / DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is an integer part (Hz) of a measured frequency value. Value of (DPLL_A_PIN_MEASURED_FREQUENCY % DPLL_PIN_MEASURED_FREQUENCY_DIVIDER) is a fractional part of a measured frequency value.
897 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 897 def measured_frequency; self[:"measured_frequency"]&.value; end |
#module_name ⇒ String
752 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 752 def module_name; self[:"module_name"]&.value; end |
#operstate ⇒ Integer
Operational state of the pin with respect to its parent DPLL device. Unlike state (which reflects the administrative intent), operstate reflects the actual hardware status.
Known enum values are defined in Enums::PinOperstate.
907 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 907 def operstate; self[:"operstate"]&.value; end |
#package_label ⇒ String
768 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 768 def package_label; self[:"package_label"]&.value; end |
#panel_label ⇒ String
764 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 764 def panel_label; self[:"panel_label"]&.value; end |
#parent_device ⇒ Array<AttributeSets::PinParentDevice>
812 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 812 def parent_device; self[:"parent_device"].map(&:value); end |
#parent_id ⇒ Integer
748 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 748 def parent_id; self[:"parent_id"]&.value; end |
#parent_pin ⇒ Array<AttributeSets::PinParentPin>
816 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 816 def parent_pin; self[:"parent_pin"].map(&:value); end |
#phase_adjust ⇒ Integer
828 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 828 def phase_adjust; self[:"phase_adjust"]&.value; end |
#phase_adjust_gran ⇒ Integer
Granularity of phase adjustment, in picoseconds. The value of phase adjustment must be a multiple of this granularity.
874 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 874 def phase_adjust_gran; self[:"phase_adjust_gran"]&.value; end |
#phase_adjust_max ⇒ Integer
824 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 824 def phase_adjust_max; self[:"phase_adjust_max"]&.value; end |
#phase_adjust_min ⇒ Integer
820 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 820 def phase_adjust_min; self[:"phase_adjust_min"]&.value; end |
#phase_offset ⇒ Integer
832 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 832 def phase_offset; self[:"phase_offset"]&.value; end |
#prio ⇒ Integer
798 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 798 def prio; self[:"prio"]&.value; end |
#reference_sync ⇒ Array<AttributeSets::ReferenceSync>
Capable pin provides list of pins that can be bound to create a reference-sync pin pair.
868 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 868 def reference_sync; self[:"reference_sync"].map(&:value); end |
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
803 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 803 def state; self[:"state"]&.value; end |
#type ⇒ Integer
Known enum values are defined in Enums::PinType.
773 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 773 def type; self[:"type"]&.value; end |