Format Of Prescaler Mode Register 1 (Prm1); Format Of Capture/Compare Control Register 1 (Crc1) - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
7
PRM1 PRS23
Remark f
: System clock frequency
CLK
(3) Capture/compare control register 1 (CRC1)
The CRC1 register is used to specify the operation of the CR11 capture/compare register and the condition for
enabling the clear operation of 8-bit timer 1 (TM1).
The CRC1 register allows only write operation using an 8-bit manipulation instruction. Fig. 7-46 shows the
format of the CRC1 register.
When the RESET signal is applied, the CRC1 register is cleared to 00H.
7
CRC1
0
144
Fig. 7-45 Format of Prescaler Mode Register 1 (PRM1)
6
5
4
3
PRS22 PRS21 PRS20
0
PRS12
Fig. 7-46 Format of Capture/Compare Control Register 1 (CRC1)
6
5
4
3
0
0
0
CLR11
2
1
0
PRS12 PRS11 PRS10
PRS11
PRS10
Specification of count clock [Hz]
0
0
0
0
0
1
f
/16
CLK
0
1
0
f
/32
0
1
1
CLK
1
0
0
f
/64
CLK
f
/128
1
0
1
CLK
f
/256
1
1
0
CLK
1
1
1
f
/512
CLK
These bits specify the count clock supplied to
8-bit timer/counter 2 (TM2) (see Fig. 7-68).
2
1
0
CM
CLR10
0
CLR10
Clearing TM1 when TM1 coincides with CR10
0
Disabled
1
Enabled
Operation speci-
CLR11 CM
fication of the
CR11 register
0
0
Compare
register
1
0
0
1
Capture
register
1
1
f
= 6 MHz
CLK
Resolution
µ
2.6 s
µ
5.3 s
µ
10.7 s
µ
21.3 s
µ
42.7 s
µ
85.3 s
Clearing TM1
Disabled
Enabled (when contents
of TM1 register coincides
with those of CR11 register)
Disabled
Enabled (when contents
of TM1 register is captured
to the CR11 register)

Advertisement

Table of Contents
loading

Table of Contents