#include "amtec_base.h"
Go to the source code of this file.
Functions | |
float | convertBytes2Float (unsigned char *bytes) |
short | convertBytes2Int16 (unsigned char *bytes) |
int | convertBytes2Int32 (unsigned char *bytes) |
char | convertBytes2Int8 (unsigned char *bytes) |
unsigned short | convertBytes2UInt16 (unsigned char *bytes) |
unsigned int | convertBytes2UInt32 (unsigned char *bytes) |
unsigned char | convertBytes2UInt8 (unsigned char *bytes) |
void | convertFloat (float f, unsigned char *bytes) |
void | convertInt16 (short s, unsigned char *bytes) |
void | convertInt32 (int i, unsigned char *bytes) |
void | convertInt8 (char c, unsigned char *bytes) |
void | convertUInt16 (unsigned short s, unsigned char *bytes) |
void | convertUInt32 (unsigned int i, unsigned char *bytes) |
void | convertUInt8 (unsigned char c, unsigned char *bytes) |
int | ParamBytes (int type) |
float convertBytes2Float | ( | unsigned char * | bytes | ) |
Definition at line 111 of file amtec_conversion.c.
short convertBytes2Int16 | ( | unsigned char * | bytes | ) |
Definition at line 83 of file amtec_conversion.c.
int convertBytes2Int32 | ( | unsigned char * | bytes | ) |
Definition at line 97 of file amtec_conversion.c.
char convertBytes2Int8 | ( | unsigned char * | bytes | ) |
Definition at line 69 of file amtec_conversion.c.
unsigned short convertBytes2UInt16 | ( | unsigned char * | bytes | ) |
Definition at line 90 of file amtec_conversion.c.
unsigned int convertBytes2UInt32 | ( | unsigned char * | bytes | ) |
Definition at line 104 of file amtec_conversion.c.
unsigned char convertBytes2UInt8 | ( | unsigned char * | bytes | ) |
Definition at line 76 of file amtec_conversion.c.
void convertFloat | ( | float | f, | |
unsigned char * | bytes | |||
) |
Definition at line 150 of file amtec_conversion.c.
void convertInt16 | ( | short | s, | |
unsigned char * | bytes | |||
) |
Definition at line 130 of file amtec_conversion.c.
void convertInt32 | ( | int | i, | |
unsigned char * | bytes | |||
) |
Definition at line 140 of file amtec_conversion.c.
void convertInt8 | ( | char | c, | |
unsigned char * | bytes | |||
) |
Definition at line 120 of file amtec_conversion.c.
void convertUInt16 | ( | unsigned short | s, | |
unsigned char * | bytes | |||
) |
Definition at line 135 of file amtec_conversion.c.
void convertUInt32 | ( | unsigned int | i, | |
unsigned char * | bytes | |||
) |
Definition at line 145 of file amtec_conversion.c.
void convertUInt8 | ( | unsigned char | c, | |
unsigned char * | bytes | |||
) |
Definition at line 125 of file amtec_conversion.c.
int ParamBytes | ( | int | type | ) |
Definition at line 39 of file amtec_conversion.c.