MB95630H Series
MN702-00009-1v0-E
FUJITSU SEMICONDUCTOR LIMITED
311
CHAPTER 18 8/16-BIT PPG
18.5 Interrupt
18.5
Interrupt
The 8/16-bit PPG outputs an interrupt request when a counter borrow is
detected.
■
Interrupt of 8/16-bit PPG
Table 18.5-1 shows the interrupt control bits and interrupt sources of the 8/16-bit PPG.
When a counter borrow occurs on the downcounter, the 8/16-bit PPG sets the counter borrow
detection flag bit (PUF) in the 8/16-bit PPG timer n0/n1 control register (PC) to "1". When the
interrupt request enable bit is enabled (PIE = 1), an interrupt request is output to the interrupt
controller.
In 16-bit PPG mode, the 8/16-bit PPG timer n0 control register (PCn0) is available.
Table 18.5-1 Interrupt Control Bits and Interrupt Sources of 8/16-bit PPG
Item
Description
PPG timer n1
(8-bit PPG, 8-bit prescaler)
PPG timer n0
(8-bit PPG, 16-bit PPG)
Interrupt request flag bit
PUF1 bit in PCn1
PUF0 bit in PCn0
Interrupt request enable bit
PIE1 bit in PCn1
PIE0 bit in PCn0
Interrupt source
Counter borrow of PPG cycle downcounter