Table 14.3-1 Selection Of The Count Clock; Table 14.3-2 Pwm Output When "1" Is Written To Pgms; Table 14.3-3 Selection Of Trigger Input Edge - Fujitsu MB91F109 FR30 Hardware Manual

Fr30 series 32-bit microcontroller
Table of Contents

Advertisement

[bit 12] RTRG: Restart enable bit
This bit enables or disables restart by a software trigger or trigger input.
0
Disable restart (Initial value)
1
Enable restart
[bits 11, 10] CKS1, CKS0: Counter clock select bit
These bits select the counter clock for the 16-bit decrementing counter.

Table 14.3-1 Selection of the Count Clock

CKS1
CKS0
0
0
0
1
1
0
1
1
Peripheral machine clock
[bit 9] PGMS: PWM output mask selection bit
Setting this bit to "1" can mask the PWM timer so that it outputs only "0" or "1" regardless of
the mode, cycle, or duty cycle settings.

Table 14.3-2 PWM Output When "1" is Written to PGMS

Polarity
Normal polarity
Inverse polarity
To maintain output at a high level in normal polarity mode or at a low level in inverse polarity
mode, write the same value to the cycle setting and duty cycle setting registers, thereby
inverting the output of the above mask values.
[bit 8]: Reserved
[bits 7, 6] EGS1, SGS0: Trigger input edge select bits
These bits select the edge applicable to the start source selected by general control register
1.
In any edge mode, setting the software trigger bit to "1" enables the software trigger.

Table 14.3-3 Selection of Trigger Input Edge

EGS1
EGS0
0
0
0
1
1
0
1
1
14.3 Control Status Register (PCNH, PCNL)
Cycle
(Initial value)
PWM output
Output of L
Output of H
Edge selection
Invalid (initial value)
Rising edge
Falling edge
Both edges
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f109

Table of Contents