Control Status Registers (Pcnh:pcnh3 To Pcnh0, Pcnl:pcnl3 To Pcnl0) - Fujitsu FR60 Hardware Manual

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 7 PPG TIMER
7.3.1
Control Status Registers
(PCNH:PCNH3 to PCNH0, PCNL:PCNL3 to PCNL0)
The control status register (PCNH:PCNH3 to PCNH0, PCNL:PCNL3 to PCNL0) controls
the PPG timer and indicates the status of the timer. Note that some bits cannot be
rewritten while the PPG timer is operating.

■ Control Status Registers (PCNH:PCNH3 to PCNH0, PCNL:PCNL3 to PCNL0)

The bit configuration of the control status registers (PCNH:PCNH3 to PCNH0, PCNL:PCNL3 to
PCNL0) is shown in Figure 7.3-2.
Figure 7.3-2 Bit Configuration of the Control Status Register
PCNH
bit
Address: ch.0 000126
H
ch.1 00012E
H
ch.2 000136
H
ch.3 00013E
H
PCNL
bit
Address: ch.0 000127
H
ch.1 00012F
H
ch.2 000137
H
ch.3 00013F
H
■ Bit Function of Control Status Registers (PCNH, PCNL)
The bit function of the control status registers (PCNH, PCNL) is shown below.
[bit15] CNTE: Timer enable bit
This bit enables operation of the 16-bit down counter.
Table 7.3-1 Timer enable setting
[bit14] STGR: Software trigger bit
When this bit is written to "1", a software trigger is activated. Whenever this bit is read, a
value of "0" is returned.
286
(PCNH:PCNH3 to PCNH0, PCNL:PCNL3 to PCNL0)
15
14
13
12
CNTE STGR MDSE RTRG CKS1
R/W
R/W
R/W
R/W
×
7
6
5
EGS1
EGS0
IREN
IRQF
R/W
R/W
R/W
R/W
×
×
CNTE
0
Stopped (initial value)
1
Enabled
11
10
9
CKS0 PGMS
R/W
R/W
R/W
×
×
×
4
3
2
1
IRS1
IRS0
-
R/W
R/W
-
×
×
-
Function
8
Initial value
00000000
-
B
-
←Rewriting during operation
-
0
000000X0
OSEL
B
R/W
×
←Rewriting during operation

Advertisement

Table of Contents
loading

Table of Contents