Files
firmware/right/util.h
László Monda f287759476 Add util.[ch]
2016-02-25 09:27:49 +01:00

10 lines
175 B
C

#ifndef __UTIL_H__
#define __UTIL_H__
// Macros:
#define GET_MSB_OF_WORD(word) ((uint8_t)(word >> 8))
#define GET_LSB_OF_WORD(word) ((uint8_t)(word & 0xff))
#endif