Macros | |
#define | pgm_read_byte(addr) (*(const unsigned char *)(addr)) |
#define | pgm_read_word(addr) (*(const unsigned short *)(addr)) |
#define | pgm_read_dword(addr) (*(const unsigned long *)(addr)) |
#define | pgm_read_pointer(addr) ((void *)pgm_read_dword(addr)) |
#define | min(a, b) (((a) < (b)) ? (a) : (b)) |
#define | _swap_int16_t(a, b) { int16_t t = a; a = b; b = t; } |
#define _swap_int16_t | ( | a, | |
b | |||
) | { int16_t t = a; a = b; b = t; } |
#define min | ( | a, | |
b | |||
) | (((a) < (b)) ? (a) : (b)) |
#define pgm_read_byte | ( | addr | ) | (*(const unsigned char *)(addr)) |
#define pgm_read_dword | ( | addr | ) | (*(const unsigned long *)(addr)) |
#define pgm_read_pointer | ( | addr | ) | ((void *)pgm_read_dword(addr)) |
#define pgm_read_word | ( | addr | ) | (*(const unsigned short *)(addr)) |