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

Public Member Functions

 ChannelsMask (uint nb_channels)
 
def __init__ (self, dev)
 
def __del__ (self)
 
def sample_size (self)
 
- Public Member Functions inherited from iio._IIO_Object
def __init__ (self, hdl, parent)
 
def __eq__ (self, other)
 
- Public Member Functions inherited from iio.IIOObject
void Dispose ()
 Releases all resource used by the iio.IIOObject object. More...
 

Protected Member Functions

override void Destroy ()
 
- Protected Member Functions inherited from iio.IIOObject
 IIOObject (IntPtr hdl)
 

Properties

 channels
 

Detailed Description

A bitmask where each bit corresponds to an enabled channel.

Member Function Documentation

◆ sample_size()

def iio.ChannelsMask.sample_size (   self)
Return the sample size of the current channels mask.
type: int

Property Documentation

◆ channels

iio.ChannelsMask.channels
static
Initial value:
= property(
lambda self: self._channels,
_set_channels,
None,
"List of enabled channels",
)

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