10. Watchdog Timer (WDT)
A96G150 User's manual
100
10.4
Register description
WDTCNT (Watch Dog Timer Counter Register: Read Case): 8EH
7
6
5
4
3
2
1
0
WDTCNT 7
WDTCNT 6
WDTCNT 5
WDTCNT 4
WDTCNT3
WDTCNT 2
WDTCNT 1
WDTCNT 0
R
R
R
R
R
R
R
R
Initial value: 00H
WDTCNT[7:0]
WDT Counter
WDTDR (Watch Dog Timer Data Register: Write Case): 8EH
7
6
5
4
3
2
1
0
WDTDR7
WDTDR 6
WDTDR 5
WDTDR 4
WDTDR 3
WDTDR 2
WDTDR 1
WDTDR 0
W
W
W
W
W
W
W
W
Initial value: FFH
WDTDR[7:0]
Set a period
WDT Interrupt Interval = (BIT Interrupt Interval) x (WDTDR Value+1)
NOTE:
Do not write
“0” in the WDTDR register.
WDTCR (Watch Dog Timer Control Register): 8DH
7
6
5
4
3
2
1
0
WDTEN
WDTRSON
WDTCL
–
–
–
WDTCK
WDTIFR
R/W
R/W
R/W
–
–
–
R/W
R/W
Initial value: 00H
WDTEN
Control WDT Operation
0
Disable
1
Enable
WDTRSON
Control WDT RESET Operation
0
Free Running 8-bit timer
1
Watch Dog Timer RESET ON
WDTCL
Clear WDT Counter
0
Free Run
1
Clear WDT Counter (auto clear after 1 Cycle)
WDTCK
Control WDT Clock Selection Bit
0
BIT overflow for WDT clock
1
BIT overflow/8 for WDT clock
WDTIFR
When WDT Interrupt occurs, this bit becomes
‘1’. For clearing bit, write ‘0’
to this bit or auto clear by INT_ACK signal. Writing
“1” has no effect.
0
WDT Interrupt no generation
1
WDT Interrupt generation
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...