English
Language : 

DS80C320-MCG Datasheet, PDF (122/175 Pages) Dallas Semiconductor – High-Speed Microcontroller User Guide
TMOD REGISTER SUMMARY
High-Speed Microcontroller User’s Guide
TIMER MODE CONTROL TMOD; 89h
TMOD.7
GATE - Timer 1 GATE control. When GATE=1, Timer 1 will
clock only when INT1 and TR1 =1. When GATE=0, Timer 1 will
clock only when TR1=1 irrespective of INT1 .
TMOD.6
TMOD.5
TMOD.4
TMOD.3
C/ T - Counter/Timer select. When C/ T is set to a 0, Timer 1 is
incremented by internal clocks. When C/ T is set to a 1, Timer 1
counts based on the T1 (P3.5) pin.
M1 - Timer 1 Mode select bit 1.
M0 - Timer 1 Mode select bit 0.
M1
M0 Mode
0
0
Mode 0 : 8-bits with 5-bit prescale
0
1
Mode 1 : 16-bits
1
0
Mode 2 : 8-bits with auto-reload
1
1
Mode 3 : Timer 1 stopped
GATE - Timer 0 GATE control. When GATE=1, Timer 0 will
clock only when INT0 and TR0 =1. When GATE=0, Timer 0 will
clock only when TR0=1 irrespective of INT0 .
TMOD.2
C/ T - Counter/Timer select. When C/ T is set to a 0, Timer 0 is
incremented by internal clocks. When C/ T is set to a 1, Timer 0
counts based on the T0 (P3.4) pin.
TMOD.1
M1 - Timer 0 Mode select bit 1.
TMOD.0
M0 - Timer 0 Mode select bit 0.
M1 M0 Mode
0 0 Mode 0 : 8-bits with 5-bit prescale
0 1 Mode 1 : 16-bits
1 0 Mode 2 : 8-bits with auto-reload
1 1 Mode 3 : Timer 0 is two 8-bit timers
TCON REGISTER SUMMARY
TIMER/COUNTER
CONTROL
TCON.7
TCON; 88h
TF1 - Timer 1 overflow flag. Set to one when Timer 1 overflows
from FFh, and cleared when the processor vectors to the interrupt
service routine.
122 of 175