8/16-Bit Ppg Timer N1 Control Register (Pcn1) - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

MB95630H Series
18.7.1

8/16-bit PPG timer n1 Control Register (PCn1)

The 8/16-bit PPG timer n1 control register (PCn1) sets the operating conditions
for PPG timer n1.
■ Register Configuration
bit
7
Field
Attribute
Initial value
0
■ Register Functions
[bit7:6] Undefined bits
Their read values are always "0". Writing values to these bits has no effect on operation,
[bit5] PIE1: Interrupt request enable bit
This bit controls interrupts of PPG timer n1.
The bit outputs an interrupt request (IRQ) when the counter borrow detection bit (PUF1) and the PIE1 bit are
both set to "1".
bit5
Writing "0"
Writing "1"
[bit4] PUF1: 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 n1.
This bit is set to "1" when a counter borrow occurs in 8-bit PPG independent mode or 8-bit prescaler + 8-bit
PPG mode.
In 16-bit PPG mode, this bit is not set to "1" even when a counter borrow occurs.
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"
[bit3] POEN1: Output enable bit
This bit enables or disables the PPG timer n1 pin output.
Setting this bit to "1" in 16-bit PPG mode sets the PPG timer n1 pin as an output pin. (The setting value of
REV01 is output. "L" output is supplied when REV01 is "0".)
bit3
Writing "0"
Writing "1"
MN702-00009-1v0-E
6
5
PIE1
R/W
0
0
Disables the PPG timer n1interrupt.
Enables the PPG timer n1interrupt.
Indicates that no counter borrow of PPG timer n1 has been detected.
Indicates that a counter borrow of PPG timer n1 has been detected.
Clears this bit.
Has no effect on operation.
The PPG timer n1 pin functions as a general-purpose I/O port.
The PPG timer n1 pin functions as a PPG output pin.
FUJITSU SEMICONDUCTOR LIMITED
4
3
PUF1
POEN1
R/W
R/W
0
0
Details
Details
Details
CHAPTER 18 8/16-BIT PPG
18.7 Registers
2
1
CKS12
CKS11
R/W
R/W
0
0
0
CKS10
R/W
0
321

Advertisement

Table of Contents
loading

Table of Contents