Fujitsu F2MC-8FX Hardware Manual page 314

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

Advertisement

CHAPTER 17 16-BIT PPG TIMER
How to set the PPG output to the "H" or "L" level
The PPG output mask enable bit (PCNTH0 PGMS) and the output inversion bit (PCNTL0 OSEL) are used.
When setting output to "H" level
When setting output to "L" level
How to select the interrupt source
The interrupt select bits (PCNTL0 IRS1/IRS0) are used to select the interrupt source.
Trigger by TRG input, software trigger, or retrigger
Counter borrow
Rising edge of PPG output in normal polarity, or falling edge of
PPG output in inverted polarity
Counter borrow, rising edge of PPG output in normal polarity,
or falling edge of PPG output in inverted polarity
Interrupt-related registers
The interrupt level is set by the level setting registers shown in the following table.
Interrupt source
ch.0 ~ ch.7
300
What to be controlled
Interrupt source
Interrupt level setting register
Interrupt level register (ILR5)
PPG output mask enable bit
(PGMS)
Set the bit to "1"
Set the bit to "1"
Address: 0007E
H
Output inversion bit
(OSEL)
Set the bit to "1"
Set the bit to "0"
Interrupt select bits (IRS1/IRS0)
Set the bits to "00"
Set the bits to "01"
Set the bits to "10"
Set the bits to "11"
Interrupt vector
#23
Address: 0FFCC
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents