Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

projects/maven/swea/

mvn_swe_getbits.pro


Routines

top source mvn_swe_getbits

result = mvn_swe_getbits(word, bitrange)

FUNCTION: mvn_swe_getbits PURPOSE: Extracts a sub-word defined by a range of bits from an input word. USAGE: subword = mvn_swe_getbits(word, bitrange) INPUTS: word: A 16-bit (2-byte) word. Can also be an array of words. Can also be a byte or an array of bytes. bitrange: A one- or two-element array specifying the desired bit or range of bits: [MSB [, LSB]], where MSB and LSB are integers between 0 and 15. If MSB and LSB are the same, or if only one bit is specified, then just that one bit is returned. KEYWORDS: $LastChangedBy: dmitchell $ $LastChangedDate: 2014-10-31 12:38:38 -0700 (Fri, 31 Oct 2014) $ $LastChangedRevision: 16103 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/swea/mvn_swe_getbits.pro $ CREATED BY: David L. Mitchell 08-29-11 FILE: mvn_swe_getbits.pro VERSION: 1.0 LAST MODIFICATION: 08/29/11

Parameters

word
bitrange

File attributes

Modification date: Fri Nov 21 06:43:11 2014
Lines: 8