 | C166 User's Guide |  |
|
|
| _diswdt_| Summary |
#include <intrins.h>
void _diswdt_ (void);
| | Description | The _diswdt_ function inserts a DISWDT instruction (which disables the watchdog timer) into the program. This routine is implemented as an intrinsic function. The code required is generated inline rather than being a function call. | | Return Value | None. | | See Also | _srvwdt_ | | Example |
#include <intrins.h>
int i;
void tst_diswdt (void) {
i = 1;
_diswdt_(); /* disable watchdog timer */
i = 0;
}
|
|
|