(Page 13 of 13 in this chapter)


TxApiSwabShort

Description

Converts a short or unsigned short from MSB first representation to LSB first (or LSB to MSB). This operation is referred to as swabbing.

Prototype

unsigned short TxApiSwabShort (unsigned short in);

in Value to be swabbed

Return Values

Swabbed version of the long/unsigned long.

Details

TxApiSwabShort should not be called directly from an application. Applications should manipulate long values with the macros described above (for more information refer to Section 1.5).

See Also

TxApiSwabLong



(Page 13 of 13 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.