![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_57.png)
9-6
Timer MTimer Management
Programmer’s Manual
Personal Portable System Manager
Programmer’s Manual
9-3
9.7
Setting Timeout
STATUS
Timeout
(U32
)
STATUS
TimeoutId
(P_U32 timerId, U32
)
General time-out tool. PPSM will generate a single soft interrupt message to the
caller once the time-out period has elapsed. An input value of zero will
immediately disable the time-out function for the current task including those
timeout set by reference timer alarm tools. TimeoutId() will output the
which will be returned in IrptGetData() if time elapsed.
IRPT_TIMER is the interrupt message sent to the caller application when time-out
occurs.
9.8
Setting Input Timeout
STATUS
InputTimeout
)
Set the repetitive time-out period for data input from the touch panel. This time-out
routine is an explicit time-out routine dedicated for the pen input device.
Once this time-out is activated, the specified time-out period count down begins
immediately after a valid pen input stroke. If the time-out period expires before the
next pen input occurs, PPSM will generate a timer interrupt to the caller;
otherwise, the time-out period is reset for the next pen input. This is a repetitive
time-out because once activated, the timer will continuously be set for time-out
after each pen input stoke until the time-out is cancelled.
IRPT_TIMER is the interrupt message sent to the caller application. The timer id.
returned in IrptGetData() will be 0xFFFFFFFF to distinguish it from the normal
timer set by Timeout(), TimeoutId(), RefTimeAlarm(), etc.
To cancel the input time-out for current task, call this function with zero as the
argument.
RTC_PERI_NO_SECOND
Disable second interrupt for
current task
RTC_PERI_NO_MINUTE
Disable minute interrupt for
current task
RTC_PERI_NO_HOUR
Disable hour interrupt for current
task
RTC_PERI_NO_MIDNIGHT
Disable midnight interrupt for
current task
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.