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

Public Member Functions

def __init__ (self, channel, 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 a channel.

Constructor & Destructor Documentation

◆ __init__()

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

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

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

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