Fujitsu MB90460 Series Hardware Manual page 294

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

■ Gate Trigger (PPG channel 0 only)
When gate trigger is used, PPG starts operation when rising edge of gate trigger is detected and stops when
falling is detected. In next rising edge, PPG restarts operation again.
Figure 13.6-5 Gate Trigger in PWM Mode when retriggering is enable
Counter value
m
n
0
Gate trigger
PPG
(normal polarity)
(inverted polarity)
■ PPG Interrupts
There are four types of interrupts sharing one interrupt flag (PCNTL:IRQF) selected by interrupt type bits
(PCNTL:IRS1,IRS0).
• Gate trigger (for PPG channel 0 only) or software trigger or retrigger
• Counter borrow
• Duty match occurs when PPG output rising in normal polarity or PPG output falling in inverted polarity
• Counter borrow or duty match
Software trigger
Load
Count clock
Counter value
PPG output
(normal polarity)
Interrupt
(by software trigger)
Interrupt
(by duty match)
Interrupt
(by counter borrow)
Rising edge detected
(1)
(2)
(1) = (n+1)*T ns
(2) = (m+1)*T ns
Figure 13.6-6 PPG Interrupt Timing
0002H
CHAPTER 13 16-BIT PPG TIMER
Falling edge detected
T: Count clock period
m: PCSR value
n: PDUT value
0001H
0000H
Time
0002H
275

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents