Table 14.3-4 Selection Of Interrupt Causes; Table 14.3-5 Specification Of The Polarity Of The Pwm Output And The Edge - Fujitsu MB91F109 FR30 Hardware Manual

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 PWM TIMER
[bit 5] IREN: Interrupt request enable bit
This bit enables or disables interrupt requests.
[bit 4] IRQF: Interrupt request flag
When the interrupt cause selected by bits 3 and 2 (IRS1 and IRS0) is generated while bit 5
(IREN) is set to 1 (Enable), this bit is set to cause an interrupt request to the CPU. This
Executing an operation for setting the bit to 1 does not change the bit value.
DMA transfer also starts if DMA transfer activation has been selected.
This bit is cleared when "0" is written to it or by the clear signal from the DMAC.
Executing an operation for setting the bit to "1" does not change the bit value.
A Read Modify Write instruction reads "1" from this bit regardless of the bit value.
[bits 3, 2] IRS1, IRS0: Interrupt cause select bit
These bits select the cause that sets bit 4 (IRQF).

Table 14.3-4 Selection of Interrupt Causes

IRS1
0
0
1
1
[bit 1] POEN: PWM output enable bit
Setting this bit to "1" enables PWM output.
0
1
[bit 0] OSEL: PWM output polarity specification bit
This bit selects the polarity of PWM output.
This bit can be combined with bit 9 (PGMS) as shown below.

Table 14.3-5 Specification of the Polarity of the PWM Output and the Edge

PGMS
0
0
1
1
306
0
Disabled (initial value)
1
Enabled
IRS0
0
1
0
1
General-purpose port (Initial value)
PWM output pin
OSEL
0
1
0
1
Software trigger, or trigger input (Initial value)
Occurrence of counter borrow (cycle matching)
Occurrence of duty cycle matching
Occurrence of counter borrow (cycle matching) or duty cycle
matching
PWM output
Normal polarity (Initial value)
Inverse polarity
Output fixed to L
Output fixed to H
Interrupt cause

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents