#include <nitro/spi.h>
u32 TP_WaitRawResult( TPData * result );
This function waits until touch panel values that were requested using TP_RequestSamplingAsync
are set from ARM7. It then reads the uncalibrated raw values. (Range for x, y:
0 – 4095) With this, you can obtain values for which chattering measures have been taken.
If this function is called before a response is received from ARM7, it will wait with an interrupt for a completion response. Therefore, if it is called while FIFO receive interrupts from ARM7 are prohibited, it may not be possible to return from wait.
Calling it during a touch panel callback will not cause a problem since the completion response has already been received.
result |
Pointer to a variable that is used to acquire touch panel values |
Returns 0 if touch panel value acquisition succeeds.
Returns a value of non-zero if touch panel value acquisition fails due to an error.
TP_RequestSamplingAsync, TP_WaitCalibratedResult, TPData
04/16/2004 Initial version