Location:
Search - EP0
Search list
Description: EP0控制传输事例 ,主要是CYPRESS开发包中的控制传输,有详细说明-VEND_AX
Platform: |
Size: 50176 |
Author: 杜伟 |
Hits:
Description: USB的HID固件程序,单片机开发
Bus_Reset:
------------------------------------------------------------------
into Normal Mode, two NOPs are required.
------------------------------------------------------------------
b0bclr FSTPHX
nop
nop
b0bclr FCLKMD
---------------------------------------------------------------
NOTE!! Keep USB enable after Bus_reset and set USB address to 0
---------------------------------------------------------------
mov a, #0x80 enable USB & and set USB address = 0
b0mov UDA, a
clr UDP0 set FIFO address to EP0
clr UDP0_H
clr UDR0_R
clr UDR0_W
b0bclr bSetAddress bus reset clear bSet_address
b0bclr bSetAddressCmd
b0bclr bSuspend clear bSuspend flag
b0bclr bRemote_Wakeup
mov a, #PROTOCOL_initial_value
b0mov PROTOCOL, a
clr BSetConfiguration
clr UStatus
clr USB_HID_Status2
clr EP0OUT_CNT
clr USB_HID_Status
mov a, #0xf0
and USB_HID_Status, a-USB的HID固件程序,单片机开发
Bus_Reset:
------------------------------------------------------------------
into Normal Mode, two NOPs are required.
------------------------------------------------------------------
b0bclr FSTPHX
nop
nop
b0bclr FCLKMD
---------------------------------------------------------------
NOTE!! Keep USB enable after Bus_reset and set USB address to 0
---------------------------------------------------------------
mov a,#0x80 enable USB & and set USB address = 0
b0mov UDA, a
clr UDP0 set FIFO address to EP0
clr UDP0_H
clr UDR0_R
clr UDR0_W
b0bclr bSetAddress bus reset clear bSet_address
b0bclr bSetAddressCmd
b0bclr bSuspend clear bSuspend flag
b0bclr bRemote_Wakeup
mov a,#PROTOCOL_initial_value
b0mov PROTOCOL, a
clr BSetConfiguration
clr UStatus
clr USB_HID_Status2
clr EP0OUT_CNT
clr USB_HID_Status
mov a,#0xf0
and USB_HID_Status, a
Platform: |
Size: 113664 |
Author: tecwon |
Hits:
Description: SN8F2255 库文件 ,应用于SONIX SN8F2250系列,的库文件,需求。-SN8F2255 library
USB Full Speed library (Using EP0 & EP1)
SB SPEC 1.1 FULL speed device
Platform: |
Size: 246784 |
Author: lzp |
Hits:
Description: DesignWare USB3 DRD Controller Endpoint 0 Handling.
Platform: |
Size: 7168 |
Author: yazequi |
Hits:
Description: MUSB OTG peripheral driver ep0 handling for Linux v2.13.6.
Platform: |
Size: 7168 |
Author: naxoukang |
Hits:
Description: MUSB OTG peripheral driver ep0 handling.
Platform: |
Size: 8192 |
Author: pmnnfei |
Hits: