This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 Timer 1 mode 0

Dear sirs and madams

I wish to use timer 1 mode 0 so I need to load a value in TMOD. I am getting confused with the value I need to put in this

So timer 1 uses the high byte bits 4 5 6 7

Bit 4 - M0
Bit 5 -M1
Bit 6 - C/T
Bit 7 GATE

I also found that to put it on mode 1 I must set M0 to 1
so what is confusing me is the value I put into TMOD

Is it going to be 0001 0000 which equals 16H - 0x16 ?

Please help me and confirm if this is correct

0