Question: Explain how you come up with the answer. 10. (page 391) The PIC microcontroller PIC 16C74 has three timers and a selection of which count

 Explain how you come up with the answer. 10. (page 391)

Explain how you come up with the answer.

10. (page 391) The PIC microcontroller PIC 16C74 has three timers and a selection of which count source is to be used by the timers is made by setting the bits in the OPTION register 5 OPTION address 81H RPBUNTEDG| TOCS | TOSE | PSA | PS2 | PS1 | PSO Prescaler Port B pull-up enable Port B pull-ups are disabled overriding any port latch value Port B pull-ups are enabled by individual port-latch values Prescaler assignment bit 1assigned to WDT 0 assigned to TMR0 0 TMRO source edge 1 # increment on high-to-low 0- increment on low-to-high transition on RA4/TOCKI pin Interrupt edge interrupt on rising edge of RBO/INT pirn 0-interrupt on falling edge of RBOINT pin TMRO source clock transition on RA4/TOCKI pin -internal instruction cycle clock To set the count source as the internal clock, the following bit must be set. A Bit 5 to 0 B Bit 5 to 1 C Bit 6 to 0 D Bit 6 to 1 Questions 11 to 21 concern the use of C. 11. (page 426) A line in a C program that begins with a # indicates that which follows is: A A decimal number B A comment. C A D An integer pre-processor command 12. (page 429) The line in a C program of port C- port CA1; causes the bits of port C to A Has 1s added to all bits. B Bit 0 to change from to 0 or from 0 to1 C Bi, whatever its value, to change to 1 D All the bits to invert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!