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

AT90PWM3B-16SU 参数 Datasheet PDF下载

AT90PWM3B-16SU图片预览
型号: AT90PWM3B-16SU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有8K字节的系统内可编程闪存 [8-bit Microcontroller with 8K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 361 页 / 6022 K
品牌: ATMEL [ ATMEL ]
 浏览型号AT90PWM3B-16SU的Datasheet PDF文件第124页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第125页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第126页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第127页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第129页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第130页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第131页浏览型号AT90PWM3B-16SU的Datasheet PDF文件第132页  
Interrupt Vector (see “Reset and Interrupt Vectors Placement in AT90PWM2/2B/3/3B(1)” on  
page 57) is executed when the OCF1A Flag, located in TIFR1, is set.  
• Bit 0 – TOIE1: Timer/Counter1, Overflow Interrupt Enable  
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally  
enabled), the Timer/Counter1 Overflow interrupt is enabled. The corresponding Interrupt Vector  
(see “Reset and Interrupt Vectors Placement in AT90PWM2/2B/3/3B(1)” on page 57) is exe-  
cuted when the TOV1 Flag, located in TIFR1, is set.  
15.10.9 Timer/Counter1 Interrupt Flag Register – TIFR1  
Bit  
7
6
5
4
3
2
OCF1B  
R/W  
0
1
OCF1A  
R/W  
0
0
TOV1  
R/W  
0
ICF1  
R/W  
0
TIFR1  
Read/Write  
Initial Value  
R
0
R
0
R
0
R
0
• Bit 7, 6 – Res: Reserved Bits  
These bits are unused bits in the AT90PWM2/2B/3/3B, and will always read as zero.  
• Bit 5 – ICF1: Timer/Counter1, Input Capture Flag  
This flag is set when a capture event occurs on the ICP1 pin. When the Input Capture Register  
(ICR1) is set by the WGMn3:0 to be used as the TOP value, the ICF1 Flag is set when the coun-  
ter reaches the TOP value.  
ICF1 is automatically cleared when the Input Capture Interrupt Vector is executed. Alternatively,  
ICF1 can be cleared by writing a logic one to its bit location.  
• Bit 4, 3 – Res: Reserved Bits  
These bits are unused bits in the AT90PWM2/2B/3/3B, and will always read as zero.  
• Bit 2 – OCF1B: Timer/Counter1, Output Compare B Match Flag  
This flag is set in the timer clock cycle after the counter (TCNT1) value matches the Output  
Compare Register B (OCR1B).  
Note that a Forced Output Compare (FOC1B) strobe will not set the OCF1B Flag.  
OCF1B is automatically cleared when the Output Compare Match B Interrupt Vector is exe-  
cuted. Alternatively, OCF1B can be cleared by writing a logic one to its bit location.  
• Bit 1 – OCF1A: Timer/Counter1, Output Compare A Match Flag  
This flag is set in the timer clock cycle after the counter (TCNT1) value matches the Output  
Compare Register A (OCR1A).  
Note that a Forced Output Compare (FOC1A) strobe will not set the OCF1A Flag.  
OCF1A is automatically cleared when the Output Compare Match A Interrupt Vector is exe-  
cuted. Alternatively, OCF1A can be cleared by writing a logic one to its bit location.  
• Bit 0 – TOV1: Timer/Counter1, Overflow Flag  
The setting of this flag is dependent of the WGMn3:0 bits setting. In Normal and CTC modes,  
the TOV1 Flag is set when the timer overflows. Refer to Table 15-5 on page 124 for the TOV1  
Flag behavior when using another WGMn3:0 bit setting.  
TOV1 is automatically cleared when the Timer/Counter1 Overflow Interrupt Vector is executed.  
Alternatively, TOV1 can be cleared by writing a logic one to its bit location.  
128  
AT90PWM2/3/2B/3B  
4317J–AVR–08/10  
 复制成功!