STM32_USB_Host_Library + 0/2 examples
CodeScope will show references to MIN from the following samples and libraries:
 
Symbols
loading...
Files
loading...

MIN macro

Syntax

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

Arguments

a

b

Examples

MIN is referenced by 2 libraries and example projects.

References

LocationText
usbh_def.h:64
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
usbh_ctlreq.c:450
cfg_desc->wTotalLength = MIN(((uint16_t) LE16(buf + 2U)), ((uint16_t)USBH_MAX_SIZE_CONFIGURATION));
usbh_ctlreq.c:527
if (if_ix < MIN(cfg_desc->bNumInterfaces, (uint8_t)USBH_MAX_NUM_INTERFACES))
usbh_ctlreq.c:550
if_descriptor->bNumEndpoints = MIN(*(uint8_t *)(buf + 4U), USBH_MAX_NUM_ENDPOINTS);
usbh_def.h:63
#ifndef MIN