MB95630H Series
372
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 20 16-BIT RELOAD TIMER
20.7 Registers
20.7.2
16-bit Reload Timer Control Status Register
(Lower) (TMCSRLn)
The 16-bit reload timer control status register (lower) (TMCSRLn) sets the
operating conditions of the 16-bit reload timer, enables or disables counting,
controls interrupts, and checks the interrupt request status.
■
Register Configuration
■
Register Functions
[bit7] Undefined bit
The read value is always "0". Writing a value to this bit has no effect on operation.
[bit6] OUTE: Timer output enable bit
This bit sets the TOn pin function of the 16-bit reload timer.
[bit5] OUTL: Pin output level select bit
This bit selects the output level of the output pin of the 16-bit reload timer.
[bit4] RELD: Reload select bit
This bit selects the reload operation to be executed when an underflow occurs.
When "0" is written to this bit, the 16-bit reload timer enters one-shot mode. In one-shot mode, when an
underflow occurs, the 16-bit reload timer stops counting.
When "1" is written to this bit, the 16-bit reload counter enters reload mode. In reload mode, when an
underflow occurs, the value set to the 16-bit reload timer reload register (TMRLRHn/TMRLRLn) is loaded
to the 16-bit reload timer timer register (TMRHn/TMRLn), and the 16-bit reload timer continues counting.
bit
7
6
5
4
3
2
1
0
Field
—
OUTE
OUTL
RELD
INTE
UF
CNTE
TRG
Attribute
—
R/W
R/W
R/W
R/W
R/W
R/W
W
Initial value
0
0
0
0
0
0
0
0
bit6
Details
Writing "0"
The TOn pin functions as a general-purpose I/O port.
Writing "1"
The TOn pin functions as the 16-bit reload timer output pin.
bit5
Details
One-shot mode (TMCSRLn:RELD = 0)
Reload mode (TMCSRLn:RELD = 1)
Writing "0"
The output pin outputs "H" level square
waveform while the 16-bit reload timer is
counting.
The output pin outputs "L" when the 16-bit
reload timer is started, and then toggles
whenever an underflow occurs.
Writing "1"
The output pin outputs "L" level square
waveform while the 16-bit reload timer is
counting.
The output pin outputs "H" when the 16-bit
reload timer is started, and then toggles
whenever an underflow occurs.
bit4
Details
Writing "0"
One-shot mode
Writing "1"
Reload mode