Fujitsu MB91460 SERIES FR60 User Manual page 818

32-bit microcontroller
Table of Contents

Advertisement

Chapter 39 Programmable Pulse Generator
4.Registers
• Bit 13: Mode selection
MDSE
0
PWM operation
1
One-shot operation
• When the Mode Selection bit is set to "0", a PWM operation is enabled to generate pulses in sequence.
• When the Mode Selection bit is set to "1", pulse output takes place only once.
• Bit 12: Restart enable
RTTG
0
Disable restart.
1
Enable restart.
When the Enable Restart bit is set to "1", a trigger (software/internal) is generated to enable a restart.
• Bits 11-10: Counter clock selection
CKS1
CKS0
0
0
Peripheral clock (CLKP)
0
1
Peripheral clock divided by 4
1
0
Peripheral clock divided by 16
1
1
Peripheral clock divided by 64
Bit 9: PPG output mask selection
PGMS
0
No output mask
1
Output mask (Output "L" level latched:OSEL="0")
• When the PPG Output Mask Selection bit is set to "1", the PPG output can be clamped at "L" or "H"
regardless of the mode, cycle, and duty settings.
• The output level can be specified using the Output Polarity Specification bit (PCN.OSEL).
• Bit 8: Undefined.The operation is unaffected by writing. The read value is indeterminate.
• Bits 7-6: Trigger input edge selection
EGS1
EGS0
0
0
The operation is unaffected by writing.
0
1
Rising edge
1
0
Falling edge
1
1
Both edges (rising edge, or, falling edge)
Select an edge to trigger the activation of the trigger input selected with the Trigger Specification bits
(GCN10[15:12]), (GCN10[11:8]), (GCN10[7:4]), and (GCN10[3:0]) of PPG3 to PPG0,
(GCN11[15:12]), (GCN11[11:8]), (GCN11[7:4]), and (GCN11[3:0]) of PPG7 to PPG4,
(GCN12[15:12]), (GCN12[11:8]), (GCN12[7:4]), and (GCN12[3:0]) of PPG11 to PPG8,
(GCN13[15:12]), (GCN13[11:8]), (GCN13[7:4]), and (GCN13[3:0]) of PPG15 to PPG12,
using the Trigger Input Edge Selection bit (EGS[1:0]).
• Bit 5: Interrupt request enable
IREN
0
Interrupt request disable
1
Enable interrupt requests.
• Bit 4: interrupt request flag
IRQF
Read Operation
0
No interrupt request
802
Mode
Operation
Down Counter Count Clock Selection
Operation
Selected Edge
Operation
Clear the Interrupt Request flag.
Write Operation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents