803
Chapter 39 Programmable Pulse Generator
4.Registers
If the Interrupt Request flag (IRQF) equals “1” and writing “0” to the flag take place at the same time, the setting of the
Interrupt Request flag (IRQF=“1”) overrides.
• Bit 3-2: Interrupt cause selection
• Select the operation in which to generate an interrupt request.
• Bit 1: Undefined.The operation is unaffected by writing. The read value is indeterminate.
• Bit 0: PPG output polarity specification
When the PPG Output Mask Selection bit (PCN.PGMS) has been set to “1”, if the Output Polarity Specification bit
(OSEL) is set to “0”, the output is clamped at “L”; if the Output Polarity Specification bit is set to “1”, the output is
clamped at “H”.
1 Interrupt request The operation is unaffected by writing.
IRS1 IRS0 Selection
0 0 Software trigger, or, trigger input
0 1 Counter borrow
1 0 The counter matches the duty value.
1 1 Counter borrow, or the counter equals the duty value.
OSEL Operation
0 Normal polarity
1 Inverted polarity