bus_hidd
| aoHidd_Bus_IRQData | aoHidd_Bus_IRQHandler | aoHidd_Bus_KeepEmpty |
aoHidd_Bus_IRQData
Synopsis
[.S.], APTR
Function
Caller's private data to be supplied to IRQ handler function.
See also
aoHidd_Bus_IRQHandler
Synopsis
[.S.], APTR
Function
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.
Notes
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.
See also
aoHidd_Bus_KeepEmpty
Synopsis
[I..], BOOL
Function
If this attribute is set to FALSE during object creation, the object will be destroyed if no devices are detected on the bus.
Notes
This can be useful for optional buses like legacy ISA controllers, which have no other way to detect their presence.


