HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
Peripheral Clock Output
The Peripheral Clock Output allows the device to supply external hardware with a clock signal
synchronised to the microcontroller clock.
Peripheral Clock Operation
As the peripheral clock output pin, PCK, is shared with I/O line, the required pin function is
chosen via PCKEN in the SIMC0 register. The Peripheral Clock function is controlled using the
SIMC0 register. The clock source for the Peripheral Clock Output can originate from either the
Timer/Event Counter 0 output/2 or a divided ratio of the internal fSYS clock. The PCKEN bit in
the SIMC0 register is the overall on/off control, setting PCKEN bit to "1" enables the Peripheral
Clock, setting PCKEN bit to "0" disables it. The required division ratio of the system clock is
selected using the PCKP1 and PCKP0 bits in the same register.
●
SIMC0 Register
Bit
Name
R/W
7
SIMꢃ
R/W
1
6
SIM1
R/W
1
5
SIM0
R/W
1
4
PCKEN
R/W
0
3
PCKP1
R/W
0
2
PCKP0
R/W
0
1
SIMEN
R/W
0
0
—
—
—
POR
Bit 7~5
SIM2, SIM1, SIM0: SIM operating mode control
Described elsewhere
Bit 4
PCKEN: Peripheral Clock Pin control
0: Disable
1: Enable
Bit 3~2
PCKP1, PCKP0: select PCK output pin frequency
00: fSYS
01: fSYS/4
10: fSYS/8
11: Timer/Event Counter 0 output /2 (PFD0)
Bit 1
SIMEN: SIM control
Described elsewhere
Bit 0
unimplemented, read as "0"
Rev. 1.00
97
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011