MICROPROCESSOR AND MICROCONTROLLER

INTERRUPT PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
OVERFLOW INTERRUPT IN TIMER 2 IS
A
TMR1IF
B
T0IF
C
TMR2IF
D
TMR2IE
Explanation: 

Detailed explanation-1: -The Timer2 module has one source of input clock, the device clock (FOSC/4). A prescale option of 1:1, 1:4 or 1:16 is software selected by control bits T2CKPS1:T2CKPS0 (T2CON<1:0>).

Detailed explanation-2: -Timer0 and timer2 are 8 bit timers, meaning they can store a maximum counter value of 255. Timer1 is a 16 bit timer, meaning it can store a maximum counter value of 65535.

Detailed explanation-3: -Timer0 can generate two types of interrupts-Overflow Interrupt and Compare Match Interrupt. Timer2 can also generate two types of interrupts-Overflow Interrupt and Compare Match Interrupt. However, Timer2 can also generate a third type of interrupt-Capture Interrupt.

There is 1 question to complete.