EasyManua.ls Logo

Intel MCS 51

Intel MCS 51
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
in~.
M~Q.51 PROGRAMMERS GUIDE AND INSTRUCTION SET
TIMER/COUNTER 2 SET-UP
Ex~t for the baud rate mnerstor mode.the valuesaivenfor T2CONdo not include the settine of the TR2 bit.
ller~fore, bit TR2 must ~ set, separately,to turn th~Timer on.
As
a Timer:
Table 7
MODE
T2CON
INTERNAL EXTERNAL
CONTROL CONTROL
(NOTE 1) (NOTE 2)
16-bitAuto-Reload
16-bitCapture
BAUDrate generatorreceive&
transmitsame baudrate
receiveonly
transmitonlv
OOH
OIH
34H
24H
14H
08H
09H
36H
26H
16H
4sa Counter:
Table 8
I
TMOD
I
MODE
INTERNAL
EXTERNAL
CONTROL CONTROL
(NOTE 1) (NOTE 2)
16-bitAuto-Reload
02H OAH
16-bitCapture
03H
OBH
NOTES
1.Capture/ReloadoccursonlyonTimer/Counteroverflow.
2. Capture/Reloadoccurson Timer/Counteroverflowand a 1 to Otransitionon T2EX
(P1.1)pinexceptwhenTimer2 isusedinthebaudrategeneratingmode.
2-18

Table of Contents

Related product manuals