
HARDWARE CONFIGURATION
2-61
(3) Compare clear register (CMCLR)
This register is used to store the compare value of compare clear.
When the values of this register and timer agree, the timer is cleared. The
value is transferred from the buffer register to the compare register.
Initial value
----0000
B
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
—
—
—
—
CLRB
CLRA
CLR9
CLR8
MCNT
INTSTR
CMCLBR
(H)
CMCLBR
(L)
CMCLR
(H)
CMCLR
(L)
OUTCBR
(H)
OUTCBR
(L)
OUTCR
(H)
OUTCR
(L)
Initial value
00000000
B
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CLR7
CLR6
CLR5
CLR4
CLR3
CLR2
CLR1
CLR0
Address: 0026
H
Address: 0027
H
Address: 0028
H
Address: 0029
H
Address: 0024
H
Address: 0025
H
12-BIT MULTIPUL
GENERATOR
(MPG, TIMER 4)
In the PPG operation mode, the match between the value of this re 1
and the value of the timer is detected to clear the timer and set the MPG out-
put.
In the PWM operation mode, the match between the value of this re 1
and the value of the timer is detected to clear the timer and set the MPG out-
put.
(4) Compare clear buffer register (CMCLBR)
This register is used to store the compare value of compare clear.
The value written to the compare clear buffer register when the timer stops
is written directly to the compare clear register.
Data transfer from the compare clear buffer register to the compare clear
register after the timer starts is done when the compare clear match oc-
curs.
Address: 0026
H
Address: 0027
H
Address: 0028
H
Address: 0029
H
Address: 0026
H
Initial value
----0000
B
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
—
—
—
—
CLRB
CLRA
CLR9
CLR8
(W)
(W)
(W)
(W)
MCNT
INTSTR
CMCLBR
(H)
CMCLBR
(L)
CMCLR
(H)
CMCLR
(L)
OUTCBR
(H)
OUTCBR
(L)
OUTCR
(H)
OUTCR
(L)
Address: 0027
H
Initial value
00000000
B
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CLR7
CLR6
CLR5
CLR4
CLR3
CLR2
CLR1
CLR0
(W)
(W)
(W)
(W)
(W)
(W)
(W)
(W)
Address: 0024
H
Address: 0025
H
Note: To write the value to the output compare register buffer register during
PWM or PPG operation, use the load instruction. Some time should
be taken to allow writing of the load instruction to terminate until the
values of the compare clear register and timer agree.
Summary of Contents for F2MC-8L Series
Page 121: ...INSTRUCTIONS 4 7 4 5 F2MC 8L FAMILY INSTRUCTION MAP ...
Page 123: ...5 MASK OPTIONS ...
Page 125: ...APPENDIX ...