VxWorks Question:

Download Job Interview Questions and Answers PDF

Write a code to connect Hardware interrupt to ISR and explain?

VxWorks Interview Question
VxWorks Interview Question

Answer:

In Keil
void serial_ISR() interrupt 4 using 0
{
}

& in AVR studio
SIGNAL(Inteerupt_no)
{
}

hardware intterupt normally redirects the uC to predefined
addresses. In case of high end processors the interrupt
table will decide the interrupt vector address and whenever
intterrupt pin goes low, the table is searched for type and
source of interrupt.

Download VxWorks Interview Questions And Answers PDF

Previous QuestionNext Question
Explain task spawn in vxworks?Suppose there is a global variable & a static global
variable.Both gets memory allocated from the data segment.
Then how does the visiblity of static global varible gets limited to the file alone
(in which it gets declared)