STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
USBD_DEF_Exported_Macros
Collaboration diagram for USBD_DEF_Exported_Macros:

Macros

#define LOBYTE(x)
#define HIBYTE(x)
#define MIN(a, b)
#define MAX(a, b)
#define __ALIGN_END

Functions

__STATIC_INLINE uint16_t SWAPBYTE (uint8_t *addr)

Detailed Description

Macro Definition Documentation

◆ __ALIGN_END

#define __ALIGN_END

Definition at line 479 of file usbd_def.h.

◆ HIBYTE

#define HIBYTE ( x)
Value:
((uint8_t)(((x) & 0xFF00U) >> 8U))

Definition at line 446 of file usbd_def.h.

◆ LOBYTE

#define LOBYTE ( x)
Value:
((uint8_t)((x) & 0x00FFU))

Definition at line 442 of file usbd_def.h.

Referenced by USBD_GetDescriptor(), USBD_LL_DataOutStage(), USBD_StdEPReq(), and USBD_StdItfReq().

◆ MAX

#define MAX ( a,
b )
Value:
(((a) > (b)) ? (a) : (b))
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
Definition json.hpp:13878
*brief create JSON pointer *sa reference_tokens const string_t & a
Definition json.hpp:13877

Definition at line 454 of file usbd_def.h.

Referenced by USBD_LL_DataOutStage().

◆ MIN

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

Definition at line 450 of file usbd_def.h.

Referenced by USBD_CDC_Setup(), USBD_GetDescriptor(), and USBD_GetString().

Function Documentation

◆ SWAPBYTE()

__STATIC_INLINE uint16_t SWAPBYTE ( uint8_t * addr)

Definition at line 425 of file usbd_def.h.

References __STATIC_INLINE.

Referenced by USBD_ParseSetupRequest().