Pwm Control Register (Cntr) - Fujitsu F2MC-8L F202RA Hardware Manual

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

Advertisement

7.4.1

PWM Control Register (CNTR)

The PWM control register (CNTR) is used to select the operation mode (interval timer
operation or PWM timer operation) of the 8-bit PWM timer, switch the resolution of the
PWM timer functions, and select the count clock.
PWM Control Register (CNTR)
Address
0022
H
R/W
Figure 7.4-2 PWM Control Register (CNTR)
bit7
bit6
bit5
bit4
bit3
P1
P0
P/TX
TPE TIR
R/W
R/W R/W R/W R/W R/W R/W
TIE
Disables interrupt request output.
0
Enables interrupt request output.
1
OE
0
Used as the general-purpose port (P50)
1
Used as the output pin for the interval timer or PWM timer (PWM)
TIR
The interval timer used
The counter value does not
0
match the settings.
The counter value matches
1
the settings.
TPE
0
Stops the counter operation.
1
Starts the counter operation.
P1
P0
0
0
1
0
1
0
1
1
P/TX
Operates as the interval timer.
0
1
Operates as the PWM timer.
t
: Instruction cycle
INST
: Readable/Writable
: Initial value
Initial value
bit2
bit1
bit0
0-000000
OE
TIE
Bit to enable an interrupt request
Bit to control the output pin
Interrupt request flag bit
Read
The PWM
timer used
Not changed
Bit to enable the counter operation
Bits to select a clock
Internal
count
clock
Outputs an 8/16-bit capture timer/counter.
Bit to select the operation mode
CHAPTER 7 8-BIT PWM TIMER
B
Write
Clears this bit.
Not changed. Does
not affect other settings.
1 t
INST
16 t
INST
64 t
INST
143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents