![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_136.png)
23-10
Timer Tools
Programmer’s Manual
Return Value
23.14
RefFineTimeRead
Syntax
U32
RefFineTimeRead
(void)
Description
Returns the current 32-bit reference timer value to the caller in unit of 100
microseconds. This is recommended to be used to read the reference timer as
it doesn’t involve much calculation and simply return the value. RefTimeRead()
will need more CPU time to convert the reference timer to resolutioSyntax
millisecond.
Parameter
Return Value
23.15
RefTimeAlarm
Syntax
STATUS
RefTimeAlarm
(U32
alarmTime
)
Description
Sets up an alarm time with respect to the current reference timer in unit of
milliseconds. Maximum period between alarm time and current time is
0x7FFFFFFF/10 milliseconds.
Name
Description
N/A
The elapsed time between the two given
reference times in unit of 100
microseconds
Name
Description
void
Name
Description
N/A
Returns a 32-bit reference timer value in
unit of 100 microseconds
Personal Portable System Manager
Programmer’s Manual
Timer Tools
23-11
Parameter
Return Value
STATUS
RefTimeAlarmId
Description
Sets up an alarm time with respect to the current reference timer in unit of
milliseconds. Maximum period between alarm time and current time is
0x7FFFFFFF/10 milliseconds. The
Parameter
Return Value
Syntax
U32
RefTimeDiff
(U32
Description
Name
Description
alarmTime
Name
Description
PPSM_OK
Successful operation
Name
Description
alarmId
alarmTime
Name
Description
PPSM_OK
Successful operation
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.