Timer 0 & ADC Interrupts in PIC 16C61 / 71 - MCQs with answers

Timer 0 & ADC Interrupts in PIC 16C61 / 71 - MCQs with answers


1. What is the purpose of setting TOIE bit in INTCON along with GIE bit?

a. For setting the TOIF flag in INTCON due to generation of Timer 0 overflow interrupt

b. For setting the TOIE flag in INTCON due to generation of Timer 0 overflow interrupt

c. For setting the RBIF flag in INTCON due to generation of PORTB change interrupt

d. None of the above

View Answer / Hide Answer

ANSWER: a. For setting the TOIF flag in INTCON due to generation of Timer 0 overflow interrupt



2. Where do the conversion interrupt flag (ADIF) end after an accomplishment of analog-to-digital (ADC) conversion process?

a. INTCON
b. ADCON0
c. OPTION
d. None of the above

View Answer / Hide Answer

ANSWER: b. ADCON0



3. How much time is required for conversion per channel if PIC 16C71 possesses four analog channels, each comprising of 8-bits?

a. 10 μs
b. 15 μs
c. 20 μs
d. 30 μs

View Answer / Hide Answer

ANSWER: c. 20 μs


Post your comment