![Atmel AT90S8414 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/atmel/at90s8414/at90s8414_manual_3003427043.webp)
AT90S8414
Preliminary
4-43
Figure 36: Effects on Unsynchronized OCR1 Latching
When OCR1 contains $0000 or $03FF, the output OC1A/OC1B is held low or high according to the settings of
COM1A1/COM1A0 or COM1B1/COM1B0. This is shown in Table 11:
Table 11: PWM Outputs OCR1X = $0000 or $03FF
COM1X1
COM1X
0
OCR1X
Output OC1X
1
0
$0000
L
1
0
$03FF
H
1
1
$0000
H
1
1
$03FF
L
Note:
X = A or B
In PWM mode, the Timer Overflow Flag1, TOV1, is set when the counter changes direction at $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 does also apply to the Timer Output Compare1 flags and
interrupts.
The PWM output frequency is given by:
f
=
f
2046
PWM
TC1
, where f
TC1
is the Timer/Counter1 Clock Source frequency.
The Watchdog Timer
The Watchdog Timer is clocked from a separate on-chip oscillator which runs at 1MHz. By controlling the Watchdog
Timer prescaler, the Watchdog reset interval can be adjusted from 16 to 2048 ms. The WDR - Watchdog Reset -
instruction resets the Watchdog Timer. From the Watchdog is reset, eight different clock cycle periods can be selected to
determine the reset period. If the reset period expires without another Watchdog reset, the AT90S8414 resets and
executes from the reset vector. For timing details on the Watchdog reset, refer to Page 2-27.
Содержание AT90S8414
Страница 4: ...4 4 AT90S8414 Preliminary...
Страница 6: ...4 6 AT90S8414 Preliminary Block Diagram Figure 1 The AT90S8414 Block Diagram...
Страница 65: ...AT90S8414 Preliminary 4 65 Figure 50 PORTB Schematic Diagram Pin PB5 Figure 51 PORTB Schematic Diagram Pin PB6...
Страница 68: ...4 68 AT90S8414 Preliminary Figure 53 PORTC Schematic Diagram Pins PC0 PC7...
Страница 87: ...AT90S8414 Preliminary 4 87...