參數(shù)資料
型號: MQ80C154-L16/883R
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 16 MHz, MICROCONTROLLER, CQFP44
文件頁數(shù): 36/49頁
文件大?。?/td> 61013K
代理商: MQ80C154-L16/883R
130
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
Figure 18-4. Compare Match Output Unit, schematic.
The general I/O port function is overridden by the Output Compare (OC2A) from the Waveform Generator if either
of the COM2A[1:0] bits are set. However, the OC2A 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 OC2A pin (DDR_OC2A) must be
set as output before the OC2A value is visible on the pin. The port override function is independent of the Wave-
form Generation mode.
The design of the Output Compare pin logic allows initialization of the OC2A state before the output is enabled.
Note that some COM2A[1:0] bits settings are reserved for certain modes of operation. See ”Register description”
18.6.1
Compare Output Mode and Waveform Generation
The Waveform Generator uses the COM2A[1:0] bits differently in normal, CTC, and PWM modes. For all modes,
setting the COM2A[1:0] = 0 tells the Waveform Generator that no action on the OC2A Register is to be performed
on the next compare match. For compare output actions in the non-PWM modes refer to Table 18-3 on page 138.
For fast PWM mode, refer to Table 18-4 on page 139, and for phase correct PWM refer to Table 18-5 on page 139.
A change of the COM2A[1: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 FOC2A strobe bits.
18.7
Modes of Operation
The mode of operation, i.e., the behavior of the Timer/Counter and the Output Compare pins, is defined by the
combination of the Waveform Generation mode (WGM2[1:0]) and Compare Output mode (COM2A[1:0]) bits. The
Compare Output mode bits do not affect the counting sequence, while the Waveform Generation mode bits do.
The COM2A[1:0] bits control whether the PWM output generated should be inverted or not (inverted or non-
inverted PWM). For non-PWM modes the COM2A[1:0] bits control whether the output should be set, cleared, or
For detailed timing information refer to ”Timer/Counter Timing Diagrams” on page 134.
PORT
DDR
DQ
OCnx
Pin
OCnx
DQ
Waveform
Generator
COMnx1
COMnx0
0
1
D
ATA
B
U
S
FOCnx
clk
I/O
相關(guān)PDF資料
PDF描述
MD83C154XXX-30/883D 8-BIT, MROM, 30 MHz, MICROCONTROLLER, CDIP40
MQ80C154-16P883 8-BIT, 16 MHz, MICROCONTROLLER, CQFP44
MQ83C154XXX-L16/883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
MQ83C154CXXX-25/883R 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQFP44
MR80C154-L16/883R 8-BIT, 16 MHz, MICROCONTROLLER, CQCC44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MQ80C186-10/BYA 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/BYA 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/BYC 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/R 制造商:Rochester Electronics LLC 功能描述:- Bulk
MQ80C196KB-12 制造商:Rochester Electronics LLC 功能描述:- Bulk