A SERVICE OF

logo

iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 131
TimerClose()
Func.: Stop timer function.
Syntax:
int TimerClose(void);
Header: #include ”iVIEW.h”
Description:
If the program has call OpenTimer, it must call TimerClose before exiting.
Always return NoError.
Example: Please refer to “TimerOpen()” for detail information.
TimerResetValue()
Func.: reset timer to 0.
Syntax:
void TimerResetValue(void);
Header: #include ”iVIEW.h”
Description:
Reset the main time ticks to 0.
Example: Please refer to “TimerOpen()” for detail information.
TimerReadValue()
Func.: Read main time ticks.
Syntax:
unsigned long TimerReadValue(void);
Header: #include ”iVIEW.h”
Description:
Read main time ticks. The time unit for ticks is 1 ms. When TimerOpen or call
TimerReset will reset the valuse to 0.
Example: Please refer to “TimerOpen()” for detail information.
DelayMs()
Func.: Delay some time interval; the time unit is ms, use system timeticks.
Syntax:
void DelayMs(unsigned t);
Header: #include ”iVIEW.h”
Description:
Delay unit is ms,
t: the time want to delay.
Example: Please refer to “TimerOpen()” for detail information.
Delay()
Func.: Delay some time interval; the time unit is ms, use CPU Timer 1.
Syntax:
void Delay(unsigned ms);
Header: #include ”iVIEW.h”
Description:
Delay some time interval. Delay unit is ms, use CPU Timer 1.
ms: the time want to delay.
Example: Please refer to “TimerOpen()” for detail information.