Mitsubishi DS907x SIP User Manual page 34

Mitsubishi microcontroller user's guide
Table of Contents

Advertisement

USER'S GUIDE
TCON.0:
"Interrupt 0 Type Select":
Initialization:
TIMER MODE REGISTER
Label: TMOD
D7
D6
GATE
C/T
Bit Description:
TMOD.7 (Timer 1);
TMOD.3 (Timer 0):
"Gate Control":
Initialization:
TMOD.6 (Timer 1);
TMOD.2 (Timer 0)
"Counter/Timer Select":
Initialization:
TMOD.5, TMOD.4 (Timer 1);
TMOD.1, TMOD.0 (Timer 0): M1,M0
"Mode Select":
Initialization:
050396 33/173
IT0
When set to 1, 1–to–0 transitions on INT0 will be used to generate interrupt
requests from this pin. When cleared to 0, INT0 is level–activated.
Cleared to a 0 on any type of reset.
D5
D4
M1
M0
GATE
When set to 1 with TRn=1, timer/counter's input count pulses will only be
delivered while a 1 is present on the INT pin. When cleared to 0, count
pulses will always be received by the timer/counter a long as TRn=1.
Cleared to 0 on any reset.
C/T
When set to 1, the counter function is selected for the associated timer;
when cleared to 0, the timer function is selected.
Cleared to 0 on any reset.
These bits select the operating mode of the associated timer/counter as fol-
lows:
M1
M0
0
0
Mode 0: 8 bits with 5–bit prescale
0
1
Mode 1: 16 bits with no prescale
1
0
Mode 2: 8 bits with auto–reload
1
1
Mode 3: Timer 0 – Two 8–bit timers
Timer 1 – Stopped
Cleared to 0 on any reset.
Register Address: 089H
D3
D2
GATE
C/T
34
D1
D0
M1
M0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds5000tkDs5000fpDs5001fpDs5002fp

Table of Contents