16-Bit Ppg Duty Setting Buffer Registers (Pduth0, Pdutl0) - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 17 16-BIT PPG TIMER
17.5.3
16-bit PPG Duty Setting Buffer Registers (PDUTH0,
PDUTL0)
The 16-bit PPG duty setting buffer registers control the duty ratio for the output pulses
generated by the PPG.

16-bit PPG Duty Setting Buffer Registers (PDUTH0, PDUTL0)

Figure 17.5-4 16-bit PPG Duty Setting Buffer Registers (PDUTH0, PDUTL0)
16-bit PPG duty setting buffer register (upper) PDUTH0
Address
0FAE
PDUTH0
H
16-bit PPG duty setting buffer register (lower) PDUTL0
Address
0FAF
PDUTL0
H
R/W: Readable/writable (Read value is the same as write value)
These registers form a 16-bit register which controls the duty ratio for the output pulses generated by the
PPG. Transfer of the data from the 16-bit PPG duty setting buffer registers to the duty setting registers is
performed at the same timing as the down-counter read.
When writing to these registers, always use one of the following procedures.
• Use the "MOVW" instruction (use a 16-bit access instruction to write to the PDUTH0 register address).
• Use the "MOV" instruction and write to PDUTH0 first and PDUTL0 second.
If a down-counter load occurs after writing data to PDUTH0 (but before writing data to PDUTL0), the
value of the duty setting buffer registers is not transferred to the duty setting registers.
The relation between the value of the 16-bit PPG duty setting registers and output pulse is as follows:
• When the same value is set in both the 16-bit PPG cycle setting buffer registers and duty setting
registers, the "H" level will always be outputted if normal polarity is set, or the "L" level will always be
outputted if inverted polarity is set.
• When the duty setting registers are set to "00", the "L" level will always be outputted if normal polarity
is set, or the "H" level will always be outputted if inverted polarity is set.
• When the value set in the duty setting registers is greater than the value in the 16-bit PPG cycle setting
buffer registers, the "L" level will always be outputted if normal polarity is set, and the "H" level will
always be outputted if inverted polarity is set.
286
bit15
bit14
bit13
DU15
DU14
DU13
DU12
R/W
R/W
R/W
bit7
bit6
bit5
DU07
DU06
DU05
DU04
R/W
R/W
R/W
bit12
bit11
bit10
DU11
DU10
DU09
R/W
R/W
R/W
bit4
bit3
bit2
DU03
DU02
DU01
R/W
R/W
R/W
bit9
bit8
Initial value
DU08
11111111
R/W
R/W
bit1
bit0
Initial value
DU01
11111111
R/W
R/W
B
B

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents