Fujitsu F2MC-8FX Hardware Manual page 303

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

Advertisement

Table 17.5-1 16-bit PPG Status Control Register, Upper Byte (PCNTH0)
Bit name
CNTE:
bit7
Timer enable bit
STRG:
bit6
Software trigger bit
MDSE:
bit5
Mode select bit
RTRG:
bit4
Software retrigger
enable bit
bit1
CKS2~0:
bit2
Count clock select bits
bit3
PGMS:
bit0
PPG output mask
enable bit
This bit is used to enable/stop PPG timer operation.
When the bit is set to "0", the PPG operation halts immediately and the PPG output goes to the
initial level ("L" output if OSEL is 0; "H" output if OSEL is 1).
When the bit is set to "1", PPG operation is enabled and the PPG goes to standby to wait for a
trigger.
This bit is used to start the PPG timer by software.
When the bit is set to "1", setting the CNTE bit to "1" starts the PPG timer.
• Reading this bit always returns "0".
This bit is used to set the PPG operation mode.
When the bit is set to "0", the PPG operates in PWM mode.
When the bit is set to "1", the PPG operates in one-shot mode.
• Modifying this bit is prohibited during operation.
This bit is used to enable or disable the software retrigger function of the PPG during operation.
When the bit is set to "0", the software retrigger function is "disabled".
When the bit is set to "1", the software retrigger function is "enabled".
These bits select the operating clock for the 16-bit PPG timer.
• The count clock signal is generated by the prescaler. Refer to 6.12 Operating Explanation of
Prescaler.
Note:
As the timebase timer (TBT) is halted in subclock mode, F
selected in this case.
This bit is used to mask the PPG output to a specific level regardless of the mode setting (MDSE:bit
5), period setting (PCSRH0, PCSRL0), and duty setting (PDUTH0, PDUTL0).
When the bit is set to "0", the PPG output mask function is disabled.
When the bit is set to "1", the PPG output mask function is enabled. When the PPG output polarity
setting is set to "normal" (OSEL bit in PCNTL0 register = "0"), the output is always masked to "L".
When the polarity setting is se to "inverted" (OSEL bit in PCNTL0 register = "1"), the PPG output is
always masked to "H".
CHAPTER 17 16-BIT PPG TIMER
Function
CH
7
8
/2
and F
/2
cannot be
CH
289

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents