Panasonic MN10285K User Manual page 127

Panax series microcomputer
Table of Contents

Advertisement

Panasonic Semiconductor Development Company
TM4MD/TM5MD: Timer n Mode Register
Bit:
15
14
13
12
TMn
TMn
TMn
EN
NLD
UD1
Reset:
0
0
0
0
R/W:
R/W
R/W
R
R
R/W
TMnEN: TMnBC count
0: Disable
1: Enable
TMnNLD: TMnBC, T flip-flop, and S-R flip-flop operation select
0: Set all to 0 (initialize)
1: Operate all
TMnUD[1:0]: Timer n up/down counter mode select
Ignored when two-phase encoding is selected.
00: Up counter
01: Down counter
10: Up when TMnIOA is high; down when low
11: Up when TMnIOB is high; down when low
TMnTGE: External trigger enable for start count
0: Disable
1: Start count at falling edge of TMnIOB
TMnONE: Counter operating mode select
0: Repeat (except with PWM output)
1: One-shot pulse (counter stops on the next clock after TMnBC = TMnCA)
TMnMD[1:0]: TMnCA and TMnCB operating mode select
00: Compare register (single buffer)
01: Compare register (double buffer)
10: Capture register (TMnIOA high: capture A; TMnIOA low: capture B)
11: Capture register (TMnIOA high: capture A; TMnIOB high: captureB)
TMnECLR: Timer n BC external clear
0: Don't clear
1: Clear TMnBC asynchronously when the TMnIC signal goes high.
TMnLP: Timer n BC loop select
0: 0000–FFFF
1: 0000–value in TMnCA
TMnASEL: TMnIOA output select
0: S-R flip-flop output (single-phase PWM)
1: T flip-flop output (two-phase PWM)
TMnS[2:0]: Timer n clock source select
000: Timer 0 underflow
001: Timer 1 underflow
010: TMnIB signal
011: B
/4
OSC
100: 4x two-phase encoder
101: 1x two-phase encoder
110, 111: Reserved
126
Panasonic
16-Bit Timer Control Registers
11
10
9
8
7
6
TMn
TMn
TMn
TMn
TMn
UD0
TGE
ONE
MD1
MD0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
MN102H75K/F75K/85K/F85K LSI User Manual
Timers
x'00FE80'/x'00FE90'
5
4
3
2
1
TMn
TMn
TMn
TMn
TMn
TMn
ECLR
LP
ASEL
S2
S1
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
0
S0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents