16-Bit Ppg Timer Interrupts - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

13.5

16-bit PPG Timer Interrupts

The 16-bit PPG timer is enabled to generate an interrupt request when trigger or counter
borrow or PPG rising in normal polarity or PPG falling in inverted polarity depending on
PCNTL=IRS1, IRS0 setting. It is also coordinated with the extended intelligent I/O
2
service (EI
OS).
■ 16-bit PPG Timer Interrupts
Table 13.5-1 list the interrupt control bits and interrupt causes of the 16-bit PPG timer.
Table 13.5-1 Interrupt Control Bits and Interrupt Causes of the 16-bit PPG Timer
Interrupt flag bit
Interrupt request enable bit
Interrupt type selection bit
Interrupt cause
In the 16-bit PPG timer, the IRQF bit of the PPG control status register (PCNTL) is set to "1" and an
interrupt request is enabled (PCNTL: IREN=1), the interrupt request is outputted to the interrupt controller.
16-bit PPG timer 0
PCNTL0:IRQF
PCNTL0:IREN
PCNTL0:IRS1,IRS0
PCNTL0:IRS1,IRS0=00
gate trigger/software trigger/
retrigger of 16-bit down
counter (ch.0)
PCNTL0:IRS1,IRS0=01
counter borrow of 16-bit down
counter (ch.0)
PCNTL0:IRS1,IRS0=10
PPG0 output rising in normal
polarity or PPG0 output falling
in inverted polarity
PCNTL0:IRS1,IRS0=11
Counter borrow of 16-bit down
counter (ch.0) or PPG0 output
rising in normal polarity or
PPG0 output falling in inverted
polarity
CHAPTER 13 16-BIT PPG TIMER
16-bit PPG timer 1
PCNTL1:IRQF
PCNTL1:IREN
PCNTL1:IRS1,IRS0
PCNTL1:IRS1,IRS0=00
software trigger/retrigger of
16-bit down counter (ch.1)
PCNTL1:IRS1,IRS0=01
counter borrow of 16-bit down
counter (ch.1)
PCNTL1:IRS1,IRS0=10
PPG1 output rising in normal
polarity or PPG1 output falling
in inverted polarity
PCNTL0:IRS1,IRS0=11
Counter borrow of 16-bit down
counter (ch.1) or PPG1 output
rising in normal polarity or
PPG1 output falling in inverted
polarity
16-bit PPG timer 2
PCNTL2:IRQF
PCNTL2:IREN
PCNTL2:IRS1,IRS0
PCNTL2:IRS1,IRS0=00
software trigger/retrigger of
16-bit down counter (ch.2)
PCNTL2:IRS1,IRS0=01
counter borrow of 16-bit down
counter (ch.2)
PCNTL2:IRS1,IRS0=10
PPG2 output rising in normal
polarity or PPG2 output
falling in inverted polarity
PCNTL0:IRS1,IRS0=11
Counter borrow of 16-bit
down counter (ch.2) or PPG2
output rising in normal
polarity or PPG2 output
falling in inverted polarity
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents