Operations Of The 8-Bit Pwm Timer Functions - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

CHAPTER 7 8-BIT PWM TIMER
7.7

Operations of the 8-bit PWM Timer Functions

This section describes the operations of the 8-bit PWM timer functions.
Operations of the 8-bit PWM Timer Functions
To enable 8-bit PWM timer functions, set registers as shown in Figure 7.7-1 .
CNTR
COMR
: Used bit
: Unused bit
: Set "1".
1
When the counter is activated, the counter is incremented from 00
clock. The output (PWM waveform) of the PWM pin is "H" until a match between the counter value and
the value set in the COMR register is found. Once a match is found, the output is "L" until the counter
value overflows (FF
Figure 7.7-2 shows the PWM waveform output to the PWM pin.
150
Figure 7.7-1 Setting 8-bit PWM Timer Functions
bit7
bit6
bit5
P/TX
P1
1
1
Set an H-level pulse width (compare value).
→ 00
).
H
H
bit4
bit3
bit2
P0
TPE
TIR
1
H
bit1
bit0
OE
TIE
1
at the start-up of the selected count

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents