#include "modules/usb/usb_enum.h"
Go to the source code of this file.
Data Structures | |
| struct | S_usb_user_configuration_descriptor |
| struct | S_usb_manufacturer_string_descriptor |
| struct | S_usb_product_string_descriptor |
| struct | S_usb_serial_number |
Defines | |
| #define | USB_HS DISABLE |
| #define | USB_NORMAL_SPEED |
| #define | USB_FULL_SPEED Usb_force_full_speed() |
| #define | USB_HIGH_SPEED Usb_force_high_spedd() |
| #define | USB_FULL_SPEED_UTMI Usb_force_full_speed_utmi() |
| #define | Usb_set_speed() USB_FULL_SPEED |
| #define | EP_HID_IN 1 |
| #define | EP_HID_OUT 2 |
| #define | LENGTH_OF_REPORT 0x20 |
| #define | Usb_suspend_action() Set_power_down_mode(); |
| #define | USB_SPECIFICATION 0x0002 |
| #define | DEVICE_CLASS 0 |
| #define | DEVICE_SUB_CLASS 0 |
| #define | DEVICE_PROTOCOL 0 |
| #define | EP_CONTROL_LENGTH 32 |
| #define | VENDOR_ID 0xEB03 |
| #define | PRODUCT_ID 0x1320 |
| #define | RELEASE_NUMBER 0x0003 |
| #define | MAN_INDEX 0x01 |
| #define | PROD_INDEX 0x02 |
| #define | SN_INDEX 0x03 |
| #define | NB_CONFIGURATION 1 |
| #define | NB_INTERFACE_FS 1 |
| #define | CONF_NB_FS 1 |
| #define | CONF_INDEX_FS 0 |
| #define | CONF_ATTRIBUTES_FS USB_CONFIG_BUSPOWERED |
| #define | MAX_POWER_FS 50 |
| #define | INTERFACE_NB_FS 0 |
| #define | ALTERNATE_FS 0 |
| #define | NB_ENDPOINT_FS 2 |
| #define | INTERFACE_CLASS_FS 0x03 |
| #define | INTERFACE_SUB_CLASS_FS 0 |
| #define | INTERFACE_PROTOCOL_FS 0 |
| #define | INTERFACE_INDEX_FS 0 |
| #define | ENDPOINT_NB_1_FS (EP_HID_IN | 0x80) |
| #define | EP_ATTRIBUTES_1_FS 0x03 |
| #define | EP_IN_LENGTH_FS LENGTH_OF_REPORT |
| #define | EP_SIZE_1_FS (wSWAP(EP_IN_LENGTH_FS)) |
| #define | EP_INTERVAL_1_FS 0x01 |
| #define | ENDPOINT_NB_2_FS (EP_HID_OUT) |
| #define | EP_ATTRIBUTES_2_FS 0x03 |
| #define | EP_OUT_LENGTH_FS LENGTH_OF_REPORT |
| #define | EP_SIZE_2_FS (wSWAP(EP_OUT_LENGTH_FS)) |
| #define | EP_INTERVAL_2_FS 0x01 |
| #define | SIZE_OF_REPORT 0x35 |
| #define | NB_ENDPOINTS 3 |
| #define | ENDPOINT_0 0x00 |
| #define | NB_CONFIGURATIONS 0x01 |
| #define | DEVICE_STATUS 0x00 |
| #define | INTERFACE_STATUS 0x00 |
| #define | LANGUAGE_ID 0x0904 |
| #define | USB_MANUFACTURER_NAME |
| #define | USB_PRODUCT_NAME |
| #define | USB_SERIAL_NUMBER |
| #define | HID_DESCRIPTOR 0x21 |
| #define | HID_BDC 0x1001 |
| #define | HID_COUNTRY_CODE 0x00 |
| #define | HID_CLASS_DESC_NB 0x01 |
| #define | HID_DESCRIPTOR_TYPE 0x22 |
| #define | HID_DESCRIPTOR_LENGTH (wSWAP((U16)0x34)) |
| #define | LANGUAGE_ID 0x0904 |
| #define | USB_MN_LENGTH 5 |
| #define | USB_PN_LENGTH 28 |
| #define | USB_SN_LENGTH 13 |
| #define | Usb_sof_action() |
| #define | Usb_wake_up_action() |
| #define | Usb_resume_action() |
| #define | Usb_reset_action() |
| #define | Usb_vbus_on_action() |
| #define | Usb_vbus_off_action() |
| #define | Usb_set_configuration_action() |
| #define | Scsi_start_read_action() |
| #define | Scsi_stop_read_action() |
| #define | Scsi_start_write_action() |
| #define | Scsi_stop_write_action() |
| #define | STANDARD_PORT 0 |
| #define | LED_PORT_2MA 1 |
| #define | LED_PORT_4MA 2 |
| #define | LED_PORT_10MA 3 |
| #define | Wdt_immediate_reset() |
| #define | Wdt_refresh() |
| #define | Configure_led(num, type) |
| #define | Led_0_on() (P3_3 = 0) |
| #define | Led_0_off() (P3_3 = 1) |
| #define | Led_0_toggle() (P3_3 = ~P3_3) |
| #define | Led_0_status() (P3_3) |
| #define | Led_0_write(x) (P3_3 = x) |
| #define | Led_1_on() (P3_5 = 0) |
| #define | Led_1_off() (P3_5 = 1) |
| #define | Led_1_toggle() (P3_5 = ~P3_5) |
| #define | Led_1_status() (P3_5) |
| #define | Led_1_write(x) (P3_5 = x) |
| #define | Led_2_on() (P3_6 = 0) |
| #define | Led_2_off() (P3_6 = 1) |
| #define | Led_2_toggle() (P3_6 = ~P3_6) |
| #define | Led_2_status() (P3_6) |
| #define | Led_2_write(x) (P3_6 = x) |
| #define | Led_3_on() (P3_7 = 0) |
| #define | Led_3_off() (P3_7 = 1) |
| #define | Led_3_toggle() (P3_7 = ~P3_7) |
| #define | Led_3_status() (P3_7) |
| #define | Led_3_write(x) (P3_7 = x) |
| #define | Led_all_on() (P3 &= 0x17) |
| #define | Led_all_off() (P3 |= ~0x17) |
Please read file license.txt for copyright notice.
This file contains the possible external configuration of the USB This file will be given to any external customer
Definition in file conf_usb.h.
|
|
Definition at line 17 of file conf_usb.h. |
|
|
Definition at line 20 of file conf_usb.h. |
|
|
Definition at line 21 of file conf_usb.h. |
|
|
Definition at line 22 of file conf_usb.h. |
|
|
Definition at line 23 of file conf_usb.h. |
|
|
Definition at line 25 of file conf_usb.h. Referenced by usb_start_device(). |
|
|
Definition at line 27 of file conf_usb.h. Referenced by usb_task(), usb_user_endpoint_init(), and usb_write_continuous(). |
|
|
Definition at line 28 of file conf_usb.h. Referenced by usb_read_continuous(), and usb_user_endpoint_init(). |
|
|
Definition at line 29 of file conf_usb.h. Referenced by usb_write_continuous(), and user_application_task_init(). |
|
|
Definition at line 34 of file conf_usb.h. Referenced by usb_task(). |
|
|
Definition at line 41 of file conf_usb.h. |
|
|
Definition at line 42 of file conf_usb.h. |
|
|
Definition at line 43 of file conf_usb.h. |
|
|
Definition at line 44 of file conf_usb.h. |
|
|
Definition at line 45 of file conf_usb.h. Referenced by usb_get_descriptor(). |
|
|
Definition at line 46 of file conf_usb.h. |
|
|
Definition at line 47 of file conf_usb.h. |
|
|
Definition at line 48 of file conf_usb.h. |
|
|
Definition at line 49 of file conf_usb.h. |
|
|
Definition at line 50 of file conf_usb.h. |
|
|
Definition at line 51 of file conf_usb.h. |
|
|
Definition at line 52 of file conf_usb.h. |
|
|
Definition at line 56 of file conf_usb.h. |
|
|
Definition at line 57 of file conf_usb.h. |
|
|
Definition at line 58 of file conf_usb.h. |
|
|
Definition at line 59 of file conf_usb.h. |
|
|
Definition at line 60 of file conf_usb.h. |
|
|
Definition at line 63 of file conf_usb.h. |
|
|
Definition at line 64 of file conf_usb.h. |
|
|
Definition at line 65 of file conf_usb.h. |
|
|
Definition at line 66 of file conf_usb.h. |
|
|
Definition at line 67 of file conf_usb.h. |
|
|
Definition at line 68 of file conf_usb.h. |
|
|
Definition at line 69 of file conf_usb.h. |
|
|
Definition at line 72 of file conf_usb.h. |
|
|
Definition at line 73 of file conf_usb.h. |
|
|
Definition at line 74 of file conf_usb.h. |
|
|
Definition at line 75 of file conf_usb.h. |
|
|
Definition at line 76 of file conf_usb.h. |
|
|
Definition at line 79 of file conf_usb.h. |
|
|
Definition at line 80 of file conf_usb.h. |
|
|
Definition at line 81 of file conf_usb.h. |
|
|
Definition at line 82 of file conf_usb.h. |
|
|
Definition at line 83 of file conf_usb.h. |
|
|
Definition at line 86 of file conf_usb.h. Referenced by usb_user_get_descriptor(). |
|
|
Definition at line 97 of file conf_usb.h. Referenced by usb_enum_var_init(). |
|
|
Definition at line 101 of file conf_usb.h. |
|
|
Definition at line 103 of file conf_usb.h. Referenced by usb_set_configuration(). |
|
|
Definition at line 104 of file conf_usb.h. Referenced by usb_get_status(). |
|
|
Definition at line 105 of file conf_usb.h. Referenced by usb_get_status(). |
|
|
Definition at line 149 of file conf_usb.h. |
|
|
Value:
Definition at line 109 of file conf_usb.h. |
|
|
Value:
Definition at line 117 of file conf_usb.h. |
|
|
Value:
Definition at line 126 of file conf_usb.h. |
|
|
Definition at line 142 of file conf_usb.h. Referenced by usb_user_get_descriptor(). |
|
|
Definition at line 143 of file conf_usb.h. |
|
|
Definition at line 144 of file conf_usb.h. |
|
|
Definition at line 145 of file conf_usb.h. |
|
|
Definition at line 146 of file conf_usb.h. |
|
|
Definition at line 147 of file conf_usb.h. |
|
|
Definition at line 149 of file conf_usb.h. |
|
|
Definition at line 152 of file conf_usb.h. |
|
|
Definition at line 165 of file conf_usb.h. |
|
|
Definition at line 177 of file conf_usb.h. |
|
|
Definition at line 191 of file conf_usb.h. |
|
|
Definition at line 192 of file conf_usb.h. |
|
|
Definition at line 193 of file conf_usb.h. |
|
|
Definition at line 195 of file conf_usb.h. |
|
|
Definition at line 196 of file conf_usb.h. |
|
|
Definition at line 197 of file conf_usb.h. |
|
|
Definition at line 198 of file conf_usb.h. Referenced by usb_set_configuration(). |
|
|
Definition at line 208 of file conf_usb.h. |
|
|
Definition at line 209 of file conf_usb.h. |
|
|
Definition at line 210 of file conf_usb.h. |
|
|
Definition at line 211 of file conf_usb.h. |
|
|
Definition at line 215 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 216 of file conf_usb.h. |
|
|
Definition at line 217 of file conf_usb.h. |
|
|
Definition at line 218 of file conf_usb.h. Referenced by user_application_task_init(). |
|
|
Value:
Definition at line 221 of file conf_usb.h. |
|
|
Value:
Definition at line 227 of file conf_usb.h. |
|
|
Value:
Definition at line 230 of file conf_usb.h. Referenced by user_application_task(), and user_application_task_init(). |
|
|
Definition at line 233 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 234 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 235 of file conf_usb.h. |
|
|
Definition at line 236 of file conf_usb.h. |
|
|
Definition at line 237 of file conf_usb.h. |
|
|
Definition at line 238 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 239 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 240 of file conf_usb.h. |
|
|
Definition at line 241 of file conf_usb.h. |
|
|
Definition at line 242 of file conf_usb.h. |
|
|
Definition at line 243 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 244 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 245 of file conf_usb.h. |
|
|
Definition at line 246 of file conf_usb.h. |
|
|
Definition at line 247 of file conf_usb.h. |
|
|
Definition at line 248 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 249 of file conf_usb.h. Referenced by user_application_task(). |
|
|
Definition at line 250 of file conf_usb.h. |
|
|
Definition at line 251 of file conf_usb.h. |
|
|
Definition at line 252 of file conf_usb.h. |
|
|
Definition at line 255 of file conf_usb.h. |
|
|
Definition at line 256 of file conf_usb.h. Referenced by usb_task(), user_application_task(), and user_application_task_init(). |
1.3.7