Help in 8051 timer

Thread Starter

OSOO

Joined Feb 19, 2014
34
I want to ask you a question about using Timer as a counter for external events ..



Does the timer counts the high to low pulses ? ,or it must be a low to high pulses ?



I am currently using 89C51
 

JohnInTX

Joined Jun 26, 2012
4,787
According to Table 38: TMOD Register in the datasheet, when either timer/counter is configured for external counting, it counts negative-going i.e high->low transitions.
 
Top