Macros | Functions
DI_CH08_1_1.cpp File Reference
#include "DI_CH08_1_1.h"
Include dependency graph for DI_CH08_1_1.cpp:

Go to the source code of this file.

Macros

#define IFM_SWAP16(b)   {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[1]; (b)[1] = tmp; }
 
#define IFM_SWAP32(b)   {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[3]; (b)[3] = tmp; tmp = (b)[1]; (b)[1] = (b)[2]; (b)[2] = tmp; }
 
#define IFM_SWAP64(b)   {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[7]; (b)[7] = tmp; tmp = (b)[1]; (b)[1] = (b)[6]; (b)[6] = tmp; tmp = (b)[2]; (b)[2] = (b)[5]; (b)[5] = tmp; tmp = (b)[3]; (b)[3] = (b)[4]; (b)[4] = tmp; }
 

Functions

ifm_o3m_AlgoIFOutput_DIA1_1_1ifm_o3m_ConvertBufferToBigEndian_DIA1_1_1 (void *buffer, ifm_o3m_uint32_t bufferSize)
 
ifm_o3m_AlgoIFOutput_DIA1_1_1ifm_o3m_ConvertBufferToLittleEndian_DIA1_1_1 (void *buffer, ifm_o3m_uint32_t bufferSize)
 

Macro Definition Documentation

#define IFM_SWAP16 (   b)    {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[1]; (b)[1] = tmp; }

Definition at line 4 of file DI_CH08_1_1.cpp.

#define IFM_SWAP32 (   b)    {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[3]; (b)[3] = tmp; tmp = (b)[1]; (b)[1] = (b)[2]; (b)[2] = tmp; }

Definition at line 5 of file DI_CH08_1_1.cpp.

#define IFM_SWAP64 (   b)    {ifm_o3m_uint8_t tmp = (b)[0]; (b)[0] = (b)[7]; (b)[7] = tmp; tmp = (b)[1]; (b)[1] = (b)[6]; (b)[6] = tmp; tmp = (b)[2]; (b)[2] = (b)[5]; (b)[5] = tmp; tmp = (b)[3]; (b)[3] = (b)[4]; (b)[4] = tmp; }

Definition at line 6 of file DI_CH08_1_1.cpp.

Function Documentation

ifm_o3m_AlgoIFOutput_DIA1_1_1* ifm_o3m_ConvertBufferToBigEndian_DIA1_1_1 ( void *  buffer,
ifm_o3m_uint32_t  bufferSize 
)

Definition at line 34 of file DI_CH08_1_1.cpp.

ifm_o3m_AlgoIFOutput_DIA1_1_1* ifm_o3m_ConvertBufferToLittleEndian_DIA1_1_1 ( void *  buffer,
ifm_o3m_uint32_t  bufferSize 
)

Definition at line 12 of file DI_CH08_1_1.cpp.



ifm_o3mxxx
Author(s):
autogenerated on Mon Jun 10 2019 13:34:12