Siemens EF 88H Series Manual de usuario Pagina 51

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 121
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 50
Semiconductor Group 6-17
On-Chip Peripheral Components
C501
Special Function Register TMOD (Address 89
H
) Reset Value : 00
H
Bit Function
GATE Gating control
When set, timer/counter “x” is enabled only while “INT x” pin is high and “TRx”
control bit is set.
When cleared timer “x” is enabled whenever “TRx” control bit is set.
C/T
Counter or timer select bit
Set for counter operation (input from “Tx” input pin).
Cleared for timer operation (input from internal system clock).
M1
M0
Mode select bits
Gate C/T M1 M089
H
TMOD
Bit No.
76543210
MSB LSB
Gate C/T M1 M0
Timer 1 Control Timer 0 Control
M1 M0 Function
0 0 8-bit timer/counter:
“THx” operates as 8-bit timer/counter
“TLx” serves as 5-bit prescaler
0 1 16-bit timer/counter.
“THx” and “TLx” are cascaded; there is no prescaler
1 0 8-bit auto-reload timer/counter.
“THx” holds a value which is to be reloaded into “TLx” each
time it overflows
1 1 Timer 0 :
TL0 is an 8-bit timer/counter controlled by the standard
timer 0 control bits. TH0 is an 8-bit timer only controlled by
timer 1 control bits.
Timer 1 :
Timer/counter 1 stops
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 120 121

Comentarios a estos manuales

Sin comentarios