- Main Page
- Related Pages
- Files

- File List
- Globals

# utilities.h

Go to the documentation of this file.

    00001
    00019 #ifndef UTILITIES_H
    00020 #define UTILITIES_H
    00021
    00023 #define CONVERT_TO_INT(lsb,msb) ((lsb) + 0x0100*(msb))   // ((lsb) + (((unsigned int) (msb)) << 8))
    00024
    00026 #define LSB(num) ((num) & 0xFF)
    00027
    00029 #define MSB(num) ((num) >> 8)
    00030
    00031 void initializeBuffer(unsigned char* buf, unsigned char len);
    00032 void printBinary(unsigned char n);
    00033 void printHexBytes(unsigned char* toPrint, unsigned char numBytes);
    00034
    00035 #endif

All Files Functions Defines