English
Language : 

AT43USB320A_04 Datasheet, PDF (50/115 Pages) ATMEL Corporation – Full-speed USB Microcontroller with an Embedded Hub
Watchdog Timer
value, but the down-counting compare match is not interpreted to be reached before the next
time the counter reaches the TOP value, making a one-period PWM pulse.
Table 18. PWM Outputs OCR1X = $0000 or Top
COM1X1
COM1X0
OCR1X
Output OC1X
1
0
$0000
L
1
0
TOP
H
1
1
$0000
H
1
1
TOP
L
Note: X = A or B
In PWM mode, the Timer Overflow Flag1, TOV1, is set when the counter advances from
$0000. Timer Overflow Interrupt1 operates exactly as in normal Timer/Counter mode, i.e. it is
executed when TOV1 is set provided that Timer Overflow Interrupt1 and global interrupts are
enabled. This also applies to the Timer Output Compare1 flags and interrupts.
The Watchdog Timer is clocked from a 1 MHz clock derived from the 6 MHz on chip oscillator.
By controlling the Watchdog Timer prescaler, the Watchdog reset interval can be adjusted,
see Table 19 for a detailed description. The WDR (Watchdog Reset) instruction resets the
Watchdog Timer. Eight different clock cycle periods can be selected to determine the reset
period. If the reset period expires without another Watchdog reset, the AT43USB320A resets
and executes from the reset vector.
To prevent unintentional disabling of the watchdog, a special turn-off sequence must be fol-
lowed when the watchdog is disabled. Refer to the description of the Watchdog Timer Control
Register for details.
Figure 14. Watchdog Timer
1 MHz Clock
Watchdog
Reset
WDP0
WDP1
WDP2
WDE
Watchdog Prescaler
MCU Reset
50 AT43USB320A
1443E–USB–4/04