DelayMs(2000);
StopWatchReset(0);
StopWatchStart(0);
}
}
TimerClose();
}
StopWatchReset()
Function: Resets the StopWatch value to 0.
Syntax:
int StopWatchReset(int channel);
Header: #include
”7188xb.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
”7188xb.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
”7188xb.h”
Description: After calling StopWatchPause(), StopWatchContinue()
must be called to restart the time counter.
I-7188XB Series User’s Manual(Ver.1.0, Apr/2007,
7MH-020-10
) ---
123
Содержание I-7188XB Series
Страница 88: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 88...
Страница 138: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 138...
Страница 144: ...Step 8 Make the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 144...
Страница 151: ...Step 8 Rebuild the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 151...