#include "USBMode.h"
#include "LowLevel.h"
Functions | |
void | USB_Init (const uint8_t Options) |
void | USB_ShutDown (void) |
void | USB_SetupInterface (void) |
Variables | |
volatile uint8_t | USB_CurrentMode = USB_MODE_NONE |
volatile uint8_t | USB_Options |
void USB_Init | ( | const uint8_t | Options | ) |
void USB_SetupInterface | ( | void | ) |
void USB_ShutDown | ( | void | ) |
Shuts down the USB interface. This turns off the USB interface after deallocating all USB FIFO memory, endpoints and pipes. When turned off, no USB functionality can be used until the interface is restarted with the USB_Init() function.
volatile uint8_t USB_CurrentMode = USB_MODE_NONE |
Indicates the mode that the USB interface is currently initialized to. This value will be one of the USB_MODE_* masks defined elsewhere in this module.
volatile uint8_t USB_Options |