Beruflich Dokumente
Kultur Dokumente
ter to count when INTX goes high. The next pulse edgestops the counter. The coun
ter will contain the width of thepulse to the nearest microsecond for a 12 MHz c
rystal.
Width
A program, named width measures the width of a pulse fed topin 3.3 (INTI). Timer
Tl is enabled to count on the first pulseedge, counts when the pulse is high, a
nd stops on the secondedge. Ports PI (LSB) and P2 (MSB) show, in hex, the width
of the pulse in microseconds.
Notes