Datasheet

15.9.3. TC0 Interrupt Mask Register
Name:  TIMSK0
Offset:  0x6E
Reset:  0x00
Property:
 
-
Bit 7 6 5 4 3 2 1 0
OCIEB OCIEA TOIE
Access
R/W R/W R/W
Reset 0 0 0
Bit 2 – OCIEB: Timer/Counter0, Output Compare B Match Interrupt Enable
When the OCIE0B bit is written to one, and the I-bit in the Status Register is set, the Timer/Counter
Compare Match B interrupt is enabled. The corresponding interrupt is executed if a Compare Match in
Timer/Counter occurs, i.e., when the OCF0B bit is set in TIFR0.
Bit 1 – OCIEA: Timer/Counter0, Output Compare A Match Interrupt Enable
When the OCIE0A bit is written to one, and the I-bit in the Status Register is set, the Timer/Counter0
Compare Match A interrupt is enabled. The corresponding interrupt is executed if a Compare Match in
Timer/Counter0 occurs, i.e., when the OCF0A bit is set in TIFR0.
Bit 0 – TOIE: Timer/Counter0, Overflow Interrupt Enable
When the TOIE0 bit is written to one, and the I-bit in the Status Register is set, the Timer/Counter0
Overflow interrupt is enabled. The corresponding interrupt is executed if an overflow in Timer/Counter0
occurs, i.e., when the TOV0 bit is set in TIFR0.
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
144