Class: Nl::Linux::Dpll::Notifications::DeviceCreateNtf

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

Overview

Notification about device appearing

Multicast group: monitor.

Constant Summary collapse

TYPE =
4
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:



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

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:



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

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lock_status ⇒ Integer

Known enum values are defined in Enums::LockStatus.

Returns:

  • (Integer)

See Also:



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

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

#lock_status_error ⇒ Integer

Known enum values are defined in Enums::LockStatusError.

Returns:

  • (Integer)

See Also:



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

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

#mode ⇒ Integer

Known enum values are defined in Enums::Mode.

Returns:

  • (Integer)

See Also:



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

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

#mode_supported ⇒ Array<Integer>

Known enum values are defined in Enums::Mode.

Returns:

  • (Array<Integer>)

See Also:



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

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

#module_name ⇒ String

Returns:

  • (String)

See Also:



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

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:



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

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:



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

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

#temp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

Known enum values are defined in Enums::Type.

Returns:

  • (Integer)

See Also:



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

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