GXSetBreakPtCallback

C Specification

#include <revolution/gx.h>

typedef void (*GXBreakPtCallback)(void);

GXBreakPtCallback GXSetBreakPtCallback( GXBreakPtCallback cb );

Arguments

cb Function to invoke when a break point is encountered. A NULL value will indicate that no callback will be invoked.

Return Values

This function returns a pointer to the previously-set callback function.

Description

This function registers cb as a function to invoke when a break point is encountered. See GXEnableBreakPt 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.

See Also

GXEnableBreakPt

Revision History

03/01/2006 Initial version.