Ppg Control Status Register (Pcntl0 To Pcntl2, Pcnth0 To Pcnth2) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

13.4.4
PPG Control Status Register (PCNTL0 to PCNTL2,
PCNTH0 to PCNTH2)
PPG control status register is used to set operating conditions for 16-bit PPG timer
enable or disable operation, software trigger, retrigger control interrupt, output polarity
and check the status
■ PPG Control Status Register, Upper Byte (PCNTH0 to PCNTH2)
Figure 13.4-5 PPG0 to PPG2 Control Register (PCNTH0 to PCNTH2)
Address bit
15
ch.0 : 00003F
CNTE
H
ch.1: 000047
H
R/W
ch.2 : 00004F
H
R/W : Read and Write
: Initial value
14
13
12
11
STGR
MDSE
RTRG
CKS2
R/W
R/W
R/W
R/W
10
9
8
Initial value
CKS1
CKS0
PGMS
00000000
R/W
R/W
R/W
PGMS
PPG output mask enable bit
0
PPG output masking disabled
1
PPG output masking enabled
CKS2 CKS1 CKS0
Counter clock selection bits
φ (62.5 ns, φ = 16 MHz)
0
0
0
φ/2 (125 ns, φ = 16 MHz)
0
0
1
φ/4 (250 ns, φ = 16 MHz)
0
1
0
φ/8 (500 ns, φ = 16 MHz)
0
1
1
φ/16 (1 µs, φ = 16 MHz)
1
0
0
φ/32 (2 µs, φ = 16 MHz)
1
0
1
φ/64 (4 µs, φ = 16 MHz)
1
1
0
φ/128 (8 µs, φ = 16 MHz)
1
1
1
φ: Machine clock
RTRG
Retrigger enable bit
0
Retriggering disabled
1
Retriggering enabled
MDSE
Mode selection bit
0
1
Single-shot mode
Software trigger bit
STGR
write
0
No software trigger
1
Trigger the PPG by software
CNTE
Timer enable bit
0
Stop the PPG timer
1
Enable the PPG timer
CHAPTER 13 16-BIT PPG TIMER
B
PWM mode
read
Always read "0"
267

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents