欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16U2-MUR 参数 Datasheet PDF下载

ATMEGA16U2-MUR图片预览
型号: ATMEGA16U2-MUR
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8/16 / 32K Butes [8-bit Microcontroller with 8/16/32K Butes of ISP Flash]
分类和应用: 微控制器异步传输模式PCATM
文件页数/大小: 310 页 / 4432 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第125页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第126页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第127页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第128页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第130页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第131页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第132页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第133页  
ATmega8U2/16U2/32U2  
Figure 16-13. Timer/Counter Timing Diagram, with Prescaler (fclk_I/O/8)  
clk  
I/O  
clk  
Tn  
(clk /8)  
I/O  
TCNTn  
TOP - 1  
TOP - 1  
TOP  
TOP  
BOTTOM  
TOP - 1  
BOTTOM + 1  
TOP - 2  
(CTC and FPWM)  
TCNTn  
(PC and PFC PWM)  
TOVn(FPWM)  
and ICFn(if used  
as TOP)  
OCRnx  
(Update at TOP)  
Old OCRnx Value  
New OCRnx Value  
16.11 Register Description  
16.11.1 TCCR1A – Timer/Counter1 Control Register A  
Bit  
7
COM1A1  
R/W  
6
COM1A0  
R/W  
5
COM1B1  
R/W  
4
COM1B0  
R/W  
3
COM1C1  
R/W  
2
COM1C0  
R/W  
1
WGM11  
R/W  
0
0
WGM10  
R/W  
0
(0x80)  
TCCR1A  
Read/Write  
Initial Value  
0
0
0
0
0
0
Bit 7:6 – COMnA1:0: Compare Output Mode for Channel A  
Bit 5:4 – COMnB1:0: Compare Output Mode for Channel B  
Bit 3:2 – COMnC1:0: Compare Output Mode for Channel C  
The COMnA[1:0], COMnB[1:0], and COMnC[1:0] control the output compare pins (OCnA,  
OCnB, and OCnC respectively) behavior. If one or both of the COMnA[1:0] bits are written to  
one, the OCnA output overrides the normal port functionality of the I/O pin it is connected to. If  
one or both of the COMnB[1:0] bits are written to one, the OCnB output overrides the normal  
port functionality of the I/O pin it is connected to. If one or both of the COMnC[1:0] bits are writ-  
ten to one, the OCnC output overrides the normal port functionality of the I/O pin it is connected  
to. However, note that the Data Direction Register (DDR) bit corresponding to the OCnA, OCnB  
or OCnC pin must be set in order to enable the output driver.  
When the OCnA, OCnB or OCnC is connected to the pin, the function of the COMnx[1:0] bits is  
dependent of the WGMn[3:0] bits setting. Table 16-1 shows the COMnx[1:0] bit functionality  
when the WGMn[3:0] bits are set to a normal or a CTC mode (non-PWM).  
129  
7799D–AVR–11/10  
 复制成功!