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

MEGA128CAN 参数 Datasheet PDF下载

MEGA128CAN图片预览
型号: MEGA128CAN
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器,带有ISP功能的Flash和CAN控制器128K字节 [Microcontroller WITH 128K BYTES OF ISP FLASH AND CAN CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 413 页 / 5507 K
品牌: ATMEL [ ATMEL ]
 浏览型号MEGA128CAN的Datasheet PDF文件第147页浏览型号MEGA128CAN的Datasheet PDF文件第148页浏览型号MEGA128CAN的Datasheet PDF文件第149页浏览型号MEGA128CAN的Datasheet PDF文件第150页浏览型号MEGA128CAN的Datasheet PDF文件第152页浏览型号MEGA128CAN的Datasheet PDF文件第153页浏览型号MEGA128CAN的Datasheet PDF文件第154页浏览型号MEGA128CAN的Datasheet PDF文件第155页  
AT90CAN128  
Figure 72 shows the setting of OCF2A and the clearing of TCNT2 in CTC mode.  
Figure 72. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with  
Prescaler (fclk_I/O/8)  
clkI/O  
clkTn  
(clkI/O/8)  
TCNTn  
(CTC)  
TOP - 1  
TOP  
BOTTOM  
BOTTOM + 1  
OCRnx  
TOP  
OCFnx  
8-bit Timer/Counter  
Register Description  
Timer/Counter2 Control  
Register A– TCCR2A  
Bit  
7
FOC2A  
W
6
5
4
3
WGM21  
R/W  
0
2
1
CS21  
R/W  
0
0
WGM20 COM2A1 COM2A0  
CS22  
CS20  
TCCR2A  
Read/Write  
Initial Value  
R/W  
0
R/W  
0
R/W  
0
R/W  
0
R/W  
0
0
• Bit 7 – FOC2A: Force Output Compare A  
The FOC2A bit is only active when the WGM bits specify a non-PWM mode. However,  
for ensuring compatibility with future devices, this bit must be set to zero when TCCR2A  
is written when operating in PWM mode. When writing a logical one to the FOC2A bit,  
an immediate compare match is forced on the Waveform Generation unit. The OC2A  
output is changed according to its COM2A1:0 bits setting. Note that the FOC2A bit is  
implemented as a strobe. Therefore it is the value present in the COM2A1:0 bits that  
determines the effect of the forced compare.  
A FOC2A strobe will not generate any interrupt, nor will it clear the timer in CTC mode  
using OCR2A as TOP.  
The FOC2A bit is always read as zero.  
151  
4250E–CAN–12/04  
 复制成功!