swaps Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
swaps Function
C
WORD swaps(
    WORD v
);
Description

Swaps the endian-ness of a WORD.

Preconditions

None

Parameters
Parameters 
Description 
the WORD to swap 
Returns

The swapped version of v.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.