--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../aros.css' --->
| aoHidd_Bus_IRQData | aoHidd_Bus_IRQHandler | aoHidd_Bus_KeepEmpty |
[.S.], APTR
Caller's private data to be supplied to IRQ handler function.
[.S.], APTR
Specifies IRQ handler function to be called when bus interrupt arrives.
The function should be called using "C" calling convention and has the
following prototype:
void bus_HandleIRQ(UBYTE status, APTR userdata);
Your driver should pass the following arguments to this function:
status - value read from bus status register.
userdata - value of aoHidd_Bus_IRQData attribute.
Reading the status register is part of the interrupt acknowledge process, and therefore has to be done by the driver. It is driver's job to check whether the interrupt really belongs to the bus.
[I..], BOOL
If this attribute is set to FALSE during object creation, the object will be destroyed if no devices are detected on the bus.
This can be useful for optional buses like legacy ISA controllers, which have no other way to detect their presence.