Fujitsu MB90460 Series Hardware Manual page 287

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 13 16-BIT PPG TIMER
Table 13.4-1 PPG Control Register (PCNTH0 to PCNTH2) Bit
Bit name
CNTE:
bit15
Timer enable
bit
STGR:
bit14
Software trigger
bit
MDSE:
bit13
Mode selection bit
RTRG:
bit12
Retrigger enable
bit
bit11
CKS2 to CKS0:
to
Counter clock
bit9
selection bits
PGMS:
bit8
PPG output mask
enable bit
268
• This bit is used to enable the PPG timer operation.
• Writing "1" will enable the PPG operation and wait for trigger to start PPG
operation.
• Writing "0" will stop the operation.
• This bit is the software trigger bit for PPG.
• Writing "1" to this bit triggers the PPG by software.
• This bit is always read as "0".
• When this bit is "0", PPG operates in PWM mode.
• When this bit is "1", PPG operates in single-shot mode.
• This bit is used to enable retriggering function of PPG during operation.
• When this bit is "0", retriggering function is disabled.
• When this bit is "1", retriggering function is enabled.
• This bit are used to select the operation clock for 16-bit PPG timer.
• This bit is used to mask the PPG output to specific level regardless of the mode
setting (PCNTH:MDSE), period setting (PCSR) or duty setting (PDUT).
• Write "0" will disable PPG output masking function.
• Writing "1" to this bit masks the PPG output to always "L" when polarity
setting is "Normal" (PCNTL:OSEL=0).
• Writing "1" to this bit masks the PPG output to always "H" when polarity
setting is "Inverted" (PCNTL:OSEL=1).
(Note)
By setting period setting register (PCSR) and duty setting register (PDUT) with
same value, all "H" in normal polarity or all "L" in inverted polarity can be
outputted when this bit is "1".
Function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents