

#include <nitro/spi.h>u32 TP_GetCalibratedResult( TPData * result );
| result | Pointer to the variable to obtain touch-panel values. |
0 if touch-panel value is obtained successfully.
Non-zero value if task fails due to some error.
Considers the touch-panel values requested by the TP_RequestSamplingAsync function to have been set by the ARM7, and gets these values as calibrated screen coordinates. (X value ranges between 0 and 255; Y value ranges between 0 and 191) The value obtained here already accounts for chattering. If a response from ARM7 has not come yet, it may not be possible to obtain a correct value.
TP_RequestSamplingAsync, TP_WaitCalibratedResult, TP_WaitRawResult, TPData
2004/04/16 Initial version.
CONFIDENTIAL