Professional Documents
Culture Documents
Timer /counter Mode Control Register (TMOD) (SFR-89H) : B7 B6 B5 B4 B3 B2 B1 B0
Timer /counter Mode Control Register (TMOD) (SFR-89H) : B7 B6 B5 B4 B3 B2 B1 B0
Timer /counter Mode Control Register (TMOD) (SFR-89H) : B7 B6 B5 B4 B3 B2 B1 B0
B7 B6 B5 B4 B3 B2 B1 B0
GATE Gating control If 1, timer enabled only when INT0/INT1 high & run bit TR enabled in
TCON register
If 0, timer runs when TR enabled
- Count updated only in S3P1 of the m/c cycle following the one in which transition
detected ie.
- Minimum 2 m/c cycles to identify 1 to 0
GATE Gating control If 1, timer enabled only when INT0/INT1 high & run bit TR enabled in
TCON register
If 0, timer runs when TR enabled
B7 B6 B5 B4 B3 B2 B1 B0 B4 B3 B2 B1 B0
T0-mode-1
Timer/counter -mode 1
• Timer register-16 bit wide