#include <revolution/gx.h> typedef void (*GXBreakPtCallback)(void); GXBreakPtCallback GXSetBreakPtCallback( GXBreakPtCallback cb );
| cb | Function to invoke when a break point is encountered. A null value indicates that no callback will be invoked. |
|---|
This function returns a pointer to the previously-set callback function.
This function registers cb as a function to invoke when a break point is encountered. See the GXEnableBreakPt function for an explanation of the FIFO break point feature. The callback will run with interrupts disabled and should terminate as quickly as possible.
You can disable callbacks by setting a null value for cb.
2006/03/01 Initial version.
CONFIDENTIAL