Program Timer 0 in C to be an even counter use mode 2 and display the binary count on P2 continuously.Set the initial count to 20
Answers
Answered by
1
Answer:
some examples of C programming for the 8051. In this section we study C programming for the 8051 timers. As we saw in the examples in Chapter 7, the general-purpose registers of the 8051, such as RO – R7, A, and B, are under the control of the C compiler and are not accessed directly by C statements. In the case of SFRs, the entire RAM space of 80 – FFH is accessible directly using 8051 C statements. As an example of accessing the SFRs directly, we saw how to access ports PO – P3 in Chapter 7. Next, we discuss how to access the 8051 timers directly using C statements.
Explanation:
I hope it is helpful to you
please mark as brainlist
Similar questions