Modules | |
USB device custom actions | |
USB device SCSI custom actions | |
Macros | |
#define | EP_AUDIO_IN 6 |
#define | EP_AUDIO_IN 6 |
#define | EP_AUDIO_IN 6 |
#define | EP_AUDIO_OUT 5 |
#define | EP_AUDIO_OUT 5 |
#define | EP_AUDIO_OUT 5 |
#define | EP_HID_MOUSE_IN 1 |
#define | EP_KBD_IN 1 |
#define | EP_KBD_IN 1 |
#define | EP_KBD_IN 1 |
#define | EP_MS_IN 1 |
#define | EP_MS_IN 1 |
#define | EP_MS_OUT 2 |
#define | EP_MS_OUT 2 |
#define | EP_TEMP_IN 1 |
#define | EP_TEMP_OUT 2 |
#define | INT_EP 0x03 |
#define | NB_ENDPOINTS 3 |
#define | NB_ENDPOINTS 4 |
#define | NB_ENDPOINTS 3 |
#define | NB_ENDPOINTS 3 |
#define | NB_ENDPOINTS 3 |
#define | NB_ENDPOINTS 2 |
#define | NB_ENDPOINTS 4 |
#define | NB_ENDPOINTS 4 |
#define | RX_EP 0x02 |
#define | SBC_PRODUCT_ID "UC3 CTRLPANEL " |
#define | SBC_PRODUCT_ID "UC3 MASS STORAGE" |
#define | SBC_REVISION_ID "0.00" |
#define | SBC_REVISION_ID "0.00" |
#define | SBC_VENDOR_ID "ATMEL " |
#define | SBC_VENDOR_ID "ATMEL " |
#define | TX_EP 0x01 |
#define | USB_DEVICE_SCSI_FEATURE false |
#define | USB_REMOTE_WAKEUP_FEATURE true |
enable the Remote Wakeup feature More... | |
Functions | |
void | usb_sof_action (void) |
usb_sof_action More... | |
void | usb_suspend (void) |
Suspend callback. More... | |
void | usb_suspend_action (void) |
#define EP_AUDIO_IN 6 |
#define EP_AUDIO_IN 6 |
#define EP_AUDIO_IN 6 |
Referenced by adc_sample_sent_cb(), device_audio_task(), and usb_user_endpoint_init().
#define EP_AUDIO_OUT 5 |
#define EP_AUDIO_OUT 5 |
#define EP_AUDIO_OUT 5 |
Referenced by device_audio_task(), and usb_user_endpoint_init().
#define EP_HID_MOUSE_IN 1 |
Referenced by device_mouse_hid_task(), and usb_user_endpoint_init().
#define EP_KBD_IN 1 |
#define EP_KBD_IN 1 |
#define EP_KBD_IN 1 |
Referenced by device_hid_task(), and usb_user_endpoint_init().
#define EP_MS_IN 1 |
Referenced by device_mass_storage_task_init(), usb_mass_storage_cbw(), usb_mass_storage_csw(), and usb_user_endpoint_init().
#define EP_MS_IN 1 |
#define EP_MS_OUT 2 |
#define EP_MS_OUT 2 |
#define EP_TEMP_IN 1 |
Referenced by device_template_task(), and usb_user_endpoint_init().
#define EP_TEMP_OUT 2 |
Referenced by device_template_task(), and usb_user_endpoint_init().
#define INT_EP 0x03 |
Referenced by usb_user_endpoint_init().
#define NB_ENDPOINTS 3 |
#define NB_ENDPOINTS 4 |
#define NB_ENDPOINTS 3 |
#define NB_ENDPOINTS 3 |
#define NB_ENDPOINTS 3 |
#define NB_ENDPOINTS 2 |
#define NB_ENDPOINTS 4 |
#define NB_ENDPOINTS 4 |
#define RX_EP 0x02 |
Referenced by uart_usb_getchar(), uart_usb_test_hit(), and usb_user_endpoint_init().
#define SBC_PRODUCT_ID "UC3 CTRLPANEL " |
#define SBC_PRODUCT_ID "UC3 MASS STORAGE" |
#define SBC_REVISION_ID "0.00" |
#define SBC_REVISION_ID "0.00" |
#define SBC_VENDOR_ID "ATMEL " |
#define SBC_VENDOR_ID "ATMEL " |
#define TX_EP 0x01 |
Referenced by uart_usb_flush(), uart_usb_putchar(), uart_usb_tx_ready(), and usb_user_endpoint_init().
#define USB_DEVICE_SCSI_FEATURE false |
#define USB_REMOTE_WAKEUP_FEATURE true |
enable the Remote Wakeup feature
void usb_sof_action | ( | void | ) |
usb_sof_action
This function increments the sof_cnt counter each time the USB Start-of-Frame interrupt subroutine is executed (1 ms). Useful to manage time delays
void usb_suspend | ( | void | ) |
Suspend callback.
This function enables the interrupts in order to send a remote wakeup to the host.
References gpio_clear_pin_interrupt_flag(), gpio_enable_pin_interrupt(), GPIO_RISING_EDGE, and remote_wakeup_feature.
void usb_suspend_action | ( | void | ) |
References cpu_delay_us(), pm_cksel(), pm_cksel_get(), pm_cksel_set(), pm_get_clock(), pm_switch_to_clock(), and SLEEP.