Datasheet
2018 Microchip Technology Inc. Data Sheet Complete DS40002060A-page 43
ATtiny4/5/9/10
• Bits 5, 2:0 – WDP3..0: Watchdog Timer Prescaler 3, 2, 1 and 0
The WDP3..0 bits determine the Watchdog Timer prescaling when the Watchdog Timer is running. The different prescaling
values and their corresponding time-out periods are shown in Table 9-3 on page 43.
9.4.2 VLMCSR – V
CC
Level Monitoring Control and Status register
• Bit 7 – VLMF: VLM Flag
This bit is set by the VLM circuit to indicate that a voltage level condition has been triggered (see Table 9-4). The bit is
cleared when the trigger level selection is set to “Disabled”, or when voltage at V
CC
rises above the selected trigger level.
• Bit 6 – VLMIE: VLM Interrupt Enable
When this bit is set the VLM interrupt is enabled. A VLM interrupt is generated every time the VLMF flag is set.
• Bits 5:3 – Res: Reserved Bits
These bits are reserved. For ensuring compatibility with future devices, these bits must be written to zero, when the register
is written.
• Bits 2:0 – VLM2:0: Trigger Level of Voltage Level Monitor
These bits set the trigger level for the voltage level monitor, as described in Table 9-4 below.
Table 9-3. Watchdog Timer Prescale Select
WDP3 WDP2 WDP1 WDP0
Number of WDT
Oscillator Cycles
Typical Time-out at
V
CC
= 5.0V
0 0 0 0 2K (2048) cycles 16 ms
0 0 0 1 4K (4096) cycles 32 ms
0 0 1 0 8K (8192) cycles 64 ms
0 0 1 1 16K (16384) cycles 0.125 s
0 1 0 0 32K (32768) cycles 0.25 s
0 1 0 1 64K (65536) cycles 0.5 s
0 1 1 0 128K (131072) cycles 1.0 s
0 1 1 1 256K (262144) cycles 2.0 s
1 0 0 0 512K (524288) cycles 4.0 s
1 0 0 1 1024K (1048576) cycles 8.0 s
1010
Reserved
1011
1100
1101
1110
1111
Bit 76543210
0x34 VLMF VLMIE
– – – VLM2 VLM1 VLM0 VLMCSR
Read/Write R R/W R R R R/W R/W R/W
Initial Value 0 0 0 0 0 0 0 0