Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago