Event Type

USB-4751 supports the following events:

Event Type Description
ADS_EVT_INTERRUPT Triggered when a certain number of above interrupts occur. The number is specified when applications call DRV_EnableEvent.
ADS_EVT_PORT0/
ADS_EVT_DI_INTERRUPT16
Triggered when Group 0 of the device generates a certain number of interrupts. The number is specified when applications call DRV_EnableEvent.
ADS_EVT_PORT1/
ADS_EVT_DI_INTERRUPT40
Triggered when Group 1 of the device generates a certain number of interrupts. The number is specified when applications call DRV_EnableEvent.
ADS_EVT_DEVREMOVED Triggered when USB device is removed (unplugged). When get this event, please stop all I/O access and close the device by calling DRV_DeviceClose. 

See also

PT_EnableEvent