Functions
sbgSwap.h File Reference

Set of functions used to swap numbers. More...

#include <sbgCommon.h>
Include dependency graph for sbgSwap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SBG_INLINE uint16_t sbgSwap16 (uint16_t x)
 
SBG_INLINE uint32_t sbgSwap32 (uint32_t x)
 
SBG_INLINE uint64_t sbgSwap64 (uint64_t x)
 
SBG_INLINE double sbgSwapDouble (double val)
 
SBG_INLINE float sbgSwapFloat (float val)
 

Detailed Description

Set of functions used to swap numbers.

Author
SBG Systems (Raphael Siryani)
Date
14 January 2013

Copyright Notice

Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.

This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.

Definition in file sbgSwap.h.

Function Documentation

SBG_INLINE uint16_t sbgSwap16 ( uint16_t  x)

Swap a uint16_t number.

Parameters
[in]xThe uint16_t to swap.
Returns
The swapped value.

Definition at line 42 of file sbgSwap.h.

SBG_INLINE uint32_t sbgSwap32 ( uint32_t  x)

Swap a uint32_t number.

Parameters
[in]xThe uint32_t to swap.
Returns
The swapped value.

Definition at line 52 of file sbgSwap.h.

SBG_INLINE uint64_t sbgSwap64 ( uint64_t  x)

Swap a uint64_t number.

Parameters
[in]xThe uint64_t to swap.
Returns
The swapped value.

Definition at line 62 of file sbgSwap.h.

SBG_INLINE double sbgSwapDouble ( double  val)

Swap a double number.

Parameters
[in]valThe double to swap.
Returns
The swapped value.

Definition at line 109 of file sbgSwap.h.

SBG_INLINE float sbgSwapFloat ( float  val)

Swap a float number.

Parameters
[in]valThe float to swap.
Returns
The swapped value.

Definition at line 88 of file sbgSwap.h.



sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22