Question: Section 2. Multiple Choice: Select and clearly mark the options that are correct for each problem. There can be more than one option selected for
Section 2. Multiple Choice: Select and clearly mark the options that are correct for each problem. There can be more than one option selected for each problem. (24 POINTS)
1. Which of the following statements is correct for the RTI instruction?
a. disables global maskable interrupts
b. restores address of the interrupted program to the program counter
c. restores device control registers to original values
d. implicitly restores global interrupts
2. Which statement(s) is true for Maskable Interrupts
a. Maskable Interrupts are enabled using the X bit of the CCR
b. Maskable Interrupts cannot be disabled once they are enabled
c. Maskable Interrupts should not be enabled in an interrupt subroutine
d. Maskable Interrupts are used to handle routine system events
3. Which registers are used to enable interrupts on the timer channels?
a. CCR register
b. TSCR1 registers
c. TSCR2 register
d. TIE register
4. Which registers are used to set up inputs on Port J?
a PERJ
b. RDRJ
c. PPSJ
d. DDRJ
5. Which bit(s) must be set to trigger an IRQ on TCNT rollover
a. TOF bit of TFLG2 register
b. TOI bit of TSCR2 register
c. C0F bit in TFLG1 register
d. C7I bit of TIE register
6. Which registers are used to set up outputs on Port P?
a PERP
b. RDRP
c. PPSP
d. DDRP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
