1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>GXSetBreakPtCallback</title>
10</head>
11
12<body>
13
14<h1 align="left">GXSetBreakPtCallback</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/gx.h&gt;
19
20typedef void (*GXBreakPtCallback)(void);
21
22GXBreakPtCallback GXSetBreakPtCallback( GXBreakPtCallback cb );
23</pre></dd></dl>
24
25<h2>Arguments</h2>
26<TABLE class="arguments" border="1" >
27  <tr>
28<TH>cb</TH>
29<TD>Function to invoke when a break point is encountered. A null value indicates that no callback will be invoked.</TD>
30  </tr>
31</TABLE>
32
33<h2>Return Values</h2>
34<p>This function returns a pointer to the previously-set callback function.</p>
35
36<H2>Description</H2>
37<P>This function registers <SPAN class="argument">cb</SPAN> as a function to invoke when a break point is encountered.&nbsp;See the <A href="GXEnableBreakPt.html"><CODE>GXEnableBreakPt</CODE></A> function for an explanation of the FIFO break point feature.&nbsp;The callback will run with interrupts disabled and should terminate as quickly as possible.</P>
38<P>You can disable callbacks by setting a null value for <SPAN class="argument">cb</SPAN>.</P>
39
40<h2>See Also</h2>
41<P class="reference">
42<A href="GXEnableBreakPt.html">GXEnableBreakPt</A>
43</P>
44
45<H2>Revision History</H2>
46<P>
472006/03/01 Initial version.<br>
48</P>
49
50<hr><p>CONFIDENTIAL</p></body>
51</HTML>