Class: Nl::Linux::Dpll::Messages::DoPinSetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Dpll::Messages::DoPinSetRequest
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Overview
Set attributes of a target pin
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
9- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Pin
- ATTRIBUTES =
Ractor.make_shareable(%i[id direction frequency prio state parent_device parent_pin phase_adjust esync_frequency reference_sync])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
-
#esync_frequency ⇒ Integer
Frequency of Embedded SYNC signal.
- #frequency ⇒ Integer
- #id ⇒ Integer
- #parent_device ⇒ Array<AttributeSets::PinParentDevice>
- #parent_pin ⇒ Array<AttributeSets::PinParentPin>
- #phase_adjust ⇒ 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.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#direction ⇒ Integer
Known enum values are defined in Enums::PinDirection.
1876 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1876 def direction; attributes[:"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.
1907 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1907 def esync_frequency; attributes[:"esync_frequency"]&.value; end |
#frequency ⇒ Integer
1880 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1880 def frequency; attributes[:"frequency"]&.value; end |
#id ⇒ Integer
1871 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1871 def id; attributes[:"id"]&.value; end |
#parent_device ⇒ Array<AttributeSets::PinParentDevice>
1893 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1893 def parent_device; attributes[:"parent_device"].map(&:value); end |
#parent_pin ⇒ Array<AttributeSets::PinParentPin>
1897 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1897 def parent_pin; attributes[:"parent_pin"].map(&:value); end |
#phase_adjust ⇒ Integer
1901 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1901 def phase_adjust; attributes[:"phase_adjust"]&.value; end |
#prio ⇒ Integer
1884 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1884 def prio; attributes[:"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.
1913 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1913 def reference_sync; attributes[:"reference_sync"].map(&:value); end |
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
1889 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1889 def state; attributes[:"state"]&.value; end |