ATTINY26L8SU SL383 Atmel, ATTINY26L8SU SL383 Datasheet - Page 78

no-image

ATTINY26L8SU SL383

Manufacturer Part Number
ATTINY26L8SU SL383
Description
MCU 8-Bit ATtiny AVR RISC 2KB Flash 3.3V/5V 20-Pin SOIC T/R
Manufacturer
Atmel
Datasheet
78
ATtiny26(L)
Table 36. PWM Outputs OCR1x = $00 or OCR1C, x = A or B
In PWM mode, the Timer Overflow Flag – TOV1, is set as in normal Timer/Counter
mode. Timer Overflow Interrupt1 operates exactly as in normal Timer/Counter mode,
i.e., it is executed when TOV1 is set provided that Timer Overflow Interrupt and global
interrupts are enabled. This also applies to the Timer Output Compare flags and
interrupts.
The frequency of the PWM will be Timer Clock 1 Frequency divided by (OCR1C
value + 1). See the following equation:
Resolution shows how many bit is required to express the value in the OCR1C Register.
It is calculated by following equation
COM1x1
0
0
1
1
1
1
COM1x0
1
1
0
0
1
1
Resolution
f
OCR1C
OCR1C
OCR1C
PWM
OCR1x
$00
$00
$00
PWM
=
----------------------------------- -
(
= log
OCR1C + 1
f
TCK1
2
(OCR1C + 1)
Output OC1x
H
H
H
L
L
L
)
Not connected
Not connected
Not connected
Not connected
Output OC1x
1477J–AVR–06/07
H
L

Related parts for ATTINY26L8SU SL383