Macros | Functions
DI_CH08_1_0.cpp File Reference
#include "DI_CH08_1_0.h"
Include dependency graph for DI_CH08_1_0.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_0ifm_o3m_ConvertBufferToBigEndian_DIA1_1_0 (void *buffer, ifm_o3m_uint32_t bufferSize)
 
ifm_o3m_AlgoIFOutput_DIA1_1_0ifm_o3m_ConvertBufferToLittleEndian_DIA1_1_0 (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_0.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_0.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_0.cpp.

Function Documentation

ifm_o3m_AlgoIFOutput_DIA1_1_0* ifm_o3m_ConvertBufferToBigEndian_DIA1_1_0 ( void *  buffer,
ifm_o3m_uint32_t  bufferSize 
)

Definition at line 28 of file DI_CH08_1_0.cpp.

ifm_o3m_AlgoIFOutput_DIA1_1_0* ifm_o3m_ConvertBufferToLittleEndian_DIA1_1_0 ( void *  buffer,
ifm_o3m_uint32_t  bufferSize 
)

Definition at line 12 of file DI_CH08_1_0.cpp.



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