23-8
Timer Tools
Programmer’s Manual
For DragonBall not DragonBall-EZ, the InputTimeout() is also limited by the
pen input sampling rate. A higher sampling rate is more likely to give a more
accurate result.
Parameter
Return Value
23.11
RefFineTimeAlarm
Syntax
STATUS
RefFineTimeAlarm
(U32 alarmTime)
Description
Sets up an alarm time with respect to the current reference timer in unit of 100
microseconds. Maximum period between alarm time and current time is
0x7FFFFFFF/10 millisecond.
Parameter
Return Value
23.12
RefFineTimeAlarmId
Syntax
Name
Description
millisecond
Time-out period in units of millisecond. If
this value is zero, time-out is disabled.
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_TMOUT_VALUE
Invalid time-out period
Name
Description
alarmTime
The absolute value of the alarm time with
respect to the current reference timer
value in unit of 100 microseconds.
Maximum alarm time period is
0x7FFFFFFF/10 milliseconds from the
current reference time.
Name
Description
PPSM_OK
Successful operation
Personal Portable System Manager
Programmer’s Manual
Timer Tools
23-5
Return Value
23.7
DateTimeRead
Syntax
STATUS
DateTimeRead
P_U16 minute
,
Description
Gets the system date and time.
Parameter
Return Value
minute
second
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_YEAR
Invalid year
PPSM_ERR_MONTH
Invalid month
PPSM_ERR_DAY
Invalid date
PPSM_ERR_HOUR
Invalid hour
PPSM_ERR_MINUTE
Invalid minute
PPSM_ERR_SECOND
Invalid second
Name
Description
year
month
day
hour
minute
second
Name
Description
PPSM_OK
Successful operation
Name
Description
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.