Fujitsu MB89950/950A User Manual

Page of 318
127
CHAPTER 7  8-BIT PWM TIMER
■ 8-bit PWM timer registers
Figure 7.3-2  8-bit PWM timer registers
Note:
As the PWM compare register (COMR) is write-only, the bit manipulation instructions cannot be used.
■ 8-bit PWM timer interrupt source
IRQ2:
For the interval timer function, the 8-bit PWM timer generates an interrupt request if interrupt request
output is enabled (CNTR: TIE = "1") when the counter value matches the value set in the COMR
register. (For PWM function, no interrupt request is generated.)
CNTR (PWM control register)
COMR (PWM compare register)
Address
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Initial value
0012
H
P/T
P1
P0
TPE
TIR
OE
TIE
0-000000
B
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Address
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Initial value
0013
H
XXXXXXXX
B
W
W
W
W
W
W
W
W
R/W: Readable and writable
W : Write-only
— : Unused
X : Indeterminate