TouchGFX
+ 0/3 examples
CodeScope will show references to
MAX
from the following samples and libraries:
Examples
STM32469I-Discovery
Demonstrations
TouchGFX
STM32469I_EVAL
Demonstrations
TouchGFX
STM324x9I_EVAL
Demonstrations
TouchGFX
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
MAX
MAX macro
@def MAX(a,b) (((a) > (b)) ? (a) : (b)) A macro that returns the largest of two items.
Syntax
from
Types.hpp:46
#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
Location
Text
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
(
)
)
;