Re: PACKED option

On Friday 05 October 2007 06:40, Heinrich du Toit wrote:
> If you read from a digital device that has option SDF_PACKED.
>
> Say you configure it to read from 3 different digital "channels" (ie. 3
> lines)
>
> This would mean the 3 bits coming first would be the bits for those 3
> channels.
>

SDF_PACKED only refers to data streams from commands, where ordinarily each 
sample corresponds to one channel in the command's chanlist.  With 
SDF_PACKED, each channel gets only one bit.  Although, there is padding at 
the end of a scan if needed, so the first channel in the chanlist always 
appears as bit 0 of a sample.

-- 
Frank

Received on 2007-10-07Z22:17:54