FireBirdLib - Topfield TMS PVR TAP Programming Library
SwapWords.c
Go to the documentation of this file.
1
#include "
FBLib_hdd.h
"
2
3
void
SwapWords
(word *DataBuf)
4
{
5
TRACEENTER
();
6
7
int
i;
8
9
if
(DataBuf)
10
for
(i = 0; i < 256; i++)
11
DataBuf[i] = ((DataBuf[i] & 0x00FF) << 8) | ((DataBuf[i] & 0xFF00) >> 8);
12
13
TRACEEXIT
();
14
}
FBLib_hdd.h
SwapWords
void SwapWords(word *DataBuf)
Definition:
SwapWords.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
hdd
SwapWords.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3