1010
1111
1212class hmc7044 (context_manager , attribute ):
13- """hmc7044 IIO Device Interface
14- This class provides a Python interface for interacting with the HMC7044 device via the Industrial I/O (IIO) framework.
15- It allows users to access and modify device and channel attributes, as well as perform device-specific operations.
13+ """
14+ hmc7044 IIO Device Interface
15+ This class provides a Python interface for interacting with the HMC7044
16+ device via the Industrial I/O (IIO) framework.
17+ It allows users to access and modify device and channel attributes, as well
18+ as perform device-specific operations.
19+
1620 Attributes:
1721 mute_request (str): Get or set the mute request state of the device.
1822 reseed_request (str): Get or set the reseed request state of the device.
@@ -22,14 +26,18 @@ class hmc7044(context_manager, attribute):
2226 sync_pin_mode_available (str): Get the available synchronization pin modes.
2327 sysref_request (str): Get or set the SYSREF request state of the device.
2428 status (str): Get the debug status of the device.
29+
2530 Channel Attributes (dynamically added per channel):
2631 <channel_label>_frequency (int): Get or set the frequency for the specified channel.
2732 <channel_label>_label (str): Get or set the label for the specified channel.
2833 <channel_label>_phase (int): Get or set the phase for the specified channel.
34+
2935 Args:
3036 uri (str, optional): URI of the IIO context. Defaults to "".
37+
3138 Raises:
3239 Exception: If the HMC7044 device is not found in the IIO context.
40+
3341 Usage Example:
3442 dev = hmc7044("ip:192.168.2.1")
3543 print(dev.status)
0 commit comments