MB95630H Series
348
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 19 16-BIT PPG TIMER
19.7 Registers
19.7.4
16-bit PPG Status Control Register (Upper)
(PCNTHn)
The 16-bit PPG status control register (upper) enables or disables the 16-bit
PPG timer, and controls the software trigger, operating mode, operating clock
and output mask.
■
Register Configuration
■
Register Functions
[bit7] CNTE: Timber enable bit
This bit enables or stops the 16-bit PPG timer operation.
When "0" is written to this bit, the 16-bit PPG timer operation stops immediately and the PPGn output goes
to the initial level ("L" output if OSEL is "0"; "H" output if OSEL is "1").
When "1" is written to this bit, the 16-bit PPG timer operation is enabled and the 16-bit PPG timer goes to
standby to wait for a trigger.
[bit6] STRG: Software trigger bit
This bit starts the 16-bit PPG timer by software.
With the CNTE bit set to "1", writing "1" to the STRG bit starts the 16-bit PPG timer.
[bit5] MDSE: Mode select bit
This bit selects the operating mode of the 16-bit PPG timer.
Note: While the 16-bit PPG timer is in operation, modifying the setting of this bit is prohibited.
bit
7
6
5
4
3
2
1
0
Field
CNTE
STRG
MDSE
RTRG
CKS2
CKS1
CKS0
PGMS
Attribute
R/W
W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
bit7
Details
Writing "0"
Stops the 16-bit PPG timer operation.
Writing "1"
Enables the 16-bit PPG timer operation.
bit6
Details
Read access
The read value is always "0".
Writing "0"
Has no effect on operation.
Writing "1"
Generates a software trigger.
bit5
Details
Writing "0"
PWM mode
Writing "1"
One-shot mode