TIMSK register is used for?
A. knowing the status of the timer count
B. used for masking the interrupts flags of the Timer0, Timer1 and Timer2
C. it is used for enabling all the timer interrupts
D. it is used for resetting the value of the interrupts
Answer:A
TIMSK register is used for?
A. knowing the status of the timer count B. used for masking the interrupts flags of the Timer0, Timer1 and Timer2 C. it is used for enabling all the timer interrupts D. it is used for resetting the value of the interrupts
Explanation: TIMSK is used for masking the interrupt flags of the timers. They mask the bits of the timer flags if the D7 bit of the SREG register is set to 1 or when firstly all interrupts are enabled.