Fujitsu MB89140 Series Hardware Manual page 82

Table of Contents

Advertisement

12-BIT MULTIPUL
GENERATOR
(MPG, TIMER 4)
Address: 0024
MCNT
H
Address: 0025
INTSTR
H
Address: 0026
H
CMCLBR
CMCLBR
(H)
Address: 0027
H
CMCLR
CMCLR
(H)
Address: 0028
H
OUTCBR
OUTCBR
(H)
Address: 0029
H
OUTCR
OUTCR
(H)
Address: 0024
MCNT
H
Address: 0025
INTSTR
H
Address: 0026
H
CMCLBR
CMCLBR
(H)
Address: 0027
H
CMCLR
CMCLR
(H)
Address: 0028
H
OUTCBR
OUTCBR
(H)
Address: 0029
H
OUTCR
OUTCR
(H)
HARDWARE CONFIGURATION
(5) Output compare register (OUTCR)
This register is used to store the compare value of output compare.
When the values of this register and timer agree, the output is set.
Bit 15
(L)
Bit 7
(L)
CPR7
(L)
In the PPG operation mode, the output is cleared by the external trigger or
(L)
software trigger input, and reset when the value of this register and the value
of the timer agree.
In the PWM operation mode, the output is reset by the external trigger or
software trigger input, and reset when the value of this register and the value
of the timer agree.
The pulse width can be specified by the value of this register.
(6) Output compare buffer register (OUTCBR)
This register is used to store the output compare value.
The value written to the output compare buffer register when the timer
stops is written directly to the output compare register.
(L)
Data transfer from the output compare buffer register to the output
compare register after the timer is started is done when the output
(L)
compare clear match occurs.
Bit 15
(L)
Address: 0028
H
(L)
Bit 7
Address: 0029
CPR7
H
(W)
Note: Use the load instruction to write the value to the output compare
register buffer register during PWM or PPG operation. Some time
should be taken to allow writing of the load instruction to terminate
until the values of the output compare register and timer agree.
2-62
Bit 14
Bit 13
Bit 12
Bit 11
CPRB
Bit 6
Bit 5
Bit 4
Bit 3
CPR6
CPR5
CPR4
CPR3
Bit 14
Bit 13
Bit 12
Bit 11
CPRB
(W)
Bit 6
Bit 5
Bit 4
Bit 3
CPR6
CPR5
CPR4
CPR3
(W)
(W)
(W)
(W)
Bit 10
Bit 9
Bit 8
CPRA
CPR9
CPR8
Initial value
----0000
B
Bit 2
Bit 1
Bit 0
CPR2
CPR1
CPR0
Initial value
00000000
B
Bit 10
Bit 9
Bit 8
CPRA
CPR9
CPR8
(W)
(W)
(W)
Initial value
----0000
B
Bit 2
Bit 1
Bit 0
CPR2
CPR1
CPR0
(W)
(W)
(W)
Initial value
00000000
B

Advertisement

Table of Contents
loading

Table of Contents