Question: 2&3&5 only Write the interrupt vector table code which will execute a subroutine called TMRO_ISR if the interrupt was caused by a timet0 overflow interrupt,
Write the interrupt vector table code which will execute a subroutine called TMRO_ISR if the interrupt was caused by a timet0 overflow interrupt, execute a subroutine called TXU_ISR if the interrupt was caused by the USART transmit interrupt, and return from the interrupt if neither of these two interrupts caused the interrupt. What it the address of the first instruction of your interrupt vector table code? Write a complete initialization subroutine which will correctly set and initialize PORT C2 and PORT C1 as an input and PORT C7 as an output, as well as enabling the oscillator fail peripheral interrupt. What is the purpose of the Latch Register? Briefly explain how it works and when it is used. Write the configuration directives to set CONFlG1 and CONP1G2 to the default settings disused in lecture 15, but modify it to enable the software WDT, disable clock-out, enable reset on stack over/under-now, and use the low-power oscillator as the system clock. Use hex for your answer. and sure, to show your work. Briefly explain what the Watchdog Timer is, and give an example of why a programmer might want to use it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
