USB_MsgOp (SWI&55399)

USB_MsgOp (SWI&55399) — Message operations

On Entry

R0

ValueDefinitionDescription
0USB_MSGOP_NONE 
1USB_MSGOP_REGISTER 
2USB_MSGOP_DEREGISTER 
3USB_MSGOP_FILTER 
4USB_MSGOP_FILTERALLAll messages are filtered The messgae class in R3 is ignored

R1Pointer to message handler
R2Parameter to message handler
R3Message class
R4
0 = message class will not be passed to the caller
1 = message class will be passed to the caller
R5 

On Exit

R00 on succesful completion 1 if failed
R1Error code Table A.1, “Error codes used by the USB system”
R2, R3, R4, R5Preserved

Use

Related SWI's

USB_MsgSend (SWI&55398)