In the following assume a PIC24FJ64GA002 microcontroller operating with Fosc at
ID: 3592263 • Letter: I
Question
In the following assume a PIC24FJ64GA002 microcontroller operating with Fosc at 32 MHz and a 16 MHz instruction cycle clock, FCy.Note that the default value of PR1 is Oxffff. (a) Suppose Timer 1 is configured with TiCON = 0x80 10. What is the interval between TIIF events (assuming TIIF is cleared after each one.) b) With Timer 1 configured as in (a), suppose now that upon each TIIF event, in addition to is the interval between TIIF clearing T1IF, we immediately write 0x63c0 into TMR1. What events? (c) Suppose we configure TICON with 0x8002. What is the significance of TMR1 at any time we might read it? d) Suppose we want to measure an hour with Timer 1 configured as in (a). We will use an additional variable, count, to count timer rollover events. Show the line of C code which declares count.Explanation / Answer
a) IT IS 11 as intercoastal way.
b) it will be taken as default value
c) same as given in above question that it will be taken as the default value
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.