8/16-Bit Ppg Timer N0 Control Register (Pcn0) - Fujitsu 8FX Hardware Manual

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

MB95630H Series
18.7.2

8/16-bit PPG timer n0 Control Register (PCn0)

The 8/16-bit PPG timer n0 control register (PCn0) sets the operating conditions
and the operation mode for PPG timer n0.
■ Register Configuration
bit
7
Field
MD1
Attribute
R/W
Initial value
0
■ Register Functions
[bit7:6] MD[1:0]: Operating mode bits
These bits select the PPG operation mode.
Do not modify the settings of these bits during counting.
bit7:6
Writing "00"
Writing "01"
Writing "10"
Writing "11"
[bit5] PIE0: Interrupt request enable bit
This bit controls interrupts of PPG timer n0.
In 16-bit PPG mode, use this bit to control the interrupt request of the 8/16-bit PPG.
The bit outputs an interrupt request (IRQ) when the counter borrow detection bit (PUF0) and the PIE0 bit are
both set to "1".
bit5
Writing "0"
Writing "1"
[bit4] PUF0: Counter borrow detection flag bit for PPG cycle downcounter
This bit serves as the counter borrow detection flag for the PPG cycle downcounter of the PPG timer n0.
In 16-bit PPG mode, only this bit is effective and the PUF1 bit in the PCn1 register has no effect on
operation.
Note: In 8-bit PPG independent mode or 8-bit prescaler + 8-bit PPG mode, counter borrow detection is
always enabled.
Writing "1" to this bit has no effect on operation. Writing "0" to this bit clears it.
When read by the read-modify-write (RMW) type of instruction, this bit always returns "1".
bit4
Reading "0"
Reading "1"
Writing "0"
Writing "1"
MN702-00009-2v0-E
6
5
MD0
PIE0
R/W
R/W
0
0
8-bit PPG independent mode
8-bit prescaler + 8-bit PPG mode
16-bit PPG mode
Disables the PPG timer n0 interrupt.
Enables the PPG timer n0 interrupt.
Indicates that no counter borrow of PPG timer n0 has been detected.
Indicates that a counter borrow of PPG timer n0 has been detected.
Clears this bit.
Has no effect on operation.
FUJITSU SEMICONDUCTOR LIMITED
4
3
PUF0
POEN0
R/W
R/W
0
0
Details
Details
Details
CHAPTER 18 8/16-BIT PPG
18.7 Registers
2
1
CKS02
CKS01
R/W
R/W
0
0
0
CKS00
R/W
0
323

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents