USB Controller definitions for the EFM32 Giant Gecko microcontrollers. More...
#include "../../../../Common/Common.h"#include "../USBMode.h"#include "../Events.h"#include "../USBTask.h"#include "../USBInterrupt.h"#include "../Host.h"#include "../OTG.h"#include "../Pipe.h"#include "../HostStandardReq.h"#include "../PipeStream.h"#include "../Device.h"#include "../Endpoint.h"#include "../DeviceStandardReq.h"#include "../EndpointStream.h"Macros | |
| #define | USB_STREAM_TIMEOUT_MS 100 |
USB Controller Option Masks | |
| #define | USB_OPT_GCLK_SRC_OSC (1 << 2) |
| #define | USB_OPT_GCLK_SRC_PLL (0 << 2) |
| #define | USB_OPT_GCLK_CHANNEL_0 (1 << 3) |
| #define | USB_OPT_GCLK_CHANNEL_1 (0 << 3) |
Functions | |
| static void | USB_Attach (void) ATTR_ALWAYS_INLINE |
| static void | USB_Detach (void) ATTR_ALWAYS_INLINE |
| void | USB_Disable (void) |
| void | USB_Init (uint8_t *endpoint_desc) |
| void | USB_ResetInterface (void) |
| static bool | USB_VBUS_GetStatus (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE |
Variables | |
| USBD_Device_TypeDef * | dev |
| volatile uint8_t | USB_CurrentMode |
| volatile uint8_t | USB_Options |
Functions, macros, variables, enums and types related to the setup and management of the USB interface.