atmega103 ATMEL Corporation, atmega103 Datasheet - Page 54
atmega103
Manufacturer Part Number
atmega103
Description
Atmega103 8-bit With 128k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.ATMEGA103.pdf
(141 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
atmega103-6AC
Manufacturer:
ATMEL
Quantity:
1
Company:
Part Number:
atmega103-6AI
Manufacturer:
ATMEL
Quantity:
586
- Current page: 54 of 141
- Download datasheet (3Mb)
54
ATmega103(L)
the value TOP. This prevents the occurrence of odd-length PWM pulses (glitches) in the
event of an unsynchronized OCR1A/OCR1B write. See Figure 35 for an example.
Figure 35. Effects on Unsynchronized OCR1 Latching
During the time between the write and the latch operation, a read from OCR1A or
OCR1B will read the contents of the temporary location. This means that the most
recently written value always will read out of OCR1A/B.
When the OCR1A/OCR1B contains $0000 or TOP, the output OC1A/OC1B is updated
t o l o w o r h i g h o n t h e n e x t c o m p a r e m a t c h a c c o r d i n g t o t h e s e t t i n g s o f
COM1A1/COM1A0 or COM1B1/COM1B0. This is shown in Table 20.
Note:
Table 20. PWM Outputs OCR1X = $0000 or TOP
Note:
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 does also apply to the Timer Output Compare1 flags and
interrupts.
Note: X = A or B
COM1X1
Compare Value changes
If the Compare Register contains the TOP value and the prescaler is not in use
(CS12..CS10 = 001), the PWM output will not produce any pulse at all, because the up-
counting and down-counting value is reached simultaneously. When the prescaler is in
use (CS12..CS10 ≠ 001 or 000), the PWM output goes active when the counter reaches
the TOP 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.
X = A or B
1
1
1
1
Unsynchronized
Synchronized
Compare Value changes
COM1X0
0
0
1
1
OCR1X Latch
OCR1X Latch
OCR1X
$0000
$0000
TOP
TOP
Glitch
Compare Value
Counter Value
PWM Output OC1X
Output OC1X
Counter Value
Compare Value
PWM Output OC1X
H
H
L
L
0945I–AVR–02/07
Related parts for atmega103
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: