Fujitsu F2MC-8FX Hardware Manual page 305

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

Advertisement

Table 17.5-2 16-bit PPG Status Control Register, Lower Byte (PCNTL0)
Bit name
EGS1:
bit7
Hardware trigger
enable bit1
EGS0:
bit6
Hardware trigger
enable bit0
IREN:
bit5
PPG interrupt request
enable bit
IRQF:
bit4
PPG interrupt flag bit
IRS1, IRS0:
bit3
Interrupt type select
bit2
bits
POEN:
bit1
Output enable bit
OSEL:
bit0
Output inversion bit
This bit determines whether to allow or disallow the falling edge of TRG input to stop operation.
When the bit is set to "0", the falling edge of TRG has no effect on operation.
When the bit is set to "1", the operation is stopped by the falling edge of TRG.
This bit determines whether to allow or disallow the rising edge of TRG input to start operation.
When the bit is set to "0", the rising edge of TRG has no effect on operation.
When the bit is set to "1", the operation is started by the rising edge of TRG.
This bit enables or disables PPG interrupt request to the interrupt controller.
When the bit is set to "0", an interrupt request is disabled.
When the bit is set to "1", an interrupt request is enabled.
This bit is set to "1" when a PPG interrupt occurs.
When the bit is set to "0", clears the bit.
When the bit is set to "1", has no effect on operation.
• "1" is always read in read-modify-write operations.
These bits select the interrupt type for the PPG timer.
IRS1
IRS0
0
0
0
1
1
0
1
1
This bit enables or disables output from the PPG output pin.
When the bit is set to "0", the pin serves as a general-purpose port.
When the bit is set to "1", the pin serves as the PPG timer output pin.
This bit selects the polarity of PPG output pin.
When the bit is set to "0", the PPG output goes to "H" when "L" is output in the internal start and
the 16-bit down-counter value matches the duty setting register value, and goes to "L" when a down-
counter borrow occurs (Normal polarity).
When the bit is set to "1", the PPG output is inverted (Inverted polarity).
CHAPTER 17 16-BIT PPG TIMER
Function
Type of interrupt
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
291

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents