Hi Michael,
I am trying to implement device support for a new device. I am using the allowScan method to enable callbacks to the device, which are otherwise polled using the process method. I am trying to set it up so that the callbacks are disabled when I switch the scan method back from I/O Intr to a periodic scan.
Is there such method? If not, do you have suggestions as to how I should go about it? I am thinking of checking the SCAN field during processing and then remove it from the IOScanThread if it is not set to I/O Intr. Am I overthinking it?
Thank you for your help.
Hi Michael,
I am trying to implement device support for a new device. I am using the
allowScanmethod to enable callbacks to the device, which are otherwise polled using theprocessmethod. I am trying to set it up so that the callbacks are disabled when I switch the scan method back fromI/O Intrto a periodic scan.Is there such method? If not, do you have suggestions as to how I should go about it? I am thinking of checking the
SCANfield during processing and then remove it from the IOScanThread if it is not set to I/O Intr. Am I overthinking it?Thank you for your help.