mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
19 lines
327 B
C
19 lines
327 B
C
#ifndef _WDT_
|
|
#define _WDT_
|
|
|
|
|
|
|
|
//=========================================================
|
|
#define WDT_RESTART_MAGIC 0xAC
|
|
|
|
|
|
|
|
//=========================================================
|
|
void WDT_Restart( void );
|
|
|
|
// 規定値以外を書くと例外でリセットがかかる
|
|
#define mcu_reset WDTE = 0x5A
|
|
|
|
|
|
#endif
|