<< Previous | Next >>

chkHardReset

int chkHardReset( void );

Description

This function determines whether this restart of the board is due to a hardware reset. Asserting the RESET line or recycling power are both considered hardware resets. A watchdog timeout is not a hardware reset.

Return value

1: The processor was restarted due to a hardware reset.
0: If it was not.

Library

SYS.LIB

See Also

chkSoftReset, chkWDTO, _sysIsSoftReset


Dynamic C Functions << Previous | Next >> rabbit.com