libiio
Public Attributes | List of all members
iio.Channel.DataFormat Struct Reference

Public Attributes

uint length
 Total length of the sample, in bits More...
 
uint bits
 Length of valuable data in the sample, in bits More...
 
uint shift
 Right-shift to apply when converting sample More...
 
bool is_signed
 True if the sample is signed More...
 
bool is_fully_defined
 True if the sample if fully defined, sign-extended, etc. More...
 
bool is_be
 True if the sample is in big-endian format More...
 
bool with_scale
 True if the sample should be scaled when converted More...
 
double scale
 Scale to apply if with_scale is True More...
 
uint repeat
 Number of times length repeats More...
 

Member Data Documentation

◆ bits

uint iio.Channel.DataFormat.bits

Length of valuable data in the sample, in bits

◆ is_be

bool iio.Channel.DataFormat.is_be

True if the sample is in big-endian format

◆ is_fully_defined

bool iio.Channel.DataFormat.is_fully_defined

True if the sample if fully defined, sign-extended, etc.

◆ is_signed

bool iio.Channel.DataFormat.is_signed

True if the sample is signed

◆ length

uint iio.Channel.DataFormat.length

Total length of the sample, in bits

◆ repeat

uint iio.Channel.DataFormat.repeat

Number of times length repeats

◆ scale

double iio.Channel.DataFormat.scale

Scale to apply if with_scale is True

◆ shift

uint iio.Channel.DataFormat.shift

Right-shift to apply when converting sample

◆ with_scale

bool iio.Channel.DataFormat.with_scale

True if the sample should be scaled when converted


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