Figure 7.3.1 Pwm Control Register (Cntr) - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

7.3 Structure of 8-bit PWM Timer
7.3.1 PWM Control Register (CNTR)
The PWM control register (CNTR) is used to select the operating mode of the 8-bit
PWM timer (interval timer operation or PWM timer operation), enable or disable
operation, select the count clock, control interrupts, and check the state of the 8-bit
PWM timer.
n PWM Control Register (CNTR)
Address
0012
H
144
CHAPTER 7 8-BIT PWM TIMER
Bit 7
Bit 6
Bit 5
Bit 4
P/TX
P1
P0
R/W
R/W
R/W
TIE
Interrupt request enable bit
0
Disables interrupt request output.
1
Enables interrupt request output.
OE
0
Functions as a general-purpose port (P37).
1
Functions as the interval timer/PWM timer output pin (PTO).
TIR
Interval timer function
0
Counter value and set value do not match.
1
Counter value and set value match.
TPE
Counter operation enable bit
0
Stops count operation.
1
Starts count operation.
P1
P0
Clock selection bits
0
0
Internal
0
1
count
clock
1
0
1
1
PWC output
P/TX
Operating mode selection bit
0
Operates as an interval timer.
1
Operates as a PWM timer.

Figure 7.3.1 PWM Control Register (CNTR)

Bit 3
Bit 2
Bit 1
TPE
TIR
OE
R/W
R/W
R/W
Output pin control bit
Interrupt request flag bit
Read
PWM timer
function
No change
*1 : t
inst
*2 : The PWC output is the timer output bit of the
pulse width count timer (PCR2: TO).
1 t
*1
inst
R/W : Readable and writable
16 t
*1
inst
R
64 t
*1
inst
W
*2
X
Bit 0
Initial value
TIE
0X000000
B
R/W
Write
Clears this bit.
No effect. The bit does not change.
: Instruction cycle
: Read-only
: Write-only
: Unused
: Indeterminate
: Initial value
MB89620 series

Advertisement

Table of Contents
loading

Table of Contents