MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
TIMER 1 OVERFLOW INTERRUPT FLAG IS
A
T0IF
B
T0IE
C
TMR1IE
D
TMR1IF
Explanation: 

Detailed explanation-1: -The Timer1 module is a 16-bit timer/counter consisting of two 8-bit registers (TMR1H and TMR1L) which are readable and writable. The TMR1 Register pair (TMR1H:TMR1L) increments from 0000h to FFFFh and rolls over to 0000h.

Detailed explanation-2: -With global interrupt I-bit set and Timer/Counter 1’s Overflow Interrupt Enable TOIE1-bit set, when the Overflow TOV1-bit is set an interrupt will be generated and the Program Counter (PC) will be vectored to Flash Program Memory address 0x0028 (see IVT Table on previous page).

Detailed explanation-3: -An automatic interrupt can be enabled to redirect operation to the Interrupt Service Routine (ISR) as soon as Timer1 overflows. To enable the automatic interrupt on rollover, you must set these bits: TMR1ON bit of the T1CON register. TMR1IE bit of the PIE1 register.

There is 1 question to complete.