Hardware Reference
In-Depth Information
DanachmussdieFirmwaredenempfangenenStandardDeviceRequestineineder
folgenden Gruppen einordnen: Get Status, Clear Feature, Set Feature, Set Address,
Get Descriptor, Get Configuration, Set Configuration, Get Interface, Set Interface.
; compute requests
requestType_00
movlw 0x05
cpfseq bRequest
bra
req00Test_2
bra
SET_ADDRESS
req00Test_2
movlw 0x09
cpfseq bRequest
bra
transtest_stall_0 ; no other 00-requests accepted
bra
SET_CONFIGURATION
requestType_01
movlw 0x0B
cpfseq bRequest
bra
transtest_stall_0 ; no other 01-requests accepted
bra
SET_INTERFACE
requestType_02
movlw 0x01
cpfseq bRequest
bra
req02Test_2
bra
clearHalt
req02Test_2
movlw 0x03
cpfseq bRequest
bra
transtest_stall_0 ; no other 02-requests accepted
bra
setHalt
clearHalt
movlw 0x00
cpfseq wIndexLOW
bra
clearHalt_2
bra
CLEAR_HALT_CONTROL_OUT
clearHalt_2
movlw 0x80
cpfseq wIndexLOW
bra
clearHalt_3
bra
CLEAR_HALT_CONTROL_IN
clearHalt_3
movlw 0x01
cpfseq wIndexLOW
bra
clearHalt_4
bra
CLEAR_HALT_BULK_OUT
clearHalt_4
movlw 0x82
cpfseq wIndexLOW
bra
clearHalt_5
Search WWH ::




Custom Search