Web Analytics
Datasheet 搜索 > 8位微控制器 > ATMEL(爱特美尔) > ATMEGA128A-AU 数据手册 > ATMEGA128A-AU 数据手册 124/386 页
ATMEGA128A-AU
器件3D模型
15.026
导航目录
ATMEGA128A-AU数据手册
Page:
of 386 Go
若手册格式错乱,请下载阅览PDF原文件
124
8151H–AVR–02/11
ATmega128A
15.8 Compare Match Output Unit
The Compare Output mode (COMnx1:0) bits have two functions. The waveform generator uses
the COMnx1:0 bits for defining the output compare (OCnx) state at the next compare match.
Secondly the COMnx1:0 bits control the OCnx pin output source. Figure 15-5 shows a simplified
schematic of the logic affected by the COMnx1: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 COMnx1:0 bits are shown. When referring to the OCnx
state, the reference is for the internal OCnx Register, not the OCnx pin. If a system Reset occur,
the OCnx Register is reset to “0”.
Figure 15-5. Compare Match Output Unit, Schematic
The general I/O port function is overridden by the output compare (OCnx) from the Waveform
Generator if either of the COMnx1:0 bits are set. However, the OCnx pin direction (input or out-
put) is still controlled by the Data Direction Register (DDR) for the port pin. The data direction
register bit for the OCnx pin (DDR_OCnx) must be set as output before the OCnx value is visible
on the pin. The port override function is generally independent of the waveform generation
mode, but there are some exceptions. Refer to Table 15-2, Table 15-3 and Table 15-4 for
details.
The design of the output compare pin logic allows initialization of the OCnx state before the out-
put is enabled. Note that some COMnx1:0 bit settings are reserved for certain modes of
operation. See “Register Description” on page 134.
The COMnx1:0 bits have no effect on the Input Capture unit.
15.8.1 Compare Output Mode and Waveform Generation
The waveform generator uses the COMnx1:0 bits differently in normal, CTC, and PWM modes.
For all modes, setting the COMnx1:0 = 0 tells the waveform generator that no action on the
OCnx Register is to be performed on the next compare match. For compare output actions in the
non-PWM modes refer to Table 15-2 on page 135. For fast PWM mode refer to Table 15-3 on
page 135, and for phase correct and phase and frequency correct PWM refer to Table 15-4 on
page 136.
PORT
DDR
DQ
DQ
OCnx
Pin
OCnx
DQ
Waveform
Generator
COMnx1
COMnx0
0
1
DATA BU S
FOCnx
clk
I/O

ATMEGA128A-AU 数据手册

ATMEL(爱特美尔)
386 页 / 7.44 MByte
ATMEL(爱特美尔)
68 页 / 9.77 MByte
ATMEL(爱特美尔)
475 页 / 5.6 MByte
ATMEL(爱特美尔)
391 页 / 6.04 MByte
ATMEL(爱特美尔)
22 页 / 0.51 MByte

ATMEGA128 数据手册

Microchip(微芯)
8 位 megaAVR 微控制器,32KB 到 256KB 闪存我们在 RS Components 提供多款来自 Atmel 的 megaAVR 8 位微控制器。 每个微控制器均基于增强型 RISC 体系结构,并具有 QTouch 库支持。 所有微控制器类型具有不同 Kb 的系统内可编程内存、EEPROM 和 SRAM 以及不同引脚和封装类型。 **megaAVR 8 位微控制器类型** •ATmega32 •ATmega64 •ATmega128 •ATmega324 •ATmega325 •ATmega406 •ATmega640 •ATmega644 •ATmega645 •ATmega1280 •ATmega1281 •ATmega1284 •ATmega2560 •ATmega2561 •ATmega3250 •ATmega6450
ATMEL(爱特美尔)
ATMEL  ATMEGA128A-AU  微控制器, 8位, 低功率高性能, ATmega, 16 MHz, 128 KB, 4 KB, 64 引脚, TQFP
ATMEL(爱特美尔)
ATMEL  ATMEGA128-16AU  微控制器, 8位, 低功率高性能, ATmega, 16 MHz, 128 KB, 4 KB, 64 引脚, TQFP
Microchip(微芯)
8 位 PicoPower megaAVR 系列微控制器此系列 megaAVR 微控制器具有 picoPower 技术 — 非常适合节能。 它们提供大量程序和数据内存,性能高达 20 MIPS。 **picoPower megaAVR 微控制器的特色和优点** •片上闪存 •SRAM •内部 EEPROM •SPI •TWI (I²C) •USART、USB、CAN 和 LIN 接口 •监控计时器 •精密振荡器 •GPIO 引脚 •ADC •DAC •内置温度传感器 •内部参考电压 •掉电检测器
ATMEL(爱特美尔)
ATMEL  ATMEGA128L-8AU  微控制器, 8位, 低功率高性能, ATmega, 8 MHz, 128 KB, 4 KB, 64 引脚, TQFP
ATMEL(爱特美尔)
8 位 PicoPower megaAVR 系列微控制器,Atmel此系列 megaAVR 微控制器具有 picoPower 技术 — 非常适合节能。 它们提供大量程序和数据内存,性能高达 20 MIPS。 **picoPower megaAVR 微控制器的特色和优点** •片上闪存 •SRAM •内部 EEPROM •SPI •TWI (I²C) •USART、USB、CAN 和 LIN 接口 •监控计时器 •精密振荡器 •GPIO 引脚 •ADC •DAC •内置温度传感器 •内部参考电压 •掉电检测器### AVR 微控制器,Atmel
Microchip(微芯)
ATmega 系列 16 MHz 128 KB 闪存 4 KB SRAM 8 位 微控制器 - TQFP-64
ATMEL(爱特美尔)
ATmega 系列 16 MHz 128 KB 闪存 8 KB SRAM 8位 微控制器 - TQFP-100
Microchip(微芯)
ATMEGA128A-AUR 编带
Microchip(微芯)
8 位 megaAVR 微控制器,32KB 到 256KB 闪存我们在 RS Components 提供多款来自 Atmel 的 megaAVR 8 位微控制器。 每个微控制器均基于增强型 RISC 体系结构,并具有 QTouch 库支持。 所有微控制器类型具有不同 Kb 的系统内可编程内存、EEPROM 和 SRAM 以及不同引脚和封装类型。 **megaAVR 8 位微控制器类型** •ATmega32 •ATmega64 •ATmega128 •ATmega324 •ATmega325 •ATmega406 •ATmega640 •ATmega644 •ATmega645 •ATmega1280 •ATmega1281 •ATmega1284 •ATmega2560 •ATmega2561 •ATmega3250 •ATmega6450
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件