Control Of Programmable Timer - Epson 0C88832 Technical Manual

Cmos 8-bit single chip microcomputer
Table of Contents

Advertisement

5.10.10 Control of programmable timer

Table 5.10.10.1 shows the programmable timer control bits.
Address Bit
Name
00FF30 D7
D6
D5
D4
MODE16
8/16-bit mode selection
D3
CHSEL
TOUT output channel selection
D2
PTOUT
TOUT output control
D1
CKSEL1
Prescaler 1 source clock selection
D0
CKSEL0
Prescaler 0 source clock selection
00FF31 D7
EVCNT
Timer 0 counter mode selection
D6
FCSEL
Timer 0
function selection
D5
PLPOL
Timer 0
pulse polarity
selection
D4
PSC01
Timer 0 prescaler dividing ratio selection
D3
PSC00
D2
CONT0
Timer 0 continuous/one-shot mode selection
D1
PSET0
Timer 0 preset
D0
PRUN0
Timer 0 Run/Stop control
00FF32
D7
D6
D5
D4
PSC11
Timer 1 prescaler dividing ratio selection
D3
PSC10
D2
CONT1
Timer 1 continuous/one-shot mode selection
D1
PSET1
Timer 1 preset
D0
PRUN1
Timer 1 Run/Stop control
00FF33
D7
RLD07
Timer 0 reload data D7 (MSB)
D6
RLD06
Timer 0 reload data D6
D5
RLD05
Timer 0 reload data D5
D4
RLD04
Timer 0 reload data D4
D3
RLD03
Timer 0 reload data D3
D2
RLD02
Timer 0 reload data D2
D1
RLD01
Timer 0 reload data D1
D0
RLD00
Timer 0 reload data D0 (LSB)
E0C88832/88862 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer)
Table 5.10.10.1(a) Programmable timer control bits
Function
In timer mode
In event counter mode
Down count timing
in event counter mode
In pulse width
measurement mode
PSC01
PSC00
Prescaler dividing ratio
1
1
Source clock / 64
1
0
Source clock / 16
0
1
Source clock / 4
0
0
Source clock / 1
PSC11
PSC10
Prescaler dividing ratio
1
1
Source clock / 64
1
0
Source clock / 16
0
1
Source clock / 4
0
0
Source clock / 1
1
16-bit x 1
8-bit x 2
Timer 1
Timer 0
On
f
OSC3
f
OSC3
Event counter
Timer
Pulse width
Normal
measurement
With
Without
noise rejector
noise rejector
Rising edge
Falling edge
of K10 input
of K10 input
High level
Low level
measurement
measurement
for K10 input
for K10 input
Continuous
One-shot
Preset
No operation
Run
Continuous
One-shot
Preset
No operation
Run
High
EPSON
0
SR R/W
Comment
Constantry "0" when
being read
0
R/W
0
R/W
0
R/W
Off
0
R/W
f
OSC1
0
R/W
f
OSC1
0
R/W
0
R/W
mode
0
R/W
0
R/W
0
R/W
0
R/W
W
"0" when being read
0
R/W
Stop
Constantry "0" when
being read
0
R/W
0
R/W
0
R/W
W
"0" when being read
0
R/W
Stop
1
R/W
1
R/W
1
R/W
1
R/W
Low
1
R/W
1
R/W
1
R/W
1
R/W
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

88862

Table of Contents