#include <revolution.h>
typedef void (*AIDCallback)(void);
AIDCallback AIRegisterDMACallback(AIDCallback callback);
callback |
Callback function for the AI DMA interrupt (AIDINT). |
Returns a pointer to the old callback function that is already registered. Returns NULL if a callback function has not been registered.
The AIRegisterDMACallback function registers the callback function to call when an AI DMA interrupt (AIDINT) occurs. The new callback function unconditionally replaces the existing callback function. The callback function is deleted if NULL is specified and no callback function will ever be called in response to an AI DMA interrupt.
2006/03/01 Initial version.