Prusa MINI Firmware overview
|
Macros | |
#define | SWAPBYTE(addr) |
#define | LOBYTE(x) ((uint8_t)(x & 0x00FF)) |
#define | HIBYTE(x) ((uint8_t)((x & 0xFF00) >>8)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
#define | __ALIGN_END |
#define SWAPBYTE | ( | addr | ) |
#define LOBYTE | ( | x | ) | ((uint8_t)(x & 0x00FF)) |
#define HIBYTE | ( | x | ) | ((uint8_t)((x & 0xFF00) >>8)) |
#define MIN | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
#define MAX | ( | a, | |
b | |||
) | (((a) > (b)) ? (a) : (b)) |
#define __ALIGN_END |