Fujitsu F2MCTM-16LX Hardware Manual page 311

16-bit microcontroller
Table of Contents

Advertisement

Table 16.3-3 Functions of PPGD Operation Mode Control Register (PPGCD)
Bit name
bit15
PEN1:
PPG1 operation enable bit
bit14
Undefined bit
bit13
PE1:
PPG1 Pin output enable bit
bit12
PIE1:
Underflow interrupt enable
bit
bit11
PUF1:
Underflow generation flag
bit
bit10
MD1, MD0:
bit9
Operation mode select bits
bit8
Reserved: Reserved bit
This bit enables or disables the count operation of the 8-/16-bit PPG timer D.
When set to "0": Count operation disabled
When set to "1": Count operation enabled
• When the count operation is disabled (PEN1 = 0), and the pulse output is enabled (PE1=1),
the output is held at a Low level.
Read: The value is undefined.
Write: No effect
This bit switches between PPGD pin functions and enables or disables the pulse output.
When set to "0": PPGD pin functions as general-purpose I/O port. The pulse output is disabled.
When set to "1": PPGD pin functions as PPGD output pin. The pulse output is enabled.
This bit enables or disables an interrupt.
When set to "0": No interrupt request is generated even at underflow (PUF1 = 1)
When set to "1": Interrupt request is generated at underflow (PUF1 = 1)
8-bit PPG output 2-channel independent operation mode, 8+8-bit PPG output operation
mode: When the value of the PPGD down counter is decremented from "00
underflow occurs (PUF1 = 1).
16-bit PPG output operation mode:When the values of the PPGC and PPGD down
• When an underflow occurs (PUF1 = 1) with an underflow interrupt request enabled (PIE1
= 1), an interrupt request is generated.
When set to "0": Clears counter
When set to "1": No effect
Read by read modify write instructions: 1 is read.
These bits set the operation mode of the 8-/16-bit PPG timer.
[Any mode other than 8-bit PPG output 2-channel independent operation mode]
• Use a word instruction to set the PPG operation enable bits (PEN0 and PEN1) at one time.
• Do not set operation of only one of the two channels (PEN1 = 0/PEN0 = 1 or PEN1 = 1/
PEN0 = 0).
Note:
Do not set the MD1 and MD0 bits to "10
Always set this bit to 1.
CHAPTER 16 8-/16-BIT PPG TIMER
Function
counters are decremented from "0000
underflow occurs (PUF1 = 1).
".
B
" to "FF
", an
H
H
" to "FFFF
", an
H
H
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents