Question: the 8051 microcontroller and embedded systems book solve quastion 47 & 49 SECTION 9.2: COUNTER PROGRAMMING 43. To use the timer as an event counter
SECTION 9.2: COUNTER PROGRAMMING 43. To use the timer as an event counter we must set the C/T bit in the TMOD reg- ister to (low, high) 44. Can we use both of the timers as event counters? 45. For counter 0, which pin is used to input clocks? 46. For counter I, which pin is used to input clocks? 47. Program Timer 1 to be an event counter. Use mode 1 and display the binary count on P1 and P2 continuously. Set the initial count to 20,000. 48. Program Timer 0 to be an event counter. Use mode 2 and display the binary count on P2 continuously. Set the initial count to 20. 49) Program Timer 1 to be an event counter. Use mode 2 and display the decimal count on P2, P1, and PO continuously. Set the initial count to 99. 50. The TCON register is a(n) -bit register 51. True or false. The TCON register is not a bit-addressable register. 52. Give another instruction to perform the action of "SETB TRO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
