Class: Nl::Linux::Dpll::AttributeSets::PinParentDevice
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Dpll::AttributeSets::PinParentDevice
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Defined Under Namespace
Classes: Attribute, Direction, FractionalFrequencyOffset, FractionalFrequencyOffsetPpt, Operstate, ParentId, PhaseOffset, Prio, State
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
-
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
-
#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.
-
#operstate ⇒ Integer
Operational state of the pin with respect to its parent DPLL device.
- #parent_id ⇒ Integer
- #phase_offset ⇒ Integer
- #prio ⇒ Integer
-
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
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.
1081 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1081 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1087 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1087 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
1027 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1027 def direction; self[:"direction"]&.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.
1062 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1062 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.
1074 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1074 def fractional_frequency_offset_ppt; self[:"fractional_frequency_offset_ppt"]&.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.
1046 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1046 def operstate; self[:"operstate"]&.value; end |
#parent_id ⇒ Integer
1022 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1022 def parent_id; self[:"parent_id"]&.value; end |
#phase_offset ⇒ Integer
1050 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1050 def phase_offset; self[:"phase_offset"]&.value; end |
#prio ⇒ Integer
1031 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1031 def prio; self[:"prio"]&.value; end |
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
1036 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1036 def state; self[:"state"]&.value; end |