A000047 Arduino, A000047 Datasheet - Page 167
A000047
Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Specifications of A000047
Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
- Current page: 167 of 444
- Download datasheet (10Mb)
16.11.37 TIFR1 – Timer/Counter1 Interrupt Flag Register
16.11.38 TIFR3 – Timer/Counter3 Interrupt Flag Register
16.11.39 TIFR4 – Timer/Counter4 Interrupt Flag Register
16.11.40 TIFR5 – Timer/Counter5 Interrupt Flag Register
2549M–AVR–09/10
• Bit 1 – OCIEnA: Timer/Countern, Output Compare A Match Interrupt Enable
When this bit is written to one, and the I-flag in the Status Register is set (interrupts globally
enabled), the Timer/Countern Output Compare A Match interrupt is enabled. The corresponding
Interrupt Vector (see
TIFRn, is set.
• Bit 0 – TOIEn: Timer/Countern, 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/Countern Overflow interrupt is enabled. The corresponding Interrupt Vector
(see
• Bit 5 – ICFn: Timer/Countern, Input Capture Flag
This flag is set when a capture event occurs on the ICPn pin. When the Input Capture Register
(ICRn) is set by the WGMn3:0 to be used as the TOP value, the ICFn Flag is set when the coun-
ter reaches the TOP value.
ICFn is automatically cleared when the Input Capture Interrupt Vector is executed. Alternatively,
ICFn can be cleared by writing a logic one to its bit location.
• Bit 3– OCFnC: Timer/Countern, Output Compare C Match Flag
This flag is set in the timer clock cycle after the counter (TCNTn) value matches the Output
Compare Register C (OCRnC).
Note that a Forced Output Compare (FOCnC) strobe will not set the OCFnC Flag.
OCFnC is automatically cleared when the Output Compare Match C Interrupt Vector is exe-
cuted. Alternatively, OCFnC can be cleared by writing a logic one to its bit location.
Bit
0x16 (0x36)
Read/Write
Initial Value
Bit
0x18 (0x38)
Read/Write
Initial Value
Bit
0x19 (0x39)
Read/Write
Initial Value
Bit
0x1A (0x3A)
Read/Write
Initial Value
“Interrupts” on page
R
R
R
R
7
–
0
7
–
0
7
–
0
7
–
0
“Interrupts” on page
105) is executed when the TOVn Flag, located in TIFRn, is set.
R
R
R
R
6
–
0
6
–
0
6
–
0
6
–
0
ATmega640/1280/1281/2560/2561
ICF1
ICF3
ICF4
ICF5
R/W
R/W
R/W
R/W
5
0
5
0
5
0
5
0
105) is executed when the OCFnA Flag, located in
R
R
R
R
4
–
0
4
–
0
4
–
0
4
–
0
OCF1C
OCF3C
OCF4C
OCF5C
R/W
R/W
R/W
R/W
3
0
3
0
3
0
3
0
OCF1B
OCF3B
OCF4B
OCF5B
R/W
R/W
R/W
R/W
2
0
2
0
2
0
2
0
OCF1A
OCF3A
OCF4A
OCF5A
R/W
R/W
R/W
R/W
1
0
1
0
1
0
1
0
TOV1
TOV3
TOV4
TOV5
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
0
TIFR1
TIFR3
TIFR4
TIFR5
167
Related parts for A000047
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO UNO PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO SHIELD PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Development Boards & Kits - AVR ARDUINO STARTER KIT W/ UNO REV3
Manufacturer:
Arduino
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS PROTO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS WITH SD
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Development Software Getting started w/Arduino
Manufacturer:
Arduino
Part Number:
Description:
Ethernet Modules & Development Tools Ethernet Shield for Arduino
Manufacturer:
Arduino
Part Number:
Description:
MCU, MPU & DSP Development Tools LilyPad Arduino Main Board
Manufacturer:
Arduino
Part Number:
Description:
ARDUINO NANO Board
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Ethernet Modules & Development Tools ETHERNET SHEILD PoE FOR ARDUINO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
ATMEGA328 MCU IC W/ Arduino UNO Bootloader
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Memory Cards MICRO SD CARD 1GB WITH SD ADAPTER
Manufacturer:
Arduino