Class: Nl::Linux::Dpll::Notifications::DeviceChangeNtf

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

Overview

Notification about device configuration being changed

Multicast group: monitor.

Constant Summary collapse

TYPE =
6
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Dpll
ATTRIBUTES =
Ractor.make_shareable(%i[id module_name clock_id mode mode_supported lock_status temp type lock_status_error phase_offset_monitor phase_offset_avg_factor frequency_monitor])

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

#clock_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lock_status ⇒ Integer

Known enum values are defined in Enums::LockStatus.

Returns:

  • (Integer)

See Also:



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

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

#lock_status_error ⇒ Integer

Known enum values are defined in Enums::LockStatusError.

Returns:

  • (Integer)

See Also:



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

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

#mode ⇒ Integer

Known enum values are defined in Enums::Mode.

Returns:

  • (Integer)

See Also:



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

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

#mode_supported ⇒ Array<Integer>

Known enum values are defined in Enums::Mode.

Returns:

  • (Array<Integer>)

See Also:



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

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

#module_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#phase_offset_avg_factor ⇒ Integer

Averaging factor applied to calculation of reported phase offset.

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#temp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

Known enum values are defined in Enums::Type.

Returns:

  • (Integer)

See Also:



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

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