ATTIny13-12PI ATMEL Corporation, ATTIny13-12PI Datasheet - Page 33

no-image

ATTIny13-12PI

Manufacturer Part Number
ATTIny13-12PI
Description
8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Watchdog Reset
MCU Status Register –
MCUSR
2535B–AVR–01/04
Figure 17. Brown-out Reset During Operation
When the Watchdog times out, it will generate a short reset pulse of one CK cycle dura-
tion. On the falling edge of this pulse, the delay timer starts counting the Time-out period
t
Figure 18. Watchdog Reset During Operation
The MCU Status Register provides information on which reset source caused an MCU
Reset.
• Bits 7..4 – Res: Reserved Bits
These bits are reserved bits in the ATtiny13 and will always read as zero.
• Bit 3 – WDRF: Watchdog Reset Flag
This bit is set if a Watchdog Reset occurs. The bit is reset by a Power-on Reset, or by
writing a logic zero to the flag.
• Bit 2 – BORF: Brown-out Reset Flag
This bit is set if a Brown-out Reset occurs. The bit is reset by a Power-on Reset, or by
writing a logic zero to the flag.
• Bit 1 – EXTRF: External Reset Flag
TOUT
Bit
Read/Write
Initial Value
. Refer to page 40 for details on operation of the Watchdog Timer.
CC
INTERNAL
TIME-OUT
RESET
RESET
V
R
7
0
CC
R
6
0
R
5
0
V
CK
BOT-
R
4
0
WDRF
R/W
3
See Bit Description
BORF
R/W
V
t
2
TOUT
BOT+
EXTRF
R/W
1
ATtiny13
PORF
R/W
0
MCUSR
33

Related parts for ATTIny13-12PI