
DelayMs(2000);
StopWatchReset(0);
StopWatchStart(0);
}
}
TimerClose();
}
StopWatchReset()
Function: Resets the StopWatch value to 0.
Syntax:
int StopWatchReset(int channel);
Header: #include
”7188xc.h”
Description: channel: 0-7, a total of 8 channels.
Return Value: On success, returns NoError.
If the channel is out of range, returns ChannelError
(-15).
Example: Please refer to “StopWatchStart()” function for more
detailed information.
StopWatchStop()
Function: Disables the StopWatch channel.
Syntax:
int StopWatchStop(int channel);
Header: #include
”7188xc.h”
Description: The system timer ISR will stop to increment the
StopWatch value.
channel: 0-7, a total of 8 channels.
Return Value: On success, returns NoError.
If the channel is out of range, returns ChannelError
(-15).
Example: Please refer to “StopWatchStart ()” function for more
detailed information.
StopWatchPause()
Function: Pauses the StopWatch.
Syntax:
int StopWatchPause(int channel);
Header: #include
”7188xc.h”
Description: After calling StopWatchPause(), StopWatchContinue()
must be called to restart the time counter.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
121
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...