TouchGFX + 0/3 examples
CodeScope will show references to MAX from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324x9I_EVAL
Demonstrations
 
Symbols
loading...
Files
loading...

MAX macro

@def MAX(a,b) (((a) > (b)) ? (a) : (b)) A macro that returns the largest of two items.

Syntax

#define MAX(a,b) (((a) > (b)) ? (a) : (b))

Arguments

a

The first item.

b

The second item.

Examples

MAX is referenced by 3 libraries and example projects.

References

LocationText
Types.hpp:46
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
Types.hpp:308
int16_t newX = MAX(x, other.x);
Types.hpp:309
int16_t newY = MAX(y, other.y);
Types.hpp:352
int16_t endPointX = MAX(right(), other.right());
Types.hpp:353
int16_t endPointY = MAX(bottom(), other.bottom());