Go to the documentation of this file.
10 #ifndef __ASM_CPU_SH2_WATCHDOG_H
11 #define __ASM_CPU_SH2_WATCHDOG_H
22 #define WTCNT 0xfffffe80
23 #define WTCSR 0xfffffe80
24 #define RSTCSR 0xfffffe82
26 #define WTCNT_R (WTCNT + 1)
27 #define RSTCSR_R (RSTCSR + 1)
30 #define WTCSR_IOVF 0x80
32 #define WTCSR_TME 0x20
33 #define WTCSR_RSTS 0x00
35 #define RSTCSR_RSTS 0x20
42 static inline __u8 sh_wdt_read_rstcsr(
void)
58 static inline void sh_wdt_write_rstcsr(
__u8 val)