# TP_SetCallback

## C Specification

  `#include <nitro/spi.h>`

      void TP_SetCallback( TPRecvCallback callback );

## Arguments

callback | Pointer to the user callback function This callback is called from the interrupt handler.

## Return Values

None.

## Description

This function sets the user callback function called during acquisition of the result of a touch panel request to the ARM7 processor. If the argument is NULL, no user callback will be called until it is subsequently reset. (The default is NULL.)

## See Also

`TPRecvCallback`

## Revision History

06/27/2005 Added additional text indicating that the callback is called from the interrupt handler.
04/16/2004 Initial version