ATMEGA8515-16AI Atmel, ATMEGA8515-16AI Datasheet - Page 84

IC AVR MCU 8K 16MHZ IND 44-TQFP

ATMEGA8515-16AI

Manufacturer Part Number
ATMEGA8515-16AI
Description
IC AVR MCU 8K 16MHZ IND 44-TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8515-16AI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8515-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA8515-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Compare Match Output
Unit
Compare Output Mode and
Waveform Generation
84
ATmega8515(L)
The Compare Output mode (COM01:0) bits have two functions. The Waveform Genera-
tor uses the COM01:0 bits for defining the Output Compare (OC0) state at the next
Compare Match. Also, the COM01:0 bits control the OC0 pin output source. Figure 37
shows a simplified schematic of the logic affected by the COM01:0 bit setting. The I/O
Registers, I/O bits, and I/O pins in the figure are shown in bold. Only the parts of the
general I/O port Control Registers (DDR and PORT) that are affected by the COM01:0
bits are shown. When referring to the OC0 state, the reference is for the internal OC0
Register, not the OC0 pin. If a System Reset occur, the OC0 Register is reset to “0”.
Figure 37. Compare Match Output Unit, Schematics
The general I/O port function is overridden by the output compare (OC0) from the Wave-
form Generator if either of the COM01:0 bits are set. However, the OC0 pin direction
(input or output) is still controlled by the Data Direction Register (DDR) for the port pin.
The Data Direction Register bit for the OC0 pin (DDR_OC0) must be set as output
before the OC0 value is visible on the pin. The port override function is independent of
the Waveform Generation mode.
The design of the output compare pin logic allows initialization of the OC0 state before
the output is enabled. Note that some COM01:0 bit settings are reserved for certain
modes of operation. See “8-bit Timer/Counter Register Description” on page 91.
The waveform generator uses the COM01:0 bits differently in Normal, CTC, and PWM
modes. For all modes, setting the COM01:0 = 0 tells the Waveform Generator that no
action on the OC0 Register is to be performed on the next Compare Match. For com-
pare output actions in the non-PWM modes refer to Table 45 on page 92. For fast PWM
mode, refer to Table 46 on page 92, and for phase correct PWM refer to Table 47 on
page 92.
A change of the COM01:0 bits state will have effect at the first Compare Match after the
bits are written. For non-PWM modes, the action can be forced to have immediate effect
by using the FOC0 strobe bits.
COMn1
COMn0
FOCn
clk
I/O
Waveform
Generator
D
D
D
PORT
DDR
OCn
Q
Q
Q
1
0
2512K–AVR–01/10
OCn
Pin

Related parts for ATMEGA8515-16AI