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

MIN macro

@def MIN(a,b) (((a) < (b)) ? (a) : (b)) A macro that returns the smallest of two items. A macro that returns the smallest of two items.

Syntax

#define MIN(a,b) (((a) < (b)) ? (a) : (b))

Arguments

a

The first item.

b

The second item.

Examples

MIN is referenced by 3 libraries and example projects.

References

LocationText
Types.hpp:34
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
Types.hpp:311
width = MIN(right(), other.right()) - newX;
Types.hpp:312
height = MIN(bottom(), other.bottom()) - newY;
Types.hpp:349
int16_t newX = MIN(x, other.x);
Types.hpp:350
int16_t newY = MIN(y, other.y);