![Atmel AT90S8414 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/atmel/at90s8414/at90s8414_manual_3003427029.webp)
AT90S8414
Preliminary
4-29
THE TIMER/COUNTER INTERRUPT MASK REGISTER - TIMSK
Bit
7
6
5
4
3
2
1
0
$39
TOIE1
OCIE1A
OCIE1B
-
TICIE1
-
TOIE0
OCIE0
TIMSK
Read/Write
R/W
R/W
R/W
R
R/W
R
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
Bit 7 - TOIE1 : Timer/Counter1 Overflow Interrupt Enable:
When the TOIE1 bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter1 Overflow interrupt is
enabled. The corresponding interrupt (at vector $006) is executed if an overflow in Timer/Counter1 occurs. The
Overflow Flag (Timer/Counter1) is set (one) in the Timer/Counter Interrupt Flag Register - TIFR. When Timer/Counter1
is in PWM mode, the Timer Overflow flag is set when the counter changes counting direction at $0000.
Bit 6 - OCE1A :Timer/Counter1 Output CompareA Match Interrupt Enable:
When the OCIE1A bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter1 CompareA Match
interrupt is enabled. The corresponding interrupt (at vector $004) is executed if a CompareA match in Timer/Counter1
occurs. The CompareA Flag in Timer/Counter1 is set (one) in the Timer/Counter Interrupt Flag Register - TIFR.
Bit 5 - OCIE1B :Timer/Counter1 Output CompareB Match Interrupt Enable:
When the OCIE1B bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter1 CompareB Match
interrupt is enabled. The corresponding interrupt (at vector $005) is executed if a CompareB match in Timer/Counter1
occurs. The CompareB Flag in Timer/Counter1 is set (one) in the Timer/Counter Interrupt Flag Register - TIFR.
Bit 4 - Res : Reserved bit:
This bit is a reserved bit in the AT90S8414 and always reads zero.
Bit 3 - TICIE1 : Timer/Counter1 Input Capture Interrupt Enable:
When the TICIE1 bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter1 Input Capture Event
Interrupt is enabled. The corresponding interrupt (at vector $003) is executed if a capture-triggering event occurs on pin
31, ICP. The Input Capture Flag in Timer/Counter1 is set (one) in the Timer/Counter Interrupt Flag Register - TIFR.
Bit 2 - Res : Reserved bit:
This bit is a reserved bit in the AT90S8414 and always reads zero.
Bit 1 - TOIE0 : Timer/Counter0 Overflow Interrupt Enable:
When the TOIE0 bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter0 Overflow interrupt is
enabled. The corresponding interrupt (at vector $008) is executed if an overflow in Timer/Counter0 occurs. The
Overflow Flag (Timer0) is set (one) in the Timer/Counter Interrupt Flag Register - TIFR.
Bit 0 - OCIE0 :Timer/Counter0 Output Compare Match Interrupt Enable:
When the OCIE0 bit is set (one) and the I-bit in the Status Register is set (one), the Timer/Counter0 Compare Match
interrupt is enabled. The corresponding interrupt (at vector $007) is executed if a compare match in Timer/Counter0
occurs. The Compare Flag (Timer0) is set (one) in the Timer/Counter Interrupt Flag Register - TIFR.
THE TIMER/COUNTER INTERRUPT FLAG REGISTER - TIFR
Bit
7
6
5
4
3
2
1
0
$38
TOV1
OCF1A
OCIFB
-
ICF1
-
TOV0
OCF0
TIFR
Read/Write
R/W
R/W
R/W
R
R/W
R
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
Содержание AT90S8414
Страница 4: ...4 4 AT90S8414 Preliminary...
Страница 6: ...4 6 AT90S8414 Preliminary Block Diagram Figure 1 The AT90S8414 Block Diagram...
Страница 65: ...AT90S8414 Preliminary 4 65 Figure 50 PORTB Schematic Diagram Pin PB5 Figure 51 PORTB Schematic Diagram Pin PB6...
Страница 68: ...4 68 AT90S8414 Preliminary Figure 53 PORTC Schematic Diagram Pins PC0 PC7...
Страница 87: ...AT90S8414 Preliminary 4 87...