ATMEGA163 ATMEL [ATMEL Corporation], ATMEGA163 Datasheet - Page 56
ATMEGA163
Manufacturer Part Number
ATMEGA163
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.ATMEGA163.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA163-8AC
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATMEGA163L-4AI
Manufacturer:
ATMEL
Quantity:
984
- Current page: 56 of 187
- Download datasheet (3Mb)
56
ATmega163(L)
Figure 39. Effects of Unsynchronized OCR Latching in Overflow Mode.
During the time between the write and the latch operation, a read from OCR2 will read
the contents of the temporary location. This means that the most recently written value
always will read out of OCR2.
When the Output Compare Register contains $00 or $FF, and the up/down PWM mode
is selected, the output PD7(OC2) is updated to low or high on the next compare match
according to the settings of COM21/COM20. This is shown in Table 22. In overflow
PWM mode, the output PD7(OC2) is held low or high only when the Output Compare
Register contains $FF.
Table 22. PWM Outputs OCR2 = $00 or $FF
In up/down PWM mode, the Timer Overflow Flag – TOV2, is set when the counter
changes direction at $00. In overflow PWM mode, the Timer Overflow Flag is set as in
normal Timer/Counter mode. The Timer Overflow Interrupt operates exactly as in nor-
mal Timer/Counter mode, i.e., it is executed when TOV2 is set provided that Timer
Overflow Interrupt and Global Interrupts are enabled. This also applies to the Timer Out-
put Compare Flag and Interrupt.
The frequency of the PWM will be Timer Clock Frequency divided by 510.
COM21
1
1
1
1
Unsynchronized OC2 Latch
Synchronized OC2 Latch
COM20
0
0
1
1
Compare Value changes
OCR2
$FF
$FF
Glitch
$00
$00
Compare Value changes
Counter Value
Compare Value
PWM Output OC2
Counter Value
Compare Value
PWM Output OC2
Output OC2
H
H
L
L
1142E–AVR–02/03
Related parts for ATMEGA163
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64K Bytes In-System Programmable Programmable
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
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: