Go to the source code of this file.
Defines | |
#define | DIR_SEPARATOR '/' |
#define | DIR_SEPARATOR_S "//" |
#define | prbytes(m, b, l) |
#define | li_to_4_byte(a, i) |
#define | li_to_4_byte_le(a, i) |
#define | debug_printf(F,) |
#define | GET_BITS(var, bit, bits) (((var) >> (bit)) & ((1UL << (bits)) - 1)) |
Ritorna una variabile dello stesso tipo del parametro var con tutti i bit messi a 0 tranne quelli specificati. | |
#define | SET_BITS(var, bit, bits, x) (var) = ((var) & ~(((1UL << (bits)) - 1) << (bit))) | (((x) & ((1UL << (bits)) - 1)) << (bit)); |
Setta nella variabile specificata dal parametro var alcuni bit copiandoli dal parametro x. | |
Functions | |
int | chars2uint (unsigned char *buf, int len) |
Convert a buffer of unsigned chars to unsigned int (BIG ENDIAN). | |
int | chars2int (char *buf, int len) |
Buffer of chars to int. | |
int | chars2int_le (char *buf, int len) |
Integer in little_endian. | |
void | prbytes_x (char *message, char *buffer, int blen) |
void | debug_printf_x (const char *file, int line, const char *format,...) |
void | debug_printf_msc (const char *file, int line, const char *debugstring) |
Definition in file yepp_utils.h.
|
Definition at line 41 of file yepp_utils.h. |
|
Definition at line 42 of file yepp_utils.h. |
|
Definition at line 65 of file yepp_utils.h. |
|
Value:
Definition at line 70 of file yepp_utils.h. |
|
Value:
Definition at line 74 of file yepp_utils.h. |
|
Definition at line 92 of file yepp_utils.h. |
|
Ritorna una variabile dello stesso tipo del parametro var con tutti i bit messi a 0 tranne quelli specificati.
Definition at line 105 of file yepp_utils.h. |
|
Setta nella variabile specificata dal parametro var alcuni bit copiandoli dal parametro x.
Definition at line 113 of file yepp_utils.h. |
|
Convert a buffer of unsigned chars to unsigned int (BIG ENDIAN).
|
|
Buffer of chars to int.
|
|
Integer in little_endian.
|
|
|
|
|
|
|