16-Bit Reload Timer Control Status Register (Lower) Ch. N (Tmcsrln) - Fujitsu 8FX Hardware Manual

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

CHAPTER 20 16-BIT RELOAD TIMER
20.7 Registers
20.7.2
16-bit Reload Timer Control Status Register
(Lower) ch. n (TMCSRLn)
The 16-bit reload timer control status register (lower) ch. n (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
bit
7
Field
Attribute
Initial value
0
■ 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.
bit6
Writing "0"
Writing "1"
[bit5] OUTL: Pin output level select bit
This bit selects the output level of the output pin of the 16-bit reload timer.
bit5
Writing "0"
Writing "1"
[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 ch. n (TMRLRHn/TMRLRLn) is
loaded to the 16-bit reload timer timer register ch. n (TMRHn/TMRLn), and the 16-bit reload timer continues
counting.
bit4
Writing "0"
Writing "1"
372
6
5
OUTE
OUTL
R/W
R/W
0
0
The TOn pin functions as a general-purpose I/O port.
The TOn pin functions as the 16-bit reload timer output pin.
One-shot mode (TMCSRLn:RELD = 0)
The output pin outputs "H" level square
waveform while the 16-bit reload timer is
counting.
The output pin outputs "L" level square
waveform while the 16-bit reload timer is
counting.
One-shot mode
Reload mode
FUJITSU SEMICONDUCTOR LIMITED
4
3
RELD
INTE
R/W
R/W
0
0
Details
Details
Reload mode (TMCSRLn:RELD = 1)
The output pin outputs "L" when the 16-bit
reload timer is started, and then toggles
whenever an underflow occurs.
The output pin outputs "H" when the 16-bit
reload timer is started, and then toggles
whenever an underflow occurs.
Details
MB95630H Series
2
1
UF
CNTE
R/W
R/W
0
0
MN702-00009-2v0-E
0
TRG
W
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents