| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

Macros
Adafruit_GFX.cpp File Reference

Go to the source code of this file.

## 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; }

## Macro Definition Documentation

## ◆ _swap_int16_t

#define _swap_int16_t | ( |  | a,
|  |  | b
| ) |  | { int16_t t = a; a = b; b = t; }

Definition at line 70 of file Adafruit_GFX.cpp.

## ◆ min

#define min | ( |  | a,
|  |  | b
| ) |  | (((a) < (b)) ? (a) : (b))

Definition at line 66 of file Adafruit_GFX.cpp.

## ◆ pgm_read_byte

#define pgm_read_byte | ( |  | addr | ) | (*(const unsigned char *)(addr))

Definition at line 47 of file Adafruit_GFX.cpp.

## ◆ pgm_read_dword

#define pgm_read_dword | ( |  | addr | ) | (*(const unsigned long *)(addr))

Definition at line 53 of file Adafruit_GFX.cpp.

## ◆ pgm_read_pointer

#define pgm_read_pointer | ( |  | addr | ) | ((void *)pgm_read_dword(addr))

Definition at line 60 of file Adafruit_GFX.cpp.

## ◆ pgm_read_word

#define pgm_read_word | ( |  | addr | ) | (*(const unsigned short *)(addr))

Definition at line 50 of file Adafruit_GFX.cpp.