Macros
USBD_DEF_Exported_Macros
Collaboration diagram for USBD_DEF_Exported_Macros:

Macros

#define HIBYTE(x)   ((uint8_t)(((x) & 0xFF00) >>8))
 
#define LOBYTE(x)   ((uint8_t)((x) & 0x00FF))
 
#define SWAPBYTE(addr)
 

Detailed Description

Macro Definition Documentation

#define HIBYTE (   x)    ((uint8_t)(((x) & 0xFF00) >>8))

Definition at line 126 of file usbd_def.h.

#define LOBYTE (   x)    ((uint8_t)((x) & 0x00FF))

Definition at line 125 of file usbd_def.h.

#define SWAPBYTE (   addr)
Value:
(((uint16_t)(*((uint8_t *)(addr)))) + \
(((uint16_t)(*(((uint8_t *)(addr)) + 1))) << 8))
static volatile uint8_t addr
Definition: drv_i2c.c:95

Definition at line 122 of file usbd_def.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:22