Macros | Enumerations
Collaboration diagram for 's:

Macros

#define USB_OTG_MODIFY_REG32(reg, clear_mask, set_mask)   USB_OTG_WRITE_REG32((reg), (((USB_OTG_READ_REG32(reg)) & ~(clear_mask)) | (set_mask)) )
 
#define USB_OTG_READ_REG32(reg)   (*(__IO uint32_t *)(reg))
 
#define USB_OTG_WRITE_REG32(reg, value)   (*(__IO uint32_t *)(reg) = (value))
 

Enumerations

enum  USB_OTG_SPEED { USB_SPEED_UNKNOWN = 0, USB_SPEED_LOW, USB_SPEED_FULL, USB_SPEED_HIGH }
 

Detailed Description

Macro Definition Documentation

#define USB_OTG_MODIFY_REG32 (   reg,
  clear_mask,
  set_mask 
)    USB_OTG_WRITE_REG32((reg), (((USB_OTG_READ_REG32(reg)) & ~(clear_mask)) | (set_mask)) )

Definition at line 227 of file usb_defines.h.

#define USB_OTG_READ_REG32 (   reg)    (*(__IO uint32_t *)(reg))

Definition at line 225 of file usb_defines.h.

#define USB_OTG_WRITE_REG32 (   reg,
  value 
)    (*(__IO uint32_t *)(reg) = (value))

Definition at line 226 of file usb_defines.h.

Enumeration Type Documentation

Enumerator
USB_SPEED_UNKNOWN 
USB_SPEED_LOW 
USB_SPEED_FULL 
USB_SPEED_HIGH 

Definition at line 233 of file usb_defines.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28