Interrupt for PIC18F

Interrupt for PIC18F

1st - 5th Grade

8 Qs

quiz-placeholder

Similar activities

OS : บทที่ 4 การประสานเวลาโปรเซส

OS : บทที่ 4 การประสานเวลาโปรเซส

1st - 10th Grade

10 Qs

单片机的综合应用

单片机的综合应用

1st - 2nd Grade

8 Qs

1234567890qwertyuiopasdfghjklzcvbnm

1234567890qwertyuiopasdfghjklzcvbnm

KG - Professional Development

7 Qs

Mrs O's Computer Architecture Quiz

Mrs O's Computer Architecture Quiz

KG - University

13 Qs

BK 5 Sınıf kodlama ve robotik

BK 5 Sınıf kodlama ve robotik

5th Grade

10 Qs

The CPU

The CPU

KG - University

11 Qs

TYPES OF WEATHER

TYPES OF WEATHER

1st - 3rd Grade

5 Qs

Behaviors and Functions

Behaviors and Functions

4th Grade

13 Qs

Interrupt for PIC18F

Interrupt for PIC18F

Assessment

Quiz

Computers

1st - 5th Grade

Hard

Created by

Azura Farah

Used 29+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method will avoid the microcontroller from tying down?

Polling method

Interrupt method

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Give the name of interrupt in INTCON register.

TMR0

TMR1

INT0

INT1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following instruction will enable the TMR0 interrupt?

INTCONbits.TMR0IF=1;

INTCONbits.TMR0IF=0;

INTCONbits.TMR0IE=1;

INTCONbits.TMR0IE=0;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What memory address in the interrupt vector table is assigned to high-priority interrupts?

0x0008

0x0018

0x0080

0x0081

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following instruction is used to disable all the interrupt.

INTCONbits.GIE=0;

INTCONbits.GIE=1;

INTCONbits.GIEL=1;

INTCONbits.GIEL=0;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The INT1IF bit belongs to the ___________________ register.

INTCON

INTCON2

INTCON3

PIR1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of this C instruction?


#pragma code My_HiPrio_Int=0x0008

void My_HiPrio_Int(void)

{

_asm

GOTO chk_isr

_endasm

}


#pragma code

Transfer control to the ISR (Interrupt Sub-routine)

Transfer control to main program

Find source of interrupt

All of the above

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it true that "pragma", "code" and "intterupt" are reserved keyword?

True

False