libiio
Public Member Functions | List of all members
iio.DeviceAttr Class Reference
Inheritance diagram for iio.DeviceAttr:
Inheritance graph
[legend]
Collaboration diagram for iio.DeviceAttr:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, device, name)
 
- Public Member Functions inherited from iio._Attr
def __init__ (self, name, filename=None)
 
def __str__ (self)
 

Additional Inherited Members

- Properties inherited from iio._Attr
 name
 
 filename
 
 value
 

Detailed Description

Represents an attribute of an IIO device.

Constructor & Destructor Documentation

◆ __init__()

def iio.DeviceAttr.__init__ (   self,
  device,
  name 
)
Initialize a new instance of the DeviceAttr class.

:param device: type=iio.Device
    A valid instance of the iio.Device class.
:param name: type=str
    The device attribute's name

returns: type=iio.DeviceAttr
    A new instance of this class

The documentation for this class was generated from the following file: