Rainbow-electronics T89C51CC02 Manual do Utilizador Página 60

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 137
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 59
60 Rev.A - May 17, 2001
Preliminary
T89C51CC02
Enter a 16-bit initial value in timer registers TH2/TL2. It can be the same as the reload value or different
depending on the application.
To start the timer, set TR2 run control bit in T2CON register.
It is possible to use timer 2 as a baud rate generator and a clock generator simultaneously. For this configuration,
the baud rates and clock frequencies are not independent since both functions use the values in the RCAP2H and
RCAP2L registers.
Figure 46. Clock-Out Mode
:2
EXEN2
EXF2
OVER-
FLOW
T2EX
TH2
(8-bit)
TL2
(8-bit)
TIMER 2
RCAP2
(8-bit)
RCAP2
(8-bit)
T2OE
T2
T2CON reg
T2CON reg
T2MOD reg
1
0
C/T2
T2CON reg
INTERRUPT
0
1
CT/2
T2CON.1
TR2
T2CON.2
FT2
CLOCK
Vista de página 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 136 137

Comentários a estes Manuais

Sem comentários