Interrupts Of 8-/16-Bit Ppg Timer - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents
CHAPTER 10 8/16-bit PPG timer
10.4

Interrupts of 8-/16-bit PPG Timer

The 8-/16-bit PPG timer can generate an interrupt request when the PPG down counter
underflows.It corresponds to the EI
I Interrupts of 8-/16-bit PPG Timer
Table 10.4-1 shows the interrupt control bits and interrupt factor of the 8-/16-bit PPG timer.
Table 10.4-1 The interrupt control bits of the 8-/16-bit PPG timer
Interrupt request flag bit
Interrupt request flag bit
[8-bit PPG output 2-channel independent operation mode or 8 + 8-bit PPG output operation mode]
• In the 8-bit PPG output 2-channel independent operation mode or the 8 + 8-bit PPG output operation
mode, the PPG0 and PPG1 timers can generate an interrupt independently.
• When the value of the PPG0 or PPG1 down counter is decremented from "00
occurs.When an underflow occurs, the underflow generation flag bit in the channel causing an
underflow is set (PPGC0: PUF0 = 1 or PPGC1: PUF1 = 1).
• If an interrupt request from the channel that causes an underflow is enabled (PPGC0: PIE0 = 1 or
PPGC1: PIE1 = 1), an interrupt request is generated.
[16-bit PPG output operation mode]
• In the 16-bit PPG output operation mode, when the values of the PPG0 and PPG1 down counters are
decremented from "0000
generation flag bits in the two channels are set at one time (PPGC0: PUF0 = 1 and PPGC1: PUF1 = 1).
• When an underflow occurs with either of the two channel of the interrupt requests enabled (PPGC0:
PIE1 = 0, PPGC1: PIE1 = 1 or PPGC0: PIE1 = 1, PPGC1: PIE1 = 0), an interrupt request is generated.
• To prevent duplication of interrupt requests, disable either of the two channel of the underflow interrupt
enable bits (PPGC0: PIE1 = 0, PPGC1: PIE1 = 1 or PPGC0: PIE1 = 1, PPGC1: PIE1 = 0).
• When the two channels of the underflow generation flag bits are set (PPGC0: PUF0 = 1 and PPGC1:
PUF1 = 1), clear the two channels at the same time.
308
2
OS.
Interrupt Factor
" to "FFFF
H
PPG0
PPGC0: PUF0
PPGC0: PIE0
Underflow in PPG0 down
counter
", an underflow occurs.When an underflow occurs, the underflow
H
PPG1
PPGC1: PUF1
PPGC1: PIE1
Underflow in PPG1 down
counter
" to "FF
", an underflow
H
H
Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents