EasyManuals Logo

Atmel ATtiny26 User Manual

Atmel ATtiny26
182 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #76 background imageLoading...
Page #76 background image
76
ATtiny26(L)
1477G–AVR–03/05
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
Resolution
PWM
= log
2
(OCR1C + 1)
Table 36. PWM Outputs OCR1x = $00 or OCR1C, x = A or B
COM1x1 COM1x0 OCR1x Output OC1x Output OC1x
0 1 $00 L H
0 1 OCR1C H L
1 0 $00 L Not connected
1 0 OCR1C H Not connected
1 1 $00 H Not connected
1 1 OCR1C L Not connected
f
PWM
f
TCK1
OCR1C + 1()
----------------------------------- -=

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel ATtiny26 and is the answer not in the manual?

Atmel ATtiny26 Specifications

General IconGeneral
BrandAtmel
ModelATtiny26
CategoryMicrocontrollers
LanguageEnglish

Related product manuals