can someone plz tell me what form the output of a timer in 89c51 has? is it in machine cycles or in Hex values? if its in hex values, how can i use em to calculate the time in decimals or machine cycles????
Time for some basic reading: Chapter 1 - 80C51 Family Architecture: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf Discussion of the Timers starts on p6 of Chapter 3. and see these tutorials: http://www.8052.com/tuttimer.phtml http://www.8052.com/tut8052.phtml Also check the downloads page for examples