Control Status Registers (Pcnh, Pcnl) - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

8.3.1

Control status registers (PCNH, PCNL)

The control status register (PCNH, PCNL) controls the PWM timer and indicates the
status of the timer. Note that some bits cannot be rewritten while the PWM timer is
operating.
I Control status registers (PCNH, PCNL)
The register configuration of the control status registers is shown below.
PCNH
Address: ch0 00009E
H
ch1 0000A6
H
ch2 0000AE
H
ch3 0000B6
H
ch4 0000BE
H
ch5 0000C6
H
PCNL
Address: ch0 00009F
H
ch1 0000A7
H
ch2 0000AF
H
ch3 0000B7
H
ch4 0000BF
H
ch5 0000C7
H
[Bit 15] CNTE: Timer enable bit
This bit enables operation of the 16-bit down timer.
0
1
[Bit 14] TGR: Software trigger bit
When this bit is set to 1, a software trigger is activated. Whenever this bit is read, a value of
0 is returned.
bit
15
14
13
CNTE
STGR
MDSE
R/W
R/W
R/W
0
0
0
bit
7
6
5
EGS1
EGS0
IREN
R/W
R/W
R/W
0
0
0
Stopped (initial value)
Enabled
12
11
10
9
RTRG
CKS1
CKS0
PGMS
R/W
R/W
R/W
R/W
0
0
0
0
4
3
2
1
IRQF
IRS1
IRS0
POEN
R/W
R/W
R/W
R/W
0
0
0
0
CHAPTER 8 PPG TIMER
8
Attribute
Initial value
Rewriting during
operation
0
OSEL
R/W
Attribute
0
Initial value
Rewriting during
operation
205

Advertisement

Table of Contents
loading

Table of Contents