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 } |
#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.
Definition at line 225 of file usb_defines.h.
Definition at line 226 of file usb_defines.h.
enum USB_OTG_SPEED |
Enumerator | |
---|---|
USB_SPEED_UNKNOWN | |
USB_SPEED_LOW | |
USB_SPEED_FULL | |
USB_SPEED_HIGH |
Definition at line 233 of file usb_defines.h.