SemysGathSetMalfunctionLevel |
01 | This function is used for debugging. |
02 |
void SemysGathSetMalfunctionLevel(uint16 level); |
03 |
Parameters:
|
04 | The 'malfunction level' is a global variable and is initialized to 0 (deactivated). |
05 |
Any nonzero value will occasionally cause a deliberate error in calculating
the CRC value of a received frame, resulting in an error condition of the Gatherer
(SemysGathErrorProt() callback). The error will be generated if a newly calculated random value is below the specified value (Thus: the higher the value, the more likely an error will occur). |
06 | This function was included for simple tests of the user code that should react to an error condition. |
07 |
Reference: SemysGatherer.h Implementation: Semys Library See Also: Gatherer Sub-System, SemysGathErrorProt() |
Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details. |