This command pulls the number of received interrupts and received data (number of bytes set by SET_INTERRUPT command) from the USB FX2.

An alternate name for this USB FX2 API command could be GET_AUTORESPONSE.

Byte

Value

Description

1

0xB1

GET_INTERRUPT command ID

From 2 to 64

-

Not used

GET_INTERRUPT Command Packet Layout.

Byte

Description

1

Interrupt number
If zero means that GET_INTERRUPT has not been able to retry data because the interrupt created by SET_INTERRUPT has not yet been serviced.

From 2 to size+1

Interrupt data

From size+2 to 64

Not used

GET_INTERRUPT Reply Packet Layout.


  • No labels