Search Header Logo

Interrupt for PIC programming

Authored by arfah hasb

Professional Development

12th Grade

Interrupt for PIC programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the alternative to interrupts in the MCU world?

Hardware

Polling

Software

Interrupts

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which bit in the INTCON register is responsible for enabling and disabling interrupts globally?

D7

A3

B5

C2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to place code at a specific ROM address in C18 compiler?

#ifdef

#define

#include

#pragma code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which interrupt source has three bits to control its operation?

CCP2

ADC

Timer 1

INT0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of interrupts over polling?

Interrupts check all devices in a round-robin fashion

Polling avoids tying down the microcontroller

Polling is faster than interrupts

Interrupts can serve many devices based on priority

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which register is used to enable and disable the Timer0 interrupt and external hardware interrupt 0 (INT0)?

INTEDG

PORTB

INTCON2

INTCON

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the INT0IE bit in the PIC18?

Enable INT0

Enable Timer0

Enable Timer1

Enable Timer2

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?