参数资料
型号: S80C32-44:RD
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 44 MHz, MICROCONTROLLER, PQCC44
封装: PLASTIC, LCC-44
文件页数: 8/152页
文件大小: 2528K
105
2486AA–AVR–02/2013
ATmega8(L)
Output Compare
Unit
The 8-bit comparator continuously compares TCNT2 with the Output Compare Register
(OCR2). Whenever TCNT2 equals OCR2, the comparator signals a match. A match will set the
Output Compare Flag (OCF2) at the next timer clock cycle. If enabled (OCIE2 = 1), the Output
Compare Flag generates an Output Compare interrupt. The OCF2 Flag is automatically cleared
when the interrupt is executed. Alternatively, the OCF2 Flag can be cleared by software by writ-
ing a logical one to its I/O bit location. The waveform generator uses the match signal to
generate an output according to operating mode set by the WGM21:0 bits and Compare Output
mode (COM21:0) bits. The max and bottom signals are used by the waveform generator for han-
dling the special cases of the extreme values in some modes of operation (see “Modes of
Figure 47 shows a block diagram of the Output Compare unit.
Figure 47. Output Compare Unit, Block Diagram
The OCR2 Register is double buffered when using any of the Pulse Width Modulation (PWM)
modes. For the normal and Clear Timer on Compare (CTC) modes of operation, the double buff-
ering is disabled. The double buffering synchronizes the update of the OCR2 Compare Register
to either top or bottom of the counting sequence. The synchronization prevents the occurrence
of odd-length, non-symmetrical PWM pulses, thereby making the output glitch-free.
The OCR2 Register access may seem complex, but this is not case. When the double buffering
is enabled, the CPU has access to the OCR2 Buffer Register, and if double buffering is disabled
the CPU will access the OCR2 directly.
OCFn (Int. Req.)
= (8-bit Comparator )
OCRn
OCxy
DATA BUS
TCNTn
WGMn1:0
Waveform Generator
TOP
FOCn
COMn1:0
BOTTOM
相关PDF资料
PDF描述
MQ80C52XXX-36/883 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQFP44
S80C32-L16D 8-BIT, 16 MHz, MICROCONTROLLER, PQCC44
MP80C51C-36D 8-BIT, MROM, 36 MHz, MICROCONTROLLER, PDIP40
MR80C52EXXX-16SHXXX:R 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQCC44
MD83C154DCXXX-25P883D 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CDIP40
相关代理商/技术参数
参数描述
S80C32-L16 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
S80C32-L16R 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
S80C376CB8 WAF 制造商:Intel 功能描述:
S80C42 制造商:Intel 功能描述:
S80C51 WAF 制造商:Intel 功能描述: