Class: Nl::Linux::Dpll::Notifications::PinChangeNtf

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/dpll.rb

Overview

Notification about pin configuration being changed

Multicast group: monitor.

Constant Summary collapse

TYPE =
12
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Pin
ATTRIBUTES =
Ractor.make_shareable(%i[id module_name clock_id board_label panel_label package_label type frequency frequency_supported capabilities parent_device parent_pin phase_adjust_min phase_adjust_max phase_adjust fractional_frequency_offset esync_frequency esync_frequency_supported esync_pulse reference_sync phase_adjust_gran fractional_frequency_offset_ppt measured_frequency])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#board_label ⇒ String

Returns:

  • (String)

See Also:



2419
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2419

def board_label; attributes[:"board_label"]&.value; end

#capabilities ⇒ Integer

Known flags are defined in Flags::PinCapabilities.

Returns:

  • (Integer)

See Also:



2445
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2445

def capabilities; attributes[:"capabilities"]&.value; end

#clock_id ⇒ Integer

Returns:

  • (Integer)

See Also:



2415
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2415

def clock_id; attributes[:"clock_id"]&.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.

Returns:

  • (Integer)

See Also:



2483
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2483

def esync_frequency; attributes[:"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.



2489
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2489

def esync_frequency_supported; attributes[:"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.

Returns:

  • (Integer)

See Also:



2495
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2495

def esync_pulse; attributes[:"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.

Returns:

  • (Integer)

See Also:



2477
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2477

def fractional_frequency_offset; attributes[:"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.



2519
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2519

def fractional_frequency_offset_ppt; attributes[:"fractional_frequency_offset_ppt"]&.value; end

#frequency ⇒ Integer

Returns:

  • (Integer)

See Also:



2436
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2436

def frequency; attributes[:"frequency"]&.value; end

#frequency_supported ⇒ Array<AttributeSets::FrequencyRange>



2440
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2440

def frequency_supported; attributes[:"frequency_supported"].map(&:value); end

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



2407
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2407

def id; attributes[:"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.

Returns:

  • (Integer)

See Also:



2530
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2530

def measured_frequency; attributes[:"measured_frequency"]&.value; end

#module_name ⇒ String

Returns:

  • (String)

See Also:



2411
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2411

def module_name; attributes[:"module_name"]&.value; end

#package_label ⇒ String

Returns:

  • (String)

See Also:



2427
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2427

def package_label; attributes[:"package_label"]&.value; end

#panel_label ⇒ String

Returns:

  • (String)

See Also:



2423
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2423

def panel_label; attributes[:"panel_label"]&.value; end

#parent_device ⇒ Array<AttributeSets::PinParentDevice>



2449
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2449

def parent_device; attributes[:"parent_device"].map(&:value); end

#parent_pin ⇒ Array<AttributeSets::PinParentPin>



2453
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2453

def parent_pin; attributes[:"parent_pin"].map(&:value); end

#phase_adjust ⇒ Integer

Returns:

  • (Integer)

See Also:



2465
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2465

def phase_adjust; attributes[:"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.

Returns:

  • (Integer)

See Also:



2507
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2507

def phase_adjust_gran; attributes[:"phase_adjust_gran"]&.value; end

#phase_adjust_max ⇒ Integer

Returns:

  • (Integer)

See Also:



2461
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2461

def phase_adjust_max; attributes[:"phase_adjust_max"]&.value; end

#phase_adjust_min ⇒ Integer

Returns:

  • (Integer)

See Also:



2457
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2457

def phase_adjust_min; attributes[:"phase_adjust_min"]&.value; end

#reference_sync ⇒ Array<AttributeSets::ReferenceSync>

Capable pin provides list of pins that can be bound to create a reference-sync pin pair.



2501
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2501

def reference_sync; attributes[:"reference_sync"].map(&:value); end

#type ⇒ Integer

Known enum values are defined in Enums::PinType.

Returns:

  • (Integer)

See Also:



2432
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2432

def type; attributes[:"type"]&.value; end