⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psocconfig.xml

📁 Cypress 的VOIP DEMO 研究VOIP终端的朋友可以研究研究
💻 XML
📖 第 1 页 / 共 4 页
字号:
  TD_ENTRY       USB_DS_ROM, USB_D0_C1_DESCR_SIZE, USB_D0_C1_DESCR_START, NULL_PTR
.ENDLITERAL

;----------------------------------------------------------------------
; Device Descriptor Table
;
;	This table provides transfer descriptors for each USB Device Descriptor
;----------------------------------------------------------------------
AREA  func_lit     (ROM,REL,CON)
EXPORT USB_DEVICE_DESCR_TABLE
.LITERAL
USB_DEVICE_DESCR_TABLE:                          
  TD_START_TABLE 1                               ; Number of devices
  TD_ENTRY       USB_DS_ROM, USB_D0_DESCR_SIZE, USB_D0_DESCR_START, NULL_PTR
.ENDLITERAL
;----------------------------------------------------------------------
;----------------------------------------------------------------------
; Device Descriptor (USB_D0)
; This marks the beginning of the Device Descriptor.  This descriptor
; concatenates all of the descriptors in the following format:
;	Device Descriptor
;		Configuration Descriptor (1)
;	  	Interface 1 Descriptor
;				HID Descriptor 1
;			  	Endpoint Descriptor(s)
;			Interface 2 Descriptor
;				HID Descriptor 2
;					Endpoint Descriptor(s)
;		Configuration Descriptor (2)
;			Interface/HID/Endpoint...
;----------------------------------------------------------------------
AREA  UserModules     (ROM,REL,CON)
.LITERAL
USB_D0_DESCR_START:                              ;
  DB    18                                       ; Device Descriptor Length (18)
  DB    1                                        ; bDescriptorType: DEVICE
  DWL   0200H                                    ; bcdUSB (ver 2.0)
  DB    0                                        ; bDeviceClass
  DB    0                                        ; bDeviceSubClass 
  DB    0                                        ; bDeviceProtocol 
  DB    8                                        ; bMaxPacketSize0
  DWL   04B4H                                    ; idVendor
  DWL   4C54H                                    ; idProduct
  DWL   0000H                                    ; bcdDevice
  DB    STR_HASH_0                               ; iManufacturer
  DB    STR_HASH_0                               ; iProduct
  DB    STR_HASH_0                               ; iSerialNumber
  DB    1                                        ; bNumConfigurations
USB_D0_DESCR_END:                                ;
USB_D0_DESCR_SIZE:  EQU    USB_D0_DESCR_END - USB_D0_DESCR_START

;----------------------------------------------------------------------
; Configuration Descriptor (USB_D0_C1)
; This marks the beginning of the Configuration Descriptor.  This descriptor
; concatenates all of the descriptors in the following format:
; Configuration Descriptor
;	Interface 1 Descriptor
;		HID Descriptor 1
;			Endpoint Descriptor(s)
;	Interface 2 Descriptor
;		HID Descriptor 2
;			Endpoint Descriptor(s)
;----------------------------------------------------------------------
USB_D0_C1_DESCR_START:                           ;
  DB    9                                        ; Configuration Descriptor Length (9)
  DB    2                                        ; bDescriptorType: CONFIGURATION
  DWL   USB_D0_C1_DESCR_SIZE                     ; wTotalLength
  DB    1                                        ; bNumInterfaces
  DB    1                                        ; bConfigurationValue
  DB    STR_HASH_0                               ; iConfiguration
  DB    80H | (0 << 6) | (0 << 5)                ; bmAttributes >
  DB    125                                      ; bMaxPower
;----------------------------------------------------------------------
; Interface Descriptor (USB_D0_C1_I0)
;----------------------------------------------------------------------
  DB    9                                        ; Interface Descriptor Length (9)
  DB    4                                        ; bDescriptorType: INTERFACE
  DB    0                                        ; bInterfaceNumber (zero based)
  DB    0                                        ; bAlternateSetting
  DB    3                                        ; bNumEndpoints
  DB    255                                      ; bInterfaceClass
  DB    0                                        ; bInterfaceSubClass
  DB    0                                        ; bInterfaceProtocol
  DB    STR_HASH_0                               ; iInterface
;----------------------------------------------------------------------
; Endpoint Descriptor (USB_D0_C1_I0_E0)
;----------------------------------------------------------------------
  DB    7                                        ; Endpoint Descriptor Length (7)
  DB    5                                        ; bDescriptorType: ENDPOINT
  DB    (EP1 | USB_DIR_OUT)                      ; bEndpointAddress
  DB    1                                        ; bmAttributes
  DWL   64                                       ; wMaxPacketSize
  DB    1                                        ; bInterval
;----------------------------------------------------------------------
; Endpoint Descriptor (USB_D0_C1_I0_E1)
;----------------------------------------------------------------------
  DB    7                                        ; Endpoint Descriptor Length (7)
  DB    5                                        ; bDescriptorType: ENDPOINT
  DB    (EP3 | USB_DIR_IN)                       ; bEndpointAddress
  DB    1                                        ; bmAttributes
  DWL   64                                       ; wMaxPacketSize
  DB    1                                        ; bInterval
;----------------------------------------------------------------------
; Endpoint Descriptor (USB_D0_C1_I0_E2)
;----------------------------------------------------------------------
  DB    7                                        ; Endpoint Descriptor Length (7)
  DB    5                                        ; bDescriptorType: ENDPOINT
  DB    (EP4 | USB_DIR_IN)                       ; bEndpointAddress
  DB    3                                        ; bmAttributes
  DWL   8                                        ; wMaxPacketSize
  DB    32                                       ; bInterval
;----------------------------------------------------------------------
USB_D0_C1_DESCR_END:
USB_D0_C1_DESCR_SIZE:	EQU	(USB_D0_C1_DESCR_END - USB_D0_C1_DESCR_START)
.ENDLITERAL
;----------------------------------------------------------------------
; USB String Descriptors
;
; No string descriptors were entered into the string descriptor
; section of the USB Setup wizard.
;----------------------------------------------------------------------
STR_HASH_0:  EQU    0                            ; String Hash for the null string
"/>
						<PARAMETER NAME="DSHID_xmlDESCR" VALUE="&lt;USB_ROOT NEXT_HASH=&quot;1&quot; INSTANCE_NAME=&quot;USB&quot;&gt;&lt;USB_DEVICE NAME=&quot;D0&quot; NUMBER=&quot;0&quot; NEXT_HASH=&quot;1&quot; CLASS=&quot;0&quot; SUBCLASS=&quot;0&quot; PROTOCOL=&quot;0&quot; VENDOR_STRING=&quot;0&quot; PRODUCT_STRING=&quot;0&quot; SN_STRING=&quot;0&quot; MAX_PACKET_SIZE=&quot;8&quot; VENDOR_ID=&quot;04B4&quot; PRODUCT_ID=&quot;4C54&quot; DEVICE_RELEASE=&quot;0000&quot;&gt;&lt;USB_CONFIGURATION NAME=&quot;C1&quot; NUMBER=&quot;1&quot; NEXT_HASH=&quot;1&quot; CONFIGURATION_STRING=&quot;0&quot; MAX_POWER=&quot;250&quot; SELF_POWERED=&quot;0&quot; REMOTE_WAKEUP=&quot;0&quot; STRING=&quot;0&quot;&gt;&lt;USB_INTERFACE NAME=&quot;I0&quot; NUMBER=&quot;0&quot; NEXT_HASH=&quot;0&quot; INTERFACE_STRING=&quot;0&quot; CLASS=&quot;255&quot; SUBCLASS=&quot;0&quot; PROTOCOL=&quot;0&quot; STRING=&quot;0&quot;&gt;&lt;USB_ENDPOINT NAME=&quot;E0&quot; NUMBER=&quot;0&quot; ADDRESS=&quot;EP1&quot; MAX_PACKET_SIZE=&quot;64&quot; INTERVAL=&quot;1&quot; DIRECTION=&quot;OUT&quot; TRANSFER_TYPE=&quot;1&quot; SYNC_TYPE=&quot;0&quot; USAGE_TYPE=&quot;0&quot;/&gt;&lt;USB_ENDPOINT NAME=&quot;E1&quot; NUMBER=&quot;1&quot; ADDRESS=&quot;EP3&quot; MAX_PACKET_SIZE=&quot;64&quot; INTERVAL=&quot;1&quot; DIRECTION=&quot;IN&quot; TRANSFER_TYPE=&quot;1&quot; SYNC_TYPE=&quot;0&quot; USAGE_TYPE=&quot;0&quot;/&gt;&lt;USB_ENDPOINT NAME=&quot;E2&quot; NUMBER=&quot;2&quot; ADDRESS=&quot;EP4&quot; MAX_PACKET_SIZE=&quot;8&quot; INTERVAL=&quot;32&quot; DIRECTION=&quot;IN&quot; TRANSFER_TYPE=&quot;3&quot; SYNC_TYPE=&quot;0&quot; USAGE_TYPE=&quot;0&quot;/&gt;&lt;/USB_INTERFACE&gt;&lt;/USB_CONFIGURATION&gt;&lt;/USB_DEVICE&gt;&lt;/USB_ROOT&gt;
"/>
						<PARAMETER NAME="DSHID_xmlHID" VALUE=""/>
						<PARAMETER NAME="DSHID_xmlSTRING" VALUE="&lt;STRING_ROOT INSTANCE_NAME=&quot;USB&quot; NEXT_HASH=&quot;1&quot; DATE_SAVED=&quot;Thu May 4 12:52:30 PDT 2006&quot;&gt;&lt;USB_LANGID_DESCR LANGID_VALUE=&quot;1033&quot; HASH=&quot;1&quot;/&gt;&lt;/STRING_ROOT&gt;
"/>
						<PARAMETER NAME="FORCE_Port" VALUE="Port_1"/>
						<PARAMETER NAME="IntDispatchMode" VALUE="ActiveStatus"/>
						<PARAMETER NAME="InterruptAPI" VALUE="Enable"/>
					</PARAMETER_LIST>
				</USER_MODULE>
			</USER_MODULE_LIST>
			<DEVICE_DATA>
				<GLOBAL_RESOURCE_LIST>
					<RESOURCE NAME="AGndBypass" VALUE="Enable"/>
					<RESOURCE NAME="A_Buff_Power" VALUE="High"/>
					<RESOURCE NAME="Analog Power" VALUE="SC On/Ref High"/>
					<RESOURCE NAME="CPU_Clock" VALUE="SysClk/1"/>
					<RESOURCE NAME="LVDThrottleBack" VALUE="Disable"/>
					<RESOURCE NAME="Op-Amp Bias" VALUE="Low"/>
					<RESOURCE NAME="Power Setting [ Vcc / SysClk freq ]" VALUE="5.0V / 24MHz"/>
					<RESOURCE NAME="Ref Mux" VALUE="(Vdd/2)+/-BandGap"/>
					<RESOURCE NAME="Sleep_Timer" VALUE="512_Hz"/>
					<RESOURCE NAME="SysClk Source" VALUE="Internal"/>
					<RESOURCE NAME="SysClk*2 Disable" VALUE="No"/>
					<RESOURCE NAME="Trip Voltage [LVD]" VALUE="4.00V"/>
					<RESOURCE NAME="VC1= SysClk/N" VALUE="4"/>
					<RESOURCE NAME="VC2= VC1/N" VALUE="1"/>
					<RESOURCE NAME="VC3 Divider" VALUE="2"/>
					<RESOURCE NAME="VC3 Source" VALUE="SysClk/1"/>
					<RESOURCE NAME="Watchdog Enable" VALUE="Disable"/>
				</GLOBAL_RESOURCE_LIST>
				<RESERVED_RESOURCE_LIST>
					<RESOURCE NAME="" VALUE="" TYPE=""/>
					<RESOURCE NAME="24MHz_Global_Drive" VALUE="DriveOff" TYPE="GLOBAL_BUS_OSCILLATOR_DRIVE"/>
					<RESOURCE NAME="32KHz_Global_Drive" VALUE="DriveOff" TYPE="GLOBAL_BUS_OSCILLATOR_DRIVE"/>
					<RESOURCE NAME="ASD11-ASC10" VALUE="" TYPE="DIRECT_INPUT"/>
					<RESOURCE NAME="ASD20-ASC21" VALUE="" TYPE="DIRECT_INPUT"/>
					<RESOURCE NAME="AnalogClock_0_Select" VALUE="" TYPE="ANALOG_CLOCK_SELECT"/>
					<RESOURCE NAME="AnalogClock_1_Select" VALUE="" TYPE="ANALOG_CLOCK_SELECT"/>
					<RESOURCE NAME="AnalogColumnMUXBusSwitch_0" VALUE="AnalogColumn_InputMUX_0" TYPE="ANALOG_COLUMN_MUX_BUS_SWITCH"/>
					<RESOURCE NAME="AnalogColumnMUXBusSwitch_1" VALUE="AnalogColumn_InputSelect_1" TYPE="ANALOG_COLUMN_MUX_BUS_SWITCH"/>
					<RESOURCE NAME="AnalogColumn_Clock_0" VALUE="VC1" TYPE="ANALOG_COLUMN_CLOCK_MUX"/>
					<RESOURCE NAME="AnalogColumn_Clock_1" VALUE="VC1" TYPE="ANALOG_COLUMN_CLOCK_MUX"/>
					<RESOURCE NAME="AnalogColumn_InputMUX_0" VALUE="Port_0_3" TYPE="COLUMN_INPUT"/>
					<RESOURCE NAME="AnalogColumn_InputMUX_1" VALUE="Port_0_4" TYPE="COLUMN_INPUT"/>
					<RESOURCE NAME="AnalogColumn_InputSelect_1" VALUE="AnalogColumn_InputMUX_1" TYPE="COLUMN_INPUT_SELECT"/>
					<RESOURCE NAME="AnalogColumn_Modulator_0" VALUE="None" TYPE="ANALOG_MODULATOR"/>
					<RESOURCE NAME="AnalogColumn_Modulator_1" VALUE="None" TYPE="ANALOG_MODULATOR"/>
					<RESOURCE NAME="AnalogComparatorControl_0" VALUE="" TYPE="ANALOG_COMPARATOR_CONTROL"/>
					<RESOURCE NAME="AnalogComparatorControl_1" VALUE="" TYPE="ANALOG_COMPARATOR_CONTROL"/>
					<RESOURCE NAME="AnalogInterruptSource_Col_0" VALUE="" TYPE="ANALOG_INTERRUPT_SOURCE"/>
					<RESOURCE NAME="AnalogInterruptSource_Col_1" VALUE="" TYPE="ANALOG_INTERRUPT_SOURCE"/>
					<RESOURCE NAME="AnalogLUT_0" VALUE="A" TYPE="ANALOG_LUT"/>
					<RESOURCE NAME="AnalogLUT_1" VALUE="A" TYPE="ANALOG_LUT"/>
					<RESOURCE NAME="AnalogMUXBusInterconnect" VALUE="Not Connected" TYPE="ANALOG_MUX_BUS_INTERCONNECT"/>
					<RESOURCE NAME="AnalogMUXBus_0" VALUE="" TYPE="ANALOG_MUX_BUS"/>
					<RESOURCE NAME="AnalogMUXBus_1" VALUE="" TYPE="ANALOG_MUX_BUS"/>
					<RESOURCE NAME="AnalogMUXClockEnable" VALUE="Disable" TYPE="ANALOG_MUX_CLOCK_ENABLE"/>
					<RESOURCE NAME="AnalogMUXClockOutputConfig" VALUE="NormalPrecharge" TYPE="ANALOG_MUX_CLOCK_OUTPUT"/>
					<RESOURCE NAME="AnalogMUXClockSource" VALUE="Off" TYPE="ANALOG_MUX_CLOCK_SOURCE"/>
					<RESOURCE NAME="AnalogOutBuf_0" VALUE="OFF" TYPE="ANALOG_DRIVER"/>
					<RESOURCE NAME="AnalogOutBuf_1" VALUE="OFF" TYPE="ANALOG_DRIVER"/>
					<RESOURCE NAME="AnalogOutBus_0" VALUE="" TYPE="ANALOG_COLUMN_OUTPUT"/>
					<RESOURCE NAME="AnalogOutBus_1" VALUE="" TYPE="ANALOG_COLUMN_OUTPUT"/>
					<RESOURCE NAME="AnalogPhiClock_Col_0" VALUE="" TYPE="ANALOG_PHI_CLOCK"/>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -